QPRTJOB
Posted: Tue Oct 29, 2013 2:28 pm
Hi,
I know that this is not a RPG Problem but I need some assistance, and I'll post it any way.
I have a IWS Service that calls a RPG program, this program as a specific "Current User".
In this program I call another one that generates a spool file, this spool file is generated in a QPRTJOB job onwed by the "current user" not in the QUSER job that is actually running.
I looked into some IBM docs and could not find a way to get this job information so I can have access to the spool file.
Doe any one know can I get this job information, I know the job name, job user, but not the job number.
Thanks
João Mendes
I know that this is not a RPG Problem but I need some assistance, and I'll post it any way.
I have a IWS Service that calls a RPG program, this program as a specific "Current User".
In this program I call another one that generates a spool file, this spool file is generated in a QPRTJOB job onwed by the "current user" not in the QUSER job that is actually running.
I looked into some IBM docs and could not find a way to get this job information so I can have access to the spool file.
Doe any one know can I get this job information, I know the job name, job user, but not the job number.
Thanks
João Mendes