× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.