COBOL Manual for TNS and TNS/R Programs
Compiler Diagnostic Messages
HP COBOL Manual for TNS and TNS/R Programs—522555-006
47-67
Message List
343 (Error)
Cause. A SORT or a MERGE statement appears in the Declaratives Portion of the
Procedure Division.
344 (Error)
Cause. A reference in an ASCENDING KEY or DESCENDING key phrase identifies a
data item that has a variable size or is referenced by an OCCURS clause.
345 (Error)
Cause. A reference in an ASCENDING KEY or DESCENDING key phrase identifies a
data item defined in the record descriptions of the sort-merge file.
346 (Error)
Cause. The key data item is not completely contained within the shortest possible
record of the sort-merge file.
347 (Error)
Cause. A GIVING phrase specifies an indexed file, but the major sort-merge key does
not have the ASCENDING attribute or does not occupy the same character positions
within the sort-merge file records as the prime key item occupies within the indexed file
records.
Not permitted in declaratives
Key within table or has variable size
Key not found within sort-merge file record
Key not contained within minimum sort-merge file record
Prime record key inconsistent with major sort-merge key