2145 (0861) (RC2145): MQRC_SOURCE_BUFFER_ERROR
Explanation
On the MQXCNVC call, the SourceBuffer
parameter
pointer is not valid, or points to storage that cannot be accessed for the
entire length specified by SourceLength
. (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_BUFFER_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 valid buffer. If the reason code occurs on the MQGET call, check that the logic in the data-conversion exit is correct.