Issues a message to a message queue.
No return values.
Issue a message to ask user to sign off for 10 minutes:
'Please sign off for 10 minutes. Thank you.'
Issue a message to tell operator that DAYJOB to CLOSE has been submitted to the batch queue:
CHANGE FIELD(#MSGID) TO(MSG0121)
CHANGE FIELD(#MSGF) TO(WRKMSGF)
CHANGE FIELD(#SUB) TO('''DAILY CLOSE''')
SUBMIT PROCESS(DAYLY) FUNCTION(CLOSE)
USE BUILTIN(ISSUEMESSAGE) WITH_ARGS(DSP01 M #MSGID
MSG0121 = The &1 &2 job for today has been submitted.
Note: The message data parameter corresponds directly to the MSGDTA parameter in the CL command SNDPGMMSG. The passing of information through this parameter is your responsibility. For more information on passing substitution variables see the appropriate IBM manuals.