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 andPutMsgRecPtr
is not zero and not the null pointer.PutMsgRecPtr
is not a valid pointer.PutMsgRecPtr
orPutMsgRecOffset
points to storage that is not accessible.
This reason code occurs in the following environments: AIX®, HP-UX, IBM® i, Solaris, Windows, plus IBM MQ clients connected to these systems.
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.