When I try to retrieve the MSGQ with RTVJOBA SBMMSGQ (&MSGQ) command, I sometimes get *NONE. Can you please explain this?
When a job is submitted by the SBMJOB command, the message queue parameter is the name of the message queue to send the completion message. It may be a valid message queue, or a special value of:
The *USRPRF will use the submitting user profile (or the SBMFOR user profile).
The *WRKSTN will use the workstation message queue of the submitting device.
The *NONE will not send a completion message to any message queue. This is probably your value of *NONE.
If a job is submitted with *WRKSTN and it is submitted by a batch job, the value should also be *NONE.
MORE INFORMATION ON THIS TOPIC
The Best Web Links: tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Dig Deeper on iSeries ILE programming
Related Q&A from John Brandt
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.