Zend Server CE - WebSmart php ToolKitApi

General discussion forum for the Zend Server

Zend Server CE - WebSmart php ToolKitApi

Postby jmartin17 on Sat Jan 19, 2013 12:07 am

I am running on ReleaseV5R4 using the new ToolKitApi. I want to use get job attribute for the Job Name User Name and Job Number
I have the latest CW.php and the connection works to the iSeries but I am having trouble using i5_job_list_read to get
the attributes?

I have in my code:

global $i5conn;
global $db2conn;
$db2conn = xl_db2_connect($options);
if(!($i5conn = xl_i5_connect()))
die("Unable to get an i5 connection");
die('Failed to connect to database!');
$jobAttr = $i5conn->getJobAttributes();

function getJobAttributes() {

echo("<BR> STMT 261 i5_job_list_read: ");

it does not return anything? Does anyone know what is wrong or have used this i5_job_list_read?

James R. Martin
J Martin Associates
Posts: 16
Joined: Sat Jan 30, 2010 5:00 pm

Return to Zend Server

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests