Displaying console status information
Use the DISPLAY CONSOLES command to display the status of all consoles or specified consoles in the sysplex, including HMCS and SMCS. If you need information about extended MCS (EMCS) consoles, use the DISPLAY EMCS command to display information for extended MCS consoles.
See Figure 1 and Figure 1 for examples of the resulting display of the DISPLAY CONSOLES and DISPLAY CONSOLES,BACKLOG commands. The syntax of the command is:
|
The parameters are:
- CONSOLES or C
- Displays console information in message CNZ4100I.
- ACTIVE or A
- Displays the status of all active MCS, HMCS, SMCS and subsystem consoles. Consoles in standby
mode are also displayed.Note: The ACTIVE parameter only works for extended MCS or system consoles when issued with the CN or MSTR parameter. Use the D EMCS command for these consoles.
- NACTIVE or N
- Displays the status of all MCS, HMCS, SMCS
and subsystem consoles that are not active or in STANDBY mode.. Note: The NACTIVE parameter only works for extended MCS and system consoles when issued with the CN or MSTR parameter; use the D EMCS command for these consoles.
- SS
- Displays the status of all allocatable subsystem consoles.
- CA
- Displays, for a sysplex, the console/system association list to match the specified keyword, ACTIVE or NACTIVE.
- CA=[name]
- Displays the specified console name(s) in the sysplex to match the specified keyword, ACTIVE or NACTIVE. A console name can be 2 to 8 characters in length. You can specify wildcard characters (* and ?) in the console name.
- CN=name
- Displays the status of a console or consoles identified by console name. A console name can be 2 to 8 characters in length. You can specify wildcard characters (* and ?) in the console name.
- MSTR
- The system displays the status of the operators with master authority that match the specified keyword of ACTIVE, NACTIVE, or SS. MSTR is mutually exclusive with CA and U. MSTR can be issued with ROUT.
- U=
- Displays the status of one or more consoles, identified by device
numbers. A device number consists of 3 or 4 hexadecimal digits, optionally
preceded by a slash (/).
- [/]devnum
- Displays the status of the console identified by device number devnum.
- ([/]devnum1[,[/]devnum2]…)
- Displays the status of consoles identified by device numbers devnum1, devnum2, and so on.
- [/]lowdevnum-[/]highdevnum)
- Displays the status of the consoles identified by device numbers in the range of lowdevnum-highdevnum.
- SYS=system-name
- Displays the status of consoles that are active or eligible to
be activated on the system you specify, and that match the other specified
parameters.
SYS is mutually exclusive with BACKLOG (B), HARDCOPY (HC), KEY, *, and U=.
- ROUT
- Displays the status of consoles that receive
messages identified by the routing code you specify.
- NONE
- Displays the status of consoles to which no messages are routed by routing code.
- rr
- Displays the status of consoles that accept messages with a routing code of rr.
- (rr[,ss]…)
- Displays the status of consoles that accept messages with routing codes listed as rr,ss, and so forth.
- (rr-ss)
- Displays the status of consoles that accept messages with routing codes in the range of rr to ss.
- ALL
- Displays the status of consoles that accept messages by routing codes.
- FULL or F
- Displays the console attributes as they are defined on each system
that matches the specified parameters. If neither FULL (F) nor SUMMARY (S) is specified, the output depends on the status of the console that matches the specified parameters:
- If the console is active, Displays the console attributes as it is defined on the system where it is active.
- If the console is active and does not match the specified parameters on the system where it is active (but it does match the specified parameters on one or more systems where it is not active), Displays only the name, type, and status of the consoles that match the specified parameters. In addition, the name of each system where the consoles are defined and where they match the specified parameters are displayed.
- If the console is not active, Displays only the name, type, and status of the consoles that match the specified parameters. In addition, the name of each system where the consoles are defined and where they match the specified parameters are displayed.
- SUMMARY or S
- Displays only the name, type, and status of the consoles that match the specified parameters. In addition, the name of each system where the consoles is defined and where they match the specified parameters are displayed.
- BACKLOG or B
- Displays the status of all local consoles with a message backlog. It will list the information in descending order by quantity of backlogged messages.
- HARDCOPY or HC
- Displays the following information about the hardcopy message
set or the hardcopy medium:
- Whether the hardcopy medium is SYSLOG or OPERLOG
- Whether the hardcopy message set is to include operator commands, responses, and status displays
- The routing codes for messages the system is to include in the hardcopy message set
- The number of messages waiting to be sent to the hardcopy medium.
The DISPLAY CONSOLES command response (CNZ4100I) will display SYSLOG and OPERLOG status.
- KEY
- Displays a list of available class names of extended MCS consoles.
- KEY[=key]
- Displays the list of active operators in the specified console class, where ‘key’ is a specific class name. See z/OS MVS Planning: Operations for more information.
- LIST or L
- Displays the status of consoles defined to the sysplex in CONSOLxx but not for extended MCS consoles.
- MASTER or M
- Displays the status of all consoles with master authority.
- SHAREDMODE
- Displays the status of all MCS, HMCS, SMCS
and subsystem consoles that are available in console services shared
mode. Use SHAREDMODE to display which consoles will continue to exist
in console services shared mode. Note: EMCS consoles are unaffected by a fallback from console services distributed mode to shared mode.
- SMCS
- Displays the status of the SMCS applications in the sysplex. The SMCS keyword is mutually exclusive with all other DISPLAY CONSOLES keywords.
- *
- Displays the status of the console that issues the DISPLAY command.
- L=a, name, or name-a
- Specifies the display area (a), console name
(name), or both (name-a) where
the display is to appear.
If you omit this operand, the display is presented in the first available display area or the message area of the console through which you enter the command.
Example 1:
D C,CN=(CON24,TAPE)
Example 2:
D C,A,ROUT=3
Example 3:
D C,SS,ROUT=15
Example 4:
D C,U=81B
Example 5:
D C,U=/3480
Example 6:
D C,KEY
Example 7:
D C,N,L=CON5-A
Example 8:
D C,HC,L=CON13-B
Example 9:
D C,CN=(SYS1*),S
Example 10:
D C,CN=DAVE,F