+

Search Tips | Advanced Search

2516 (09D4) (RC2516): MQRC_SELECTOR_INVALID_FOR_TYPE


Explanation

A SelectionString may only be specified in the MQOD for an MQOPEN/MQPUT1 if the following is true:

  • ObjectType is MQOT_Q
  • The queue is being opened using one of the MQOO_INPUT_* open options.


Completion code

MQCC_FAILED


Programmer response

Modify the value of ObjectType to be MQOT_Q and ensure that the queue is being opened using one of the MQOO_INPUT_* options.

Parent topic: API reason codes

Last updated: 2020-10-04