2041 (07F9) (RC2041): MQRC_OBJECT_CHANGED

Explanation

Object definitions that affect this object have been changed since the Hobj handle used on this call was returned by the MQOPEN call. For more information about the MQOPEN call, see MQOPEN.

This reason does not occur if the object handle is specified in the Context field of the PutMsgOpts parameter on the MQPUT or MQPUT1 call.

Completion Code

MQCC_FAILED

Programmer response

Issue an MQCLOSE call to return the handle to the system. It is then usually sufficient to reopen the object and retry the operation. However, if the object definitions are critical to the application logic, an MQINQ call can be used after reopening the object, to obtain the new values of the object attributes.