Q
Problem solve Get help with specific problems with your technologies, process and projects.

Error with SBMJOB command

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:
*USRPRF
*WRKSTN
*NONE

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

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close