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.


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.

Parent topic: API reason codes