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-7
Literals
User-Defined Words
A user-defined word can consist of any of the following characters:
•
The letters A through Z
•
The digits 0 through 9
•
Hyphen (-)
A user-defined word must begin with a letter of the alphabet, must not begin or end with
a hyphen, and must not contain embedded spaces. User-defined words are used for the
following types of items:
•
Procedure name
•
Data name
•
Mnemonic name
•
Condition-name
•
Program name
•
Library name
•
Text name
System Names
A system name is a SCREEN COBOL word that identifies part of the Guardian
operating environment. System names are defined for equipment and operating system
access. Use of each system name is restricted to a specific category, such as terminal
function key or display attribute.
Literals
A literal is a character string whose value is specified either by a set of characters or by
a reserved word that represents a figurative constant. A literal is numeric or
nonnumeric.
Numeric Literals
A numeric literal is one or more digits (0 through 9), a plus or minus sign, and an
optional decimal point. The value of the literal is the value of the digits. The following
rules apply to numeric literals:
•
A numeric literal can have a maximum of 18 digits.
•
One sign character is allowed and must be the first character. The absence of a sign
character indicates the literal is a nonnegative number.
Note. A user-defined word cannot contain double-byte characters.