2186 (088A) (RC2186): MQRC_GMO_ERROR


Explanation

On an MQGET call, the MQGMO structure is not valid, for one of the following reasons:

  • The StrucId field is not MQGMO_STRUC_ID.
  • The Version field specifies a value that is not valid or not supported.
  • The parameter pointer is not valid. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)
  • The queue manager cannot copy the changed structure to application storage, even though the call is successful. This can occur, for example, if the pointer points to read-only storage.


Completion code

MQCC_FAILED


Programmer response

Ensure that input fields in the MQGMO structure are set correctly.

Parent topic: API reason codes