ObjectName (MQCHAR48)
The name of the object being reported on.
The interpretation of ObjectName depends on the value of the MQSTAT Type parameter.
- MQSTAT_TYPE_ASYNC_ERROR
-
This is the name of the queue or topic used in the put operation, the failure of which is reported in the CompCode and Reason fields in the MQSTS structure.
- MQSTAT_TYPE_RECONNECTION
-
If the connection is reconnecting, this is the name of the queue manager associated with the connection.
- 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.
ObjectName is an output field. Its initial value is the null string in C, and 48 blank characters in other programming languages.
Parent topic: Fields for MQSTS