COBOL Manual for TNS and TNS/R Programs
Environment Division
HP COBOL Manual for TNS and TNS/R Programs—522555-006
6-19
SPECIAL-NAMES Paragraph
position
is an unsigned integer. Its value is in the range 1 through 256 and is the ordinal
position of a character in an alphabet (the first ASCII character has ordinal
position 1, although it is represented by octal 00).
alphabet-name
is an alphabet that includes the character to which you want to assign
symbol-char. The default is USASCII.
This SYMBOL-CHARACTERS clause sets C-RETURN to the carriage return
character, which has ordinal position 14:
SYMBOLIC CHARACTERS C-RETURN IS 14
CLASS Clause
The CLASS clause defines classes other than the NUMERIC, ALPHABETIC,
ALPHABETIC-UPPER, and ALPHABETIC-LOWER that the COBOL language defines.
class-name
is referenced in the program as a class-condition (see Class Conditions).
literal-phrase
specifies a string of characters (literal-1 ) or a range of characters
(literal-1 through literal-2 ) that make up the class you are defining.
CLASS
class-name literal-phrase
IS
VST032.vsd
THRU
THROUGH
literal-1
literal-2
VST033.vsd