Disregard...someone had put the ZENDSVR6 jobq on hold :facepalm
Thanks,
Tommy Holden
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Tommy Holden
Sent: Tuesday, July 05, 2016 1:33 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: PHP & XTOOLKIT
I have been running this PHP script for over a year but the system was upgraded to v7.2 of IBM I I did manage to get everything ported over to Zend Server 6 and everything was fine until we IPLed Sunday AM. The PHP using SQL still works fine but it seems that the command isn't being passed to the system any assistance would be greatly appreciated. Here is the relevant code with a example of the generated SBMJOB string:
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Pragma: no-cache');
include_once 'authorization.php';
include_once 'ToolkitService.php';
$db = $_SESSION['db'];
$user = $_SESSION['AppUsr'];
$pass = $_SESSION['AppPass'];
try {
$obj = ToolkitService::getInstance($db, $user, $pass);
}
catch (Exception $e) {
echo $e->getMessage(), "\n";
exit();
}
$obj->setToolkitServiceParams(array('InternalKey'=>"/tmp/$user",
'debug'=>true,
'plug' => "iPLUG32K"));
$cmd = "addlible ZENDSVR6";
$obj->CLCommand($cmd);
$cmd = "SBMJOB CMD(CALL PRTV12CHKS) JOB(PRTV12CHKS) USER(" . $user . ") JOBQ(QGPL/OUTQMON) JOBD(" . $_SESSION['jobd'] . ") INLLIBL(*JOBD) LOG(4 00 *SECLVL) LOGCLPGM(*YES) HOLD(*NO)";
// $cmd = "SBMJOB CMD(CALL PRTV12CHKS) JOB(PRTV12CHKS) USER(MYUSER) JOBQ(QGPL/OUTQMON) JOBD(CODA12PRD/CODAPRODJD) INLLIBL(*JOBD) LOG(4 00 *SECLVL) LOGCLPGM(*YES) HOLD(*NO)";
$obj->CLCommand($cmd);
echo $cmd;
[cid:image001.jpg@01D1D6C1.CDACC860]
Thanks,
Tommy Holden
Direct: 615-259-5814
Main Line: 615.256.2424 ext. 5814
Toll-Free: 1.800.228.3644 ext.5814
fax: 615-793-7617
tommy.holden@xxxxxxxxx<mailto:tommy.holden@xxxxxxxxx>
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.