2155 (086B) (RC2155): MQRC_OBJECT_RECORDS_ERROR

Explanation

An MQOPEN or MQPUT1 call was issued to open a distribution list (that is, the RecsPresent field in MQOD is greater than zero), but the MQOR object records are not specified correctly. One of the following applies:
  • ObjectRecOffset is zero and ObjectRecPtr is zero or the null pointer.
  • ObjectRecOffset is not zero and ObjectRecPtr is not zero and not the null pointer.
  • ObjectRecPtr is not a valid pointer.
  • ObjectRecPtr or ObjectRecOffset points to storage that is not accessible.

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

Completion Code

MQCC_FAILED

Programmer response

Ensure that one of ObjectRecOffset and ObjectRecPtr is zero and the other nonzero. Ensure that the field used points to accessible storage.