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.
  • WebSphere® MQ Multicast is being used and RecsPresent in MQOD is not set to zero. WebSphere MQ Multicast does not use distribution lists.

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

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.