Search found 4 matches

by rich8182
Thu May 26, 2016 9:59 pm
Forum: Zend Server for IBM i
Topic: PHP Connect to remote server - query issue
Replies: 2
Views: 2652

Re: PHP Connect to remote server - query issue

Thanks,

I added the option i5_commit => DB2_I5_TXN_SERIALIZABLE and the query works now.
by rich8182
Thu May 26, 2016 3:58 pm
Forum: Zend Server for IBM i
Topic: PHP Connect to remote server - query issue
Replies: 2
Views: 2652

PHP Connect to remote server - query issue

I am running Zend Server on an IBMi for PHP development. All works fine as long as I'm connecting to the local db on the IBMi I now have a situation where I need to connect to a remote DB2 LUW database that is running on a Windows server to retrieve some data and place in a work file on the IBMi to ...
by rich8182
Tue May 03, 2016 1:40 pm
Forum: New Toolkit
Topic: RTVNETA with CLCommandWithOutput()
Replies: 2
Views: 3474

Re: RTVNETA with CLCommandWithOutput()

Thanks a ton! That worked perfectly. I was taking the same getJobAttributes() function from the example and just updating it to use RTVNETA. Same test page, just rename and edit the function. Calling RTVNETA directly as the input to ClCommandWithOutput instead of wrapping the call inside a function ...
by rich8182
Mon May 02, 2016 4:05 pm
Forum: New Toolkit
Topic: RTVNETA with CLCommandWithOutput()
Replies: 2
Views: 3474

RTVNETA with CLCommandWithOutput()

Why does RTVNETA give me an internal server error? (500) If I start with the demo code from Alan's presentation and call RTVJOBA, everything returns correctly. function getJobAttributes() { // Note: specify (?N) for numeric attributes $cmdString = 'RTVJOBA JOB(?) USER(?) NBR(?) CURUSER(?) SYSLIBL(?)...