COBOL Manual for TNS/E Programs (H06.03+)
Environment Division
HP COBOL Manual for TNS/E Programs—520347-003
6-7
OBJECT-COMPUTER Paragraph
In COBOL, this clause affects only the ALPHABETIC-UPPER, ALPHABETIC-LOWER,
and ALPHABETIC tests. In SCREEN COBOL, the CHARACTER-SET IS clause has
some additional semantics, including terminal configuration (see the Pathway/TS
SCREEN COBOL Reference Manual).
The CHARACTER-SET clause does not define the character sets used for national
literals or national data items.
The default character set is USASCII. The UK character set designator is handled as a
comment, because it contains no extensions to the ALPHABETIC class. When the
character set is USASCII (or UK), the ALPHABETIC class test work as Table 6-1
shows.
If you specify a character-set-type other than USASCII or UK, the ALPHABETIC
class includes additional characters (see Table 6-2). The French character sets differ
only in non-ALPHABETIC characters.
SVENSK-SUOMI Swedish, Finnish
UK United Kingdom
USASCII United States ASCII
Table 6-1. How Alphabetic Class Tests Work With Default Character Set
Test Verifies that each character is …
ALPHABETIC A space or a letter between A and Z or between a and z
ALPHABETIC-UPPER A space or a letter between A and Z
ALPHABETIC-LOWER A space or a letter between a and z
Table 6-2. Additional Characters Accepted by Alphabetic Class Tests With
Nondefault Character Sets
Character Set
ASCII Character (Decimal Value and ASCII Graphic)
64
@
91
[
92
\
93
]
94
^
96 123
{
124
|
125
}
126
~
DANSK-NORSK U U U L L L L
DEUTSCH U U U L L L L
ESPANOL U L
FRANCAIS-QW L L L L L
FRANCAIS-AZ L L L L L
SVENSK-SUOMIUUUUULLLLL
L = This character is ALPHABETIC and ALPHABETIC-LOWER.
U = This character is ALPHABETIC and ALPHABETIC-UPPER.
character-set-type Alphabets (page 2 of 2)










