+

Search Tips | Advanced Search

2156 (086C) (RC2156): MQRC_RESPONSE_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 MQRR response records are not specified correctly. One of the following applies:

  • ResponseRecOffset is not zero and ResponseRecPtr is not zero and not the null pointer.
  • ResponseRecPtr is not a valid pointer.
  • ResponseRecPtr or ResponseRecOffset points to storage that is not accessible.


Completion code

MQCC_FAILED


Programmer response

Ensure that at least one of ResponseRecOffset and ResponseRecPtr is zero. Ensure that the field used points to accessible storage.

Parent topic: API reason codes

Last updated: 2020-10-04