If I change userids in my CL via QSYGETPH/QWTSETP I get no QPJOBLOG.
After adding DSPJOBLOG OUTPUT(*PRINT) to the CL I get a joblog.
But still no output from the DISPLAY statements in the program.
If I don't switch userids, I see the messages in the QPJOBLOG.
Software/Hardware used:
iSeries V7R1
ASKED:
April 25, 2012 6:48 PM
UPDATED:
April 25, 2012 9:01 PM
If I change userids in my CL via QSYGETPH/QWTSETP…
After you switch to a different profile, the output no longer belongs to you. The output will go to the user that you switched to. If you run a DSPJOBLOG *PRINT command under your profile, that output will be yours.
So, for example, if you switch to SWUSRPRF, you might use WRKSPLF SELECT(SWUSRPRF) to review spooled output for that user.
Tom