2154 (086A) (RC2154): MQRC_RECS_PRESENT_ERROR
Explanation
An MQOPEN or MQPUT1 call was issued, but the call failed for one of the following reasons:
- RecsPresent in MQOD is less than zero.
- ObjectType in MQOD is not MQOT_Q, and RecsPresent is not zero. RecsPresent must be zero if the object being opened is not a queue.
- IBM MQ Multicast is being used and RecsPresent in MQOD is not set to zero. IBM MQ Multicast does not use distribution lists.
Completion code
MQCC_FAILED
Programmer response
If it is intended to open a distribution list, set the ObjectType field to MQOT_Q and RecsPresent to the number of destinations in the list. If it is not intended to open a distribution list, set the RecsPresent field to zero.
Parent topic: API reason codes