2139 (085B) (RC2139): MQRC_CNO_ERROR

Explanation

On an MQCONNX call, the connect-options structure MQCNO is not valid, for one of the following reasons:

  • The StrucId field is not MQCNO_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 parameter pointer points to read-only storage.


Completion code

MQCC_FAILED


Programmer response

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