The MSG (Display Messages) command displays the most recent messages from the system. The response includes network messages and other system messages. The types of messages in the response are determined by the command modifier and the setting of the CONTROLLER option SEPARATEMSGS. The display shows the mix numbers of the tasks that generated messages, the times of the messages, and the text of the messages.
The MSG command returns network messages depending on the setting of the CONTROLLER option SEPARATEMSGS. If the option is SET, network messages will be returned only if the NW modifier is used. If the option is RESET, the NW modifier will return no messages. The following descriptions assume that SEPARATEMSGS is SET.
Messages preceded by asterisks (*) have not appeared on this ODT before. If the MSG command is entered again, the asterisks preceding those messages disappear.
Unsuppressed messages are those that have not been specified in an MSC (Message Control) command. Non-network messages are those that do not originate from networking software or from a remote host.
Syntax

Explanation
MSG
Displays unsuppressed, non-network messages. The number of messages displayed is a function of the TERM LINES and TERM FIRST values for the ODT. Refer to the TERM (Terminal) command for more information.
MSG ALL
Displays non-network messages, regardless of whether they have been suppressed by the MSC (Message Control) command. The number of messages displayed is a function of the TERM LINES and TERM FIRST values for the ODT.
MSG FULL
Displays non-network messages regardless of whether they have been suppressed by the MSC (Message Control) command. The number of messages displayed is determined by the value of MAX MESSAGES. Refer to MAX (Maximums) earlier in this section.
MSG USER <usercode>
Displays unsuppressed, non-network messages that originated from programs running with the specified usercode. Although the number of messages displayed is a function of the TERM LINES and TERM FIRST values for the ODT, the system searches the entire list of saved messages, up to the number specified by the value of MAX MESSAGES.
MSG ALL USER <usercode>
Displays non-network messages, including suppressed messages, that originated from programs running with the specified usercode. Although the number of messages displayed is a function of the TERM LINES and TERM FIRST values for the ODT, the system searches the entire list of saved messages, up to the number specified by the value of MAX MESSAGES.
MSG FULL USER <usercode>
Displays non-network messages, including suppressed messages that originated from programs running with the specified usercode. The system searches the entire list of saved messages, up to the number specified by the value of MAX MESSAGES.
MSG NW
MSG NW ALL
MSG NW FULL
MSG NW USER <usercode>
MSG NW ALL USER <usercode>
MSG NW FULL USER <usercode>
Have the same effects as the equivalent commands without the NW (Network Commands) option, except that the display includes network messages instead of non-network messages.
Examples
Example 1
The following example shows the display for all unsuppressed messages. The heading line appears on the first page of the Messages display and before the Messages entries in automatic display mode (ADM). The Mix field contains the number of the job or task from which the message was sent. Messages from an unknown origin have two asterisks (**) in the Mix field. The Time field shows the time of day that the message originated. The time is shown in 24-hour format.
MSG
--Mix--Time---------- MESSAGES ----------------------------- *4080 16:26 LP4: *BD/0004078/0004079/000LINE ON DISK PRINTED & REMOVED 4078 16:25 DISPLAY:BIND FINISHED. 4078 16:21 PK51 (BIGMACS)SYSTEM/MCP/CCONTROLLER/PATCHES/ WEDNESDAY/FINAL NOT REMOVED (NOT PRESENT) 4076 16:20 PK51 (MACS)OBJECT/CONTROLLER REMOVED ON FIRE
Example 2
This example shows all messages displayed by programs running with the usercode PDW:
MSG FULL USER PDW
--Mix--Time------- 7 MESSAGES (FULL) USER = PDW ----------- 4119 14:18 (PDW)MCP/MM10 COPIED FROM MCPS TO MCP511 4119 14:18 (PDW)OBJECT/TEST/MKSC COPIED FROM MCPMAST TO MCP511 4119 14:18 (PDW)TEST/MSC COPIED FROM MCPMAST TO MCP511 4119 14:18 (PDW)OBJECT/S/UTILIB COPIED FROM MCPMAST TO MCP511 4119 14:18 (PDW)OBJECT/S/DPPRINT COPIED FROM MCPMAST TO MCP511 4119 14:18 (PDW)OBJECT/S/EASE/STATUS COPIED FROM MCPMAST TO MCP511 4119 14:18 (PDW)S/EASE/STATUS COPIED FROM MCPMAST TO MCP511
Example 3
The following example shows all unsuppressed network messages:
MSG NW
---Mix-Time-------------- 15 NETWORK MESSAGES -------------- * NW 11:38 PHASE CHANGED FOR TCPIP FROM INITIALIZED TO NETWORKING * NW 11:38 CNS NETWORK INITIALIZING * NW 11:37 CONNECTIONGROUP ADDED: CG_ICP_2101 * NW 11:37 CONNECTIONGROUP ADDED: CG_ICP_2100 * NW 11:37 SG_ICP_2100 ADDED AS STATIONGROUP