Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
SCREEN COBOL Source Program
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
2-4
SCREEN COBOL Character Set
SCREEN COBOL Character Set
The SCREEN COBOL character set is a subset of the ASCII character set and consists
of 52 characters. Table 2-1 lists these characters.
In addition, you can use characters from a double-byte character set if you specify the
CHARACTER-SET IS KANJI-KATAKANA clause in the OBJECT-COMPUTER
paragraph of the Environment Division. See the Compaq NonStop™ Pathway/iTS TCP
and Terminal Programming Guide for more information about double-byte character
sets.
The following definitions apply to the SCREEN COBOL character set:
•
Alphabetic characters include letters A through Z and space.
•
Numeric characters include digits 0 through 9.
•
Special characters include all characters except letters A through Z, space, and digits
0 through 9.
•
The full ASCII character set can be used in comments and literals.
•
Any valid double-byte character from the Shift-JIS character set (X 0208)
is allowed.
Table 2-1. SCREEN COBOL Character Set
0-9 Digits , Comma
A-Z Letters ; Semicolon
Space (blank) . Period (decimal point)
+ Plus sign " Quotation mark
– Minus sign (hyphen) ( Left parenthesis
* Asterisk ) Right parenthesis
/ Stroke (slash) > Greater than
= Equal sign < Less than
$ Currency sign @ Commercial at
Double-byte character
Note. Existing program units that do not use double-byte characters need not specify the
CHARACTER-SET IS KANJI-KATAKANA clause (even if 1-byte Katakana characters are
used). If a program unit specifies the CHARACTER-SET IS KANJI-KATAKANA clause, 1-byte
Katakana or 2-byte Katakana character sets (or both) are supported, depending on the
terminal. Your application can use whichever Katakana character set is supported by the
terminal; however, Kanji characters are only supported for program units that specify the
CHARACTER-SET IS KANJI-KATAKANA clause.