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.

This reason code occurs in the following environments: AIX®, HP-UX, z/OS®, IBM® i, Solaris, Windows, plus WebSphere® MQ clients connected to these systems.

Completion Code

MQCC_FAILED

Programmer response

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