Inquiry and informational messages

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

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: