2136 (0858) (RC2136): MQRC_MULTIPLE_REASONS

Explanation

An MQOPEN, MQPUT or MQPUT1 call was issued to open a distribution list or put a message to a distribution list, but the result of the call was not the same for all of the destinations in the list. One of the following applies:

  • The call succeeded for some of the destinations but not others. The completion code is MQCC_WARNING in this case.
  • The call failed for all of the destinations, but for differing reasons. The completion code is MQCC_FAILED in this case.


Completion code

MQCC_WARNING or MQCC_FAILED


Programmer response

Examine the MQRR response records to identify the destinations for which the call failed, and the reason for the failure. Ensure that sufficient response records are provided by the application on the call to enable the error(s) to be determined. For the MQPUT1 call, the response records must be specified using the MQOD structure, and not the MQPMO structure.