+

Search Tips | Advanced Search

2116 (0844) (RC2116): MQRC_TARGET_INTEGER_ENC_ERROR


Explanation

On an MQGET call with the MQGMO_CONVERT option included in the GetMsgOpts parameter, the Encoding value in the MsgDesc parameter specifies an integer encoding that is not recognized. The message data is returned unconverted, the values of the CodedCharSetId and Encoding fields in the MsgDesc parameter are set to those of the message being retrieved, and the call completes with MQCC_WARNING.

This reason code can also occur on the MQXCNVC call, when the Options parameter contains an unsupported MQDCC_TARGET_* value, or when MQDCC_TARGET_ENC_UNDEFINED is specified for a UTF-16 code page.


Completion code

MQCC_WARNING or MQCC_FAILED


Programmer response

Check the integer encoding that was specified. If this is correct, check that it is one for which queue manager conversion is supported. If queue manager conversion is not supported for the required integer encoding, conversion must be carried out by the application.

Parent topic: API reason codes

Last updated: 2020-10-04