Previous Topic: Codepage TranslationsNext Topic: Multiple Byte Characters


Single Byte Characters

The customer must verify that the default LCID is set correctly when the control unit and display stations are configured. If the default LCID cannot be configured, the correct codepage must be installed.

Not all 3270 display units report the installed codepage. In these systems, the Query Reply structured field indicates that a single LCID is installed, and that the CGCSGID is not present. This information is relayed in the Query Reply (Character Sets) structured field, in the character sets query reply base section. Specifically, the information is relayed in byte 4, bits 1 and 6. Also, when bit 5 is on double-byte (DBCS) fields are supported. When bit 5 is off, double-byte (DBCS) fields are not supported.

When the CGCSGID is not present, the runtime assumes that the codepage in use is 37 (US English EBCDIC). This is also true when CICS reports that the CGCSGID is not available.

During codepage translation from a single byte to a single byte codepage, the length of the strings does not change. However, if the translation is from a single byte to a multiple byte codepage, then the resulting multiple byte string may be the same length, or longer.