Using DBCS Characters in Literals

A mixed literal consists of Double-Byte Character Set (DBCS) and Single-Byte Character Set (SBCS) characters.

The GRAPHIC option of the PROCESS statement is available for processing DBCS characters in mixed literals. When the GRAPHIC option is specified, mixed literals will be handled with the assumption the hex 0E and hex 0F are shift-in and shift-out characters respectively, and they enclose the DBCS characters in the mixed literal. When NOGRAPHIC is specified or implied, the ILE COBOL compiler will treat nonnumeric literals containing hex 0E and hex 0F as if they only contains SBCS characters. Hex 0E and hex 0F are not treated as shift-in and shift-out characters, they are considered to be part of the SBCS character string.

A DBCS literal consists only of Double-Byte Character Set characters and is always treated as a DBCS character string.
Note: The GRAPHIC option on the PROCESS statement is not to be confused with the *PICXGRAPHIC or *PICGGRAPHIC values in the CVTOPT parameter of the CRTCBLMOD or CRTBNDCBL command and the CVTPICXGRAPHIC and CVTPICGGRAPHIC options on the PROCESS statement, which are used to specify double-byte graphic data from a DDS description. For more information on specifying graphic data, refer to DBCS-Graphic Fields.