Inquiry and informational messages

Using the Send User Message (SNDUSRMSG) command, you can send an inquiry message or an informational message to a display station user, the system operator, or a user-defined message queue.

If you use the Send User Message (SNDUSRMSG) command to send an inquiry message to the user, the procedure or program waits for a response from the user. The message can be either an immediate message or a predefined message. For an interactive job, the message is sent to the display station operator by default. For a batch job, the message is sent to the system operator by default. To send a message from a procedure or program using the Send User Message (SNDUSRMSG) command, you can specify the following on the Send User Message (SNDUSRMSG) command: