2143 (085F) (RC2143): MQRC_SOURCE_LENGTH_ERROR
Explanation
On the MQXCNVC call, the SourceLength
parameter
specifies a length that is less than zero or not consistent with the string's
character set or content (for example, the character set is a double-byte
character set, but the length is not a multiple of two). This reason also
occurs if the SourceLength
parameter pointer is not valid.
(It is not always possible to detect parameter pointers that are not valid;
if not detected, unpredictable results occur.)
This reason code can also occur on the MQGET call when the MQGMO_CONVERT option is specified. In this case it indicates that the MQRC_SOURCE_LENGTH_ERROR reason was returned by an MQXCNVC call issued by the data conversion exit.
Completion Code
MQCC_WARNING or MQCC_FAILED
Programmer response
Specify a length that is zero or greater. If the reason code occurs on the MQGET call, check that the logic in the data-conversion exit is correct.