ILE COBOL Programmer's Guide

DBCS-Graphic Fields

The DBCS-graphic data type is a character string in which each character is represented by 2 bytes. The DBCS-graphic data type does not contain shift-out (SO) or shift-in (SI) characters. The difference between single-byte and DBCS-graphic data is shown in the following figure:

Figure 110. Comparing Single-byte and Graphic Data

Single-byte: 1 character = 1 byte; double byte: 1 character = 2 bytes

DBCS-graphic data is brought into your ILE COBOL program only if you specify the *PICXGRAPHIC or *PICGGRAPHIC value on the CVTOPT parameter of the CRTCBLMOD or CRTBNDCBL commands, or the CVTPICXGRAPHIC or CVTPICGGRAPHIC option of the PROCESS statement. If you do not do this, graphic data is ignored and declared as FILLER fields in your ILE COBOL program. For a description and the syntax of the CVTOPT parameter, see Parameters of the CRTCBLMOD Command.

The following conditions apply when DBCS-graphic data is specified:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]