COBOL Manual for TNS/E Programs (H06.08+, J06.03+)
The most common use for CODE-SET EBCDIC is for reading or writing tapes for interchange
with an EBCDIC-based system.
• Restrictions Established by the CODE-SET Clause
When the CODE-SET clause appears, it places these restrictions on all data items defined in
the record description entries associated with the file description entry:
◦ Some SIGN SEPARATE clause must apply to every signed numeric data item
◦ Every data item must be USAGE DISPLAY.
REPORT Clause
HP COBOL does not support the report-writing feature of ISO/ANSI COBOL. If the REPORT clause
is present, the compiler checks it for syntactic validity and reports an error.
report
is irrelevant.
Sort-Merge File Description Entries
Each SORT or MERGE operation refers to a sort-merge file. The sort-merge file description (SD)
describes the size, structure, and names of data records in a sort-merge file.
A sort-merge file description must begin with sort-merge file description followed by a file name.
The optional clauses can follow in either order. A period ends the whole entry. One or more record
descriptions must then follow. No input-output statements can be executed for this type of file. The
system-file-name specified in the file-control entry associated with this file identifies the
sort-merge scratch file or volume.
file-name
is the highest qualifier for both the sort-merge file description entry and its records. It must be
unique within the program.
RECORD CONTAINS clause
File Section 173










