-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISeries User Job different from the one referred in the i5_connect function #213
Comments
@AlbertoRen , use |
Good morning Mr. Seiden, thank you very much for your fast reply, i must add the following. (1) connection (2) call my CL program (3) the job in which the program is executed is But i need to execute the pgm with PHPUSER (specified in connect function) and not with QUSER (...why QUSER ?...): Thank you for your patient. Alberto |
If you do WRKACTJOB while your program is running, you will see that the Current User is PHPUSER. That's how prestart jobs work, starting with QUSER and then switching to the current user per your authentication. |
Good morning Mr. Alan, |
Ciao,
my name is Alberto and i'm from Italy.
I would like to migrate several php applications installed wrote on an ISeries where Aura/Easycom runs,
migrating them to a new Ibm Power with Zendserver installed .
In order to do that, i've installed the last version of Zendserver on IBM Power and modified the necessary scripts including the Toolkit.
In general, Toolkit works correctly but i've just found this problem: please take a look to the following script
$conn = i5_connect("ip address", "PHPUSER", "password");
i5_command("rtvjoba",
array(), array("curlib" => "curl",
"user"=>"user",
"job"=>"job",
"nbr"=>"nbr",
));
connecting with PHPUSER, RTVJOBA command retrieves this data
User : QUSER
job : QSQSRVR
number: 080019
The question is: why QUSER when i'm connecting with PHPUSER ? (...this is a big big problem for me)
ps
the same script, executed on the Iseries with Easycom installed, produces the following result
User : PHPUSER
job: PHPJOB
number: 700275
Thanks in advance for your help !!
The text was updated successfully, but these errors were encountered: