MESSAGE ALL

Read syntax diagramSkip visual syntax diagramMessageMSGALLALLDBCSALLSBCS12ATALLsysname* msgtext
Notes:
  • 1 If MESSAGE or MSG is executed with the AT command, the AT operand is not allowed.
  • 2 See usage note 1.

Authorization

Privilege Class: A, B

Purpose

Use MESSAGE ALL or MSG ALL to transmit message text to all active users and disconnected users.

Operands

ALL
transmits the message to all users.
ALLDBCS
transmits the message to all users logged on to DBCS (double-byte character set) terminals.
ALLSBCS
transmits the message to all users and all disconnected users logged on to SBCS (single-byte character set) terminals.
AT ALL
transmits the message to all systems in the SSI cluster to which this system belongs. The lowest return code is returned to the command issuer.
AT sysname
transmits the message to a specific system in the SSI cluster to which this system belongs. The return code is returned to the command issuer.
AT *
transmits the message only to the system where the command is issued. This is the default if the system is not a member of an SSI cluster.
msgtext
is the text of the message you are sending. The length of the message is limited by the number of characters remaining on the input line after the command and appropriate operand are entered. You must include at least one blank between the ALL operand and the message text. DBCS text is supported as message text.

Usage Notes

  1. If the AT operand is not specified:
    • If MESSAGE or MSG is not executed with the AT command:
      • If the sender's system is not a member of an SSI cluster, the default is AT *.
      • If the sender's system is a member of an SSI cluster, the default is AT ALL, except in the following cases:
        • If the sender is defined by a multiconfiguration virtual machine definition, the default is AT *.
        • If a potential recipient user ID is defined by a multiconfiguration virtual machine definition, the default for that user ID is AT *.
    • If MESSAGE or MSG is executed with the AT command, the AT operand function is bypassed (there is no default), and the message is sent to the system specified on the AT command.
  2. The total number of logged-on users significantly affects command processing. The command might take a long time to process and might tie up user terminals.
  3. For additional information, see MESSAGE.

Responses

hh:mm:ss * MSG FROM userid  : msgtext
hh:mm:ss
identifies the time the message was sent to the user, in hours, minutes, and seconds.
userid
identifies the user sending the message.
msgtext
identifies the message text.