Hi Alex,
You can use QUSLJOB to list all jobs for your user with status *Active and Job Type 'I' (Interactive). This is an OPM API and yo can use it with RPG400.
Regards,
Wilson
Last Wiki Answer Submitted: May 12, 2009 11:34 pm by WilsonAlano2,385 pts.
All Answer Wiki Contributors: WilsonAlano2,385 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
I would just use wrkusrjob username.
Hi,
Unfortunately WRKUSRJOB isn’t so handy from RPG.
Regards,
Martin Gilbert.
Try allocating the users message queue. Normally it would be allocated to his first Interactive Job.