Set up CCSID support for message handling

The default setting of the CCSID for creating message queues and message files is 65535. Most message files delivered with the operating system have a CCSID of 65535.

Most message descriptions in system-supplied message files are tagged with a CCSID that corresponds to the national language version with which they are included.

Some message descriptions are not assigned a CCSID that corresponds to the national language version. These message descriptions are tagged 65535 and are not converted when used.

Messages sent to a message queue that has a CCSID of 65535 are not converted when placed on the queue. Message descriptions added to a message file that has a CCSID of 65535 are not converted when placed in the file. These messages and message descriptions are tagged with a CCSID associated with their text or data. By tagging them with a CCSID associated with their text or data, they are given the correct CCSID if the object-level CCSID is changed to 65534.

You can set CCSID support on for handling a specific message queue. For example, to set CCSID handling on for message queue MYMSGQ in library MYLIB, type:

CHGMSGQ MSGQ(MYLIB/MYMSGQ) CCSID(65534)

The Change Message Queue (CHGMSGQ) command also allows you to turn on CCSID support for more than one message queue at a time.

You can set CCSID support on for handling a specific message file. For example, to set CCSID handling on for message file MYMSGF in library MYLIB, type:

CHGMSGF MSGF(MYLIB/MYMSGF) CCSID(65534)

The Change Message File (CHGMSGF) command also allows you to turn on CCSID support for more than one message file at a time.

Related reference
Change Message Queue (CHGMSGQ) command
Change Message File (CHGMSGF) command