Note: Built-In Function Rules Usage Options
Issues a message to a message queue.
Arguments
|
Return Values
No return values.
Examples
Issue a message to ask user to sign off for 10 minutes:
USE BUILTIN(ISSUEMESSAGE)
WITH_ARGS(DSP16 T
'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
#MSGF #SUB)
*
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.