COBOL Manual for TNS and TNS/R Programs

Environment Division
HP COBOL Manual for TNS and TNS/R Programs522555-006
6-7
OBJECT-COMPUTER Paragraph
PROGRAM COLLATING SEQUENCE Clause
The PROGRAM COLLATING SEQUENCE clause enables you to specify an arbitrary
collating sequence for use in nonnumeric comparisons and changes the values of the
figurative constants HIGH-VALUE, HIGH-VALUES, LOW-VALUE, and LOW-VALUES.
This clause has no effect on national data items, which are collated in ascending order
of binary value (of the 2-byte pair representing the character).
alphabet-name
is defined in an ALPHABET clause in the SPECIAL-NAMES paragraph. For more
information, see ALPHABET Clause.
SEGMENT-LIMIT Clause
HP COBOL ignores the SEGMENT LIMIT clause except to check its syntax. All
segment-numbers, from 01 to 49, are permanent.
segment-number
must be in the range 1 through 49 but is otherwise ignored.
Note. The 1985 COBOL standard classifies the SEGMENT-LIMIT clause as obsolete, so you
are advised not to use it.
PROGRAM
IS
alphabet-name
COLLATING
SEQUENCE
VST019.vsd
VST020.vsd
segment-number
SEGMENT-LIMIT
IS