SENDMSG – Send a TSO message

Use SENDMSG to send a message from the job to a TSO user.

SENDMSG TEXT(<text>) [USER(<userid>)]

where:
<text>
The text of the message to send.
<userid>
The TSO user ID to whom to send the message.

If the USER keyword is omitted, the message is sent to the JES job log and can be displayed on SYSLOG and the console.