2006 (07D6) (RC2006): MQRC_CHAR_ATTR_LENGTH_ERROR
Explanation
CharAttrLength is negative (for MQINQ or MQSET calls), or is not large enough to hold all selected attributes (MQSET calls only). This reason also occurs if the parameter pointer is not valid. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)
Completion code
MQCC_FAILED
Programmer response
Specify a value large enough to hold the concatenated strings for all selected attributes.
Parent topic: API reason codes