General discussion on Zend Server for IBM System i
-
greg7308
- Posts: 23
- Joined: Fri Mar 28, 2014 1:28 am
Post
by greg7308 » Mon Sep 21, 2015 10:55 pm
Any idea why this works
Code: Select all
$cmdString = 'RTVJOBA JOB(?) USER(?) NBR(?) CURUSER(?) SYSLIBL(?) CURLIB(?) USRLIBL(?) LANGID(?) CNTRYID(?) CCSID(?N) DFTCCSID(?N) OUTQ(?)';
$Result = $Tks->CLCommandWithOutput($cmdString);
and this does not?
Code: Select all
$cmdString = "RTVUSRPRF USRPRF(?) GRPPRF(?)";
$Result = $Tks->CLCommandWithOutput($cmdString);
I am sure the toolkitserviceobject is ok ($Tks) as the first example works perfectly and results displayed are correct.
Greg
-
timo_karvinen
- Posts: 82
- Joined: Wed Aug 12, 2009 7:58 am
- Location: Tampere, Finland
-
Contact:
Post
by timo_karvinen » Tue Sep 22, 2015 8:43 am
Just completely guessing here but maybe you don't have permissions to the user profile queried or the RTVUSRPRF command/program itself?
-Timo