NameValueCCSID (MQLONG)

This specifies the coded character set identifier of the data in the NameValueData field. This is different from the character set of the other strings in the MQRFH2 structure, and can be different from the character set of the data (if any) that follows the last NameValueData field at the end of the structure.

NameValueCCSID must have one of the following values:

[V9.0.0.0 Jun 2016]
CCSID Meaning
1200 UTF-16, most recent Unicode version supported
13488 UTF-16, Unicode version 2.0 subset
17584 UTF-16, Unicode version 3.0 subset (includes the Euro symbol)
1208 UTF-8, most recent Unicode version supported
[V9.0.0.0 Jun 2016]

For the UTF-16 character sets, the encoding (byte order) of the NameValueData must be the same as the encoding of the other fields in the MQRFH2 structure.

Characters beyond the Unicode Basic Multilingual Plane (those above U+FFFF), represented in UTF-16 by surrogate code points (X'D800' through X'DFFF'), or four bytes in UTF-8, are not supported.

Note: If NameValueCCSID does not have one of the values listed above, and the MQRFH2 structure requires conversion on the MQGET call, the call completes with reason code MQRC_SOURCE_CCSID_ERROR and the message is returned unconverted.

The initial value of this field is 1208.