Displaying channel status
We can display channel status by using MQSC commands, or by using the operations and control panels.
To display the status of a channel or a set of channels using the MQSC commands, use DISPLAY CHSTATUS.
Note: Displaying channel status information can take some time if we have lots of channels.Use the operations and control panels on the List Channel panel (see Figure 2 ), a summary of the channel status is shown for each channel as follows:
INACTIVE | No connections are active |
status | One connection is active |
nnn status | More than one connection is current and all current connections have the same status |
nnn CURRENT | More than one connection is current and the current connections do not all have the same status |
Blank | IBM MQ is unable to determine how many connections are active (for example, because the channel initiator is not running) |
Note: For channel objects with the disposition GROUP, no status is displayed. |
where nnn is the number of active connections, and status is one of the following:
INIT | INITIALIZING |
BIND | BINDING |
START | STARTING |
RUN | RUNNING |
STOP | STOPPING or STOPPED |
RETRY | RETRYING |
REQST | REQUESTING |
The values for status are as follows:
INIT | INITIALIZING |
BIND | BINDING |
START | STARTING |
RUN | RUNNING |
STOP | STOPPING or STOPPED |
RETRY | RETRYING |
REQST | REQUESTING |
DOUBT | STOPPED and INDOUBT(YES) |
See Channel states for more information.
We can press F11 to see a similar list of channel connections with saved status; press F11 to get back to the current list. The saved status does not apply until at least one batch of messages has been transmitted on the channel.
Use action code 1 or a slash (/) to select a connection and press enter. The Display Channel Connection Current Status panels are displayed.