Channel Stopped By User



Event name: Channel Stopped By User.
Reason code in MQCFH: MQRC_CHANNEL_STOPPED_BY_USER (2279, X'8E7').
Channel stopped by user.
Event description: This is issued when a user issues a STOP CHL command. ReasonQualifier identifies the reasons for stopping.
Event type: Channel.
Event queue: SYSTEM.ADMIN.CHANNEL.EVENT.

 

Event data

QMgrName

Description: Name of the queue manager generating the event.
Identifier: MQCA_Q_MGR_NAME.
Datatype: MQCFST.
Maximum length: MQ_Q_MGR_NAME_LENGTH.
Returned: Always.

ReasonQualifier

Description: Identifier that qualifies the reason code.
Identifier: MQIACF_REASON_QUALIFIER.
Datatype: MQCFIN.
Values:

MQRQ_CHANNEL_STOPPED_DISABLED
Channel has been closed and it is in a stopped state.
Returned: Always.

ChannelName

Description: Channel name.
Identifier: MQCACH_CHANNEL_NAME.
Datatype: MQCFST.
Maximum length: MQ_CHANNEL_NAME_LENGTH.
Returned: Always.

ErrorIdentifier

Description: Identifier of the cause of the error. As the event message is generated by a Stop Channel command and not a channel error, the following fields are set:

  1. ReasonQualifier, containing the same value as in the ReasonQualifier (MQCFIN)  field.

  2. AuxErrorDataInt1, containing zeros

  3. AuxErrorDataInt2, containing zeros

  4. AuxErrorDataStr1, containing zeros

  5. AuxErrorDataStr2, containing zeros

  6. AuxErrorDataStr3, containing zeros
Identifier: MQIACF_ERROR_IDENTIFIER.
Datatype: MQCFIN.
Returned: Always.

XmitQName

Description: Transmission queue name.
Identifier: MQCACH_XMIT_Q_NAME.
Datatype: MQCFST.
Maximum length: MQ_Q_NAME_LENGTH.
Returned: For sender, server, cluster-sender, and cluster-receiver channels only.

ConnectionName

Description: If the channel has successfully established a TCP connection, this is the Internet address. Otherwise it is the contents of the ConnectionName field in the channel definition.
Identifier: MQCACH_CONNECTION_NAME.
Datatype: MQCFST.
Maximum length: MQ_CONN_NAME_LENGTH.
Returned: Only for commands that do not contain a generic name.