2305 (0901) (RC2305): MQRC_SELECTOR_NOT_UNIQUE
Explanation
The ItemIndex parameter has the value MQIND_NONE, but the bag contains more than one data item with the selector value specified by the Selector parameter. MQIND_NONE requires that the bag contain only one occurrence of the specified selector.
This reason code also occurs on the mqExecute call when the administration bag contains two or more occurrences of a selector for a required parameter that permits only one occurrence.
Completion code
MQCC_FAILED
Programmer response
Check the logic of the application that created the bag. If correct, specify for ItemIndex a value that is zero or greater, and add application logic to process all of the occurrences of the selector in the bag.
Review the description of the administration command being issued, and ensure that all required parameters are defined correctly in the bag.
Parent topic: API reason codes