When I submit a job in batch. I don't get any break message that job was completed successfully or not. I read somewhere that this attribute is set against message queue to send break message or notify etc. I just call my program with SBMJOB CMD(CALL PGM(xxxxx)) it initiated job QBATCH. How can I set attribute of message queue attached to this job. When I execute WRKUSRJOB there I find my job with status OUTQ. Simply I want a break message on batch job..
Discuss This Question: 1  Reply
The MSGQ parameter of the SBMJOB command determines to which message queue the completion message is delivered. The default is *USRPRF.
The simplest method to achieve what you're asking for is for you to change your message queue to DLVRY(*BREAK).