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.