Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)

Environment Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual426750-001
4-5
OBJECT-COMPUTER Paragraph
executed. After the first DISPLAY BASE, the character set specified in the
terminal's configuration menu is used.
KANJI-KATAKANA
indicates that the program unit source file might contain double-byte characters
in data fields or literals and instructs the compiler to allow the PIC N picture
clause.
You must be aware that depending on the terminal, support for 1-byte Katakana
characters, 2-byte Katakana characters, and lowercase and uppercase alphabetic
characters varies.
On 6530 terminals, both 1-byte and 2-byte Katakana character sets, as well
as uppercase and lowercase alphabetic characters, are supported if
CHARACTER-SET IS KANJI-KATAKANA is specified.
On IBM 3270 terminals, either lowercase alphabetic characters or 1-byte
Katakana characters are supported.
°
On IBM 3270 terminals configured to use both lowercase and uppercase
alphabetic characters, a program unit cannot use 1-byte Katakana
characters.
°
On IBM 3270 terminals configured to use 1-byte Katakana characters,
the TCP upshifts lowercase alphabetic characters in the outbound data
stream. Such terminals can run applications with both lowercase and
uppercase alphabetic characters as well as 1-byte Katakana characters,
but inbound data does not contain lowercase alphabetic characters that
the terminal does not generate when thus configured.
If the CHARACTER-SET IS clause is included and the character set type differs from
the current setting in the terminal, or the terminal setting is unknown, the terminal is
signaled the character set type at the execution of the first DISPLAY BASE statement in
a program unit. After the program unit completes execution, the terminal is reset to its
original character set.
The programmatic support of national-use characters affects the following areas:
Field-characteristic clause UPSHIFT—Lowercase national-use characters are
upshifted to their uppercase equivalents.
Class condition—The condition ALPHABETIC checks for characters in the
national-use characters.
Symbol A in PICTURE clauses—A check is made for characters in the national-use
character set.
Programmatic support of national-use characters does not affect the following areas:
Note. Applications that use 1-byte alphabetic characters only can run on any terminal for
which the CHARACTER-SET IS KANJI-KATAKANA clause is valid. Applications that use
1-byte alphabetic characters as well as 1-byte Katakana characters can run only on a 6530
terminal or on an IBM 3270 terminal specifically configured to support EBCDIC/Katakana.