2008 (07D8) (RC2008): MQRC_CHAR_ATTRS_TOO_SHORT


Explanation

For MQINQ calls, CharAttrLength is not large enough to contain all of the character attributes for which MQCA_* selectors are specified in the Selectors parameter.

The call still completes, with the CharAttrs parameter string filled in with as many character attributes as there is room for. Only complete attribute strings are returned: if there is insufficient space remaining to accommodate an attribute in its entirety, that attribute and subsequent character attributes are omitted. Any space at the end of the string not used to hold an attribute is unchanged.

An attribute that represents a set of values (for example, the namelist Names attribute) is treated as a single entity—either all of its values are returned, or none.


Completion code

MQCC_WARNING


Programmer response

Specify a large enough value, unless only a subset of the values is needed.

Parent topic: API reason codes