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.

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 at least one of ResponseRecOffset and ResponseRecPtr is zero. Ensure that the field used points to accessible storage.