Display channel status

Use the MQSC command DISPLAY CHSTATUS, specifying the channel name and whether we want the current status of channels or the status of saved information.

DISPLAY CHSTATUS applies to all message channels. It does not apply to MQI channels other than server-connection channels.

Information displayed includes:

  • Channel name
  • Communication connection name
  • In-doubt status of channel (where appropriate)
  • Last sequence number
  • Transmission queue name (where appropriate)
  • The in-doubt identifier (where appropriate)
  • The last committed sequence number
  • Logical unit of work identifier
  • Process ID
  • Thread ID ( Windows only)


Display channel status examples

DISPLAY CHSTATUS(*) CURRENT

DISPLAY CHSTATUS(QM1.TO.*) SAVED

The saved status does not apply until at least one batch of messages has been transmitted on the channel. Status is also saved when a channel is stopped (using the STOP CHL command) and when the queue manager is ended.

Parent topic: Getting started with objects