SubName (MQCHARV)

The name of the failing subscription. Present only in Version 2 of MQSTS or higher.

The interpretation of SubName depends on the value of the MQSTAT Type parameter.

    MQSTAT_TYPE_ASYNC_ERROR

    Zero length string.

    MQSTAT_TYPE_RECONNECTION

    Zero length string.

    MQSTAT_TYPE_RECONNECTION_ERROR

    The name of the subscription that caused reconnection to fail. If no subscription name is available, or the failure is not related to a subscription, this is a zero-length string.

SubName is an output field. Its initial value is a zero length string. Parent topic: Fields for MQSTS