2159 (086F) (RC2159): MQRC_PUT_MSG_RECORDS_ERROR
Explanation
An MQPUT or MQPUT1 call was issued to put a message to a distribution list, but the MQPMR put message records are not specified correctly. One of the following applies:
- PutMsgRecOffset is not zero and PutMsgRecPtr is not zero and not the null pointer.
- PutMsgRecPtr is not a valid pointer.
- PutMsgRecPtr or PutMsgRecOffset points to storage that is not accessible.
Completion code
MQCC_FAILED
Programmer response
Ensure that at least one of PutMsgRecOffset and PutMsgRecPtr is zero. Ensure that the field used points to accessible storage.
Parent topic: API reason codes