Sending messages to other consoles *MESSAGE,dest
Function
Use the *MESSAGE command to send a message to one or more consoles on the system. You can direct messages to a specific console or to a group of consoles designated by a common MCS routing code or JES3 destination class.
Syntax
>>-+-*MESSAGE-+--+-,--ALL-----+--,--text----------------------->< '-*Z-------' +-,--con-----+ '-,--msgdest-'
Equivalent MVS™ command
- SEND ‘message’,CN=console
- Sends a message to the specified MCS console. The console variable must be the console name. See z/OS MVS System Commands for more information about the SEND ‘message’,CN=console id command.
Parameters
- ALL
- Sends the message to all JES3 RJP and MCS consoles that receive operator broadcast messages.
- con
- Specifies the JES3 RJP console to which you want the message sent.
- msgdest
- Specifies a message destination that the message should be delivered to. The message destination can be composed of one or more JES3 destination classes, MCS routing codes, or a combination of both. You may include any number of MCS routing codes (including specifying them by list or ranges). You can specify multiple JES3 destination classes. You must specify multiple JES3 destination classes as a list. If you specify more that one message destination, the destination string must be enclosed in parenthesis. IBM® reserves certain routing codes for it's use and if specified these codes will be ignored.
- text
- Is the content of the message that you want to send to the designated consoles.
Examples
Send the message READY FOR OUTPUT
to console RTM01:
*Z,RTM01,READY FOR OUTPUT
Send
the message JES3 SYSTEM RUNNING to all consoles that are receiving
routing code 92:
*Z,92,JES3 SYSTEM RUNNING