COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

Example 32 File-Control Entry for Sort-Merge File
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT SORT-FILE ASSIGN TO "#TEMP".
...
DATA DIVISION.
FILE SECTION.
SD SORT-FILE
RECORD CONTAINS 40 CHARACTERS.
01 SORT-FIELDS.
...
I-O-CONTROL Paragraph
The optional I-O-CONTROL paragraph specifies positioning information for a tape file or the
sharing of a memory area by more than one file. If the I-O-CONTROL paragraph is present, it must
follow the FILE-CONTROL paragraph, because it refers to files established by file-control entries.
Sequential, relative, or indexed file:
Line sequential file:
RERUN clause
NOTE: The 1985 COBOL standard classifies the RERUN clause as obsolete, so you are
advised not to use it.
138 Environment Division