Pathway/iTS SCREEN COBOL Reference Manual (H06.10+, J06.03+)

Environment Division
HP NonStop Pathway/iTS SCREEN COBOL Reference Manual426750-003
4-6
SPECIAL-NAMES Paragraph
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:
Field-characteristic clause MUST BE—Range tests are not supported for national
use characters.
Tests that involve collating sequence matters—Any comparison tests, such as less-
than or greater-than relations, are not supported for national-use characters.
SPECIAL-NAMES Paragraph
The optional SPECIAL-NAMES paragraph allows you to select names and to have
those names assigned to certain system names. The paragraph also matches
features of a specific terminal with the words used in the program to refer to those
features. With careful use of the correspondences established in the SPECIAL-
NAMES paragraph, you can remove much of the dependence on terminal type from
the body of the program unit.
The SPECIAL-NAMES paragraph syntax is:
mnemonic-name
is an identifier you select to be associated with a
sys-name
and can be used later
in the Screen Section or the Procedure Division of the program to refer to a
function key or display attribute indicated by
sys-name
.
A list of system names can be equated to a single
mnemonic-name
only if the
system names refer to display attributes that can be combined. This causes the
mnemonic-name
to represent the combination of the display attributes. Except
for terminals in the IBM 3270 family, only highlight display attributes can be
combined.
sys-name
specifies a function key or display attribute available on the terminal. Table 4-1
lists the system names for function keys; Table 4-2 lists the system names for
display attributes.
SPECIAL-NAMES.
[ {
mnemonic-name
IS {
sys-name
} } ,... ]
[ { { ( {
sys-name
} ,... ) } } ]
[ , CURRENCY [ SIGN ] IS
literal-1
]
[ , DECIMAL-POINT IS COMMA ] .