ObjectQMgrName (MQCHAR48)

The name of the queue manager being reported on.

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

    MQSTAT_TYPE_ASYNC_ERROR

    This is the name of the queue manager on which the ObjectName object is defined. A name that is entirely blank up to the first null character or the end of the field denotes the queue manager to which the application is connected (the local queue manager).

    MQSTAT_TYPE_RECONNECTION

    The ObjectQMgrName field contains the name of a queue manager to which reconnection is being requested, or blank if no queue manager is specified. If possible, the client attempts to reconnect to a queue manager of that name.

    Blank.

    MQSTAT_TYPE_RECONNECTION_ERROR

    If the connection failed to reconnect, this is the name of the object which caused reconnection to fail. The reason for the failure is reported in the CompCode and Reason fields in the MQSTS structure.

ObjectQMgrName is an output field. Its value is the null string in C, and 48 blank characters in other programming languages.

Parent topic: Fields for MQSTS