Search found 61 matches

by darkluke980
Fri Feb 05, 2010 3:24 pm
Forum: PHP Questions / Hints
Topic: i5_pconnect consistency
Replies: 9
Views: 6943

Re: i5_pconnect consistency

The reason is very simple. I am not happy to write applications for all my customers, based on something that is not well documented and do not know what will reserve for the future ... may be I can write some function with C to use in FastCgi.

Bye
by darkluke980
Fri Feb 05, 2010 9:47 am
Forum: PHP Questions / Hints
Topic: i5_pconnect consistency
Replies: 9
Views: 6943

Re: i5_pconnect consistency

Documentation is very poor, if you have many time to spend, you can find "hidden" parameters of i5_function and options that don't work!! So, I'm trying to rewrite some functions on PASE environment with C language. I would like to add them as new PHP Extension with the advantage of running directly...
by darkluke980
Fri Feb 05, 2010 9:30 am
Forum: Zend Server for IBM i
Topic: Db2 functions
Replies: 6
Views: 4442

Re: Db2 functions

To match or update a record with rrn I use this type of SQL, I don't have discovered another method as RPG CHAIN of Phisical File. select * from mytable where rrn(mytable) = 300874 select * from mytable as alias where rrn(alias) = 300874 update mytable set filed = value where rrn(mytable)=300874
by darkluke980
Thu Feb 04, 2010 2:28 pm
Forum: PHP Questions / Hints
Topic: i5_pconnect consistency
Replies: 9
Views: 6943

Re: i5_pconnect consistency

As I've writed, the I5_OPTIONS_IDLE_TIMEOUT option work only with I5_OPTIONS_PRIVATE_CONNECTION. If you don't use PRIVATE_CONNECTION there's a patch from AURA equipment and ... sometimes connection close. As AURA say " .. the job is not exactly killed after the timeout. It is an others connection th...
by darkluke980
Thu Feb 04, 2010 11:54 am
Forum: Zend Core for i5/OS
Topic: cluster solution with IASP ?
Replies: 1
Views: 2642

Re: cluster solution with IASP ?

Hi, we have a customer with similar configuration. Unfortunately ZendCore must be installed on the based System ASP of each i5. Brutally we change INLASPGRP of each jobd in ZENDCORE library to load IASP. Daily, we make a SAVF from master system with SAV command, put SAVF via FTP in slave system and ...
by darkluke980
Wed Feb 03, 2010 6:36 pm
Forum: PHP Questions / Hints
Topic: i5_pconnect consistency
Replies: 9
Views: 6943

Re: i5_pconnect consistency

Hi,

The I5_OPTIONS_IDLE_TIMEOUT option work well only with I5_OPTIONS_PRIVATE_CONNECTION.

With private connection, you can find and reuse the same job at every click from the same user. For the purpose, save connectionId in $_SESSION.

If you need an example, let me know.
by darkluke980
Mon Feb 01, 2010 3:36 pm
Forum: Zend Server for IBM i
Topic: Db2 functions
Replies: 6
Views: 4442

Re: Db2 functions

Hi,

when i need RRN i use this type of SQL:

select rrn(a),
a.*
from mylib/mytable a
by darkluke980
Wed Jan 27, 2010 9:31 pm
Forum: Zend Core for i5/OS
Topic: prevent QP2SHELL to open terminal window
Replies: 1
Views: 2800

Re: prevent QP2SHELL to open terminal window

CHGVAR VAR(&EXE) VALUE('/USR/LOCAL/ZEND/CORE/BIN/PHP') CHGVAR VAR(&ID) VALUE('00000001') CHGVAR VAR(&PGM) + VALUE('/WWW/ZENDCORE/HTDOCS/TEST.PHP ') /* NO DISPLAY OUTPUT SCREEN */ RMVENVVAR ENVVAR(QIBM_QSH_CMD_OUTPUT) MONMSG MSGID(CPFA981) ADDENVVAR ENVVAR(QIBM_QSH_CMD_OUTPUT) VALUE(NONE) CHGVAR VAR(...
by darkluke980
Thu Dec 31, 2009 12:15 pm
Forum: Zend Core for i5/OS
Topic: Performance tuning Tips around PHP environment
Replies: 6
Views: 6392

Re: Performance tuning Tips around PHP environment

I don't know what ZF do, but I can tell you that my web services (write in native code) take 0,10 second for first call, then 0,01. The max overload is 20 parallel calls!!
Not bad.

Bye and happy new year.
by darkluke980
Wed Dec 30, 2009 12:02 pm
Forum: Zend Server for IBM i
Topic: Run Zend Server Beta with current Zend Core installation
Replies: 2
Views: 3151

Re: Run Zend Server Beta with current Zend Core installation

Hi,

I had some problems with i5comd connection. When I use simultaneously Server and Core, persistent connection seems to be lost and each click open a new connection.

Also, the version of ibm_db2 is older than Core, 1.6.6 against 1.8.1