2519 (09D7) (RC2519): MQRC_SELECTION_STRING_ERROR
Explanation
The
SelectionString must be specified according to the description of how to use
an MQCHARV structure. Examples of why this error was returned:SelectionString.VSLengthis greater than zero, butSelectionString.VSOffsetis zero andSelectionString.VSPtris a null pointer.SelectionString.VSOffsetis nonzero andSelectionString.VSPtris not the null pointer (that is, it appears both fields are being used where only one is allowed).SelectionString.VSPtris not a valid pointer.SelectionString.VSOffsetorSelectionString.VSPtrpoints to storage that is not accessible.SelectionString.VSLengthexceeds the maximum length allowed for this field. The maximum length is determined by MQ_SELECTOR_LENGTH.
Completion code
MQCC_FAILED
Programmer response
Modify the fields of the MQCHARV so that it follows the rules for a valid MQCHARV structure.