Controlling channel and bridge events

You control channel events by using queue manager attributes. To enable channel events, set the appropriate queue manager attribute to ENABLED. To disable channel events, set the appropriate queue manager attribute to DISABLED.

To enable or disable channels events use the MQSC command ALTER QMGR, specifying the appropriate queue manager attribute. Table 1 summarizes how you enable channel and bridge events. To disable a queue manager event, set the appropriate parameter to DISABLED.

[z/OS]Restriction: Channel auto-definition events are not available on IBM® MQ for z/OS®.
Table 1. Enabling channel and bridge events using MQSC commands
Event ALTER QMGR parameter
Channel
Related to channel errors only
IMS bridge
SSL
Channel auto-definition
CHLEV (ENABLED)
CHLEV (EXCEPTION)
BRIDGEEV (ENABLED)
SSLEV (ENABLED)
CHADEV(ENABLED)
With CHLEV set to exception, the following return codes, and corresponding reason qualifiers are generated:
  • MQRC_CHANNEL_ACTIVATED
  • MQRC_CHANNEL_CONV_ERROR
  • MQRC_CHANNEL_NOT_ACTIVATED
  • MQRC_CHANNEL_STOPPED
    • with the following ReasonQualifiers:
      • MQRQ_CHANNEL_STOPPED_ERROR
      • MQRQ_CHANNEL_STOPPED_RETRY
      • MQRQ_CHANNEL_STOPPED_DISABLED
  • MQRC_CHANNEL_STOPPED_BY_USER
  • MQRC_CHANNEL_BLOCKED
    • with the following ReasonQualifiers:
      • MQRQ_CHANNEL_BLOCKED_NOACCESS
      • MQRQ_CHANNEL_BLOCKED_USERID
      • MQRQ_CHANNEL_BLOCKED_ADDRESS