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

Input-Output Section
COBOL programs typically handle large amounts of data, stored on such devices as disks and
magnetic tapes. Before a program can use the stored data, the operating system file names must
be linked to COBOL file names. You connect the names in file-control entries in the Input-Output
Section.
Topics:
FILE-CONTROL Paragraph
I-O-CONTROL Paragraph
RECEIVE-CONTROL Paragraph
FILE-CONTROL Paragraph
If the FILE-CONTROL paragraph is present, it must be the first paragraph in the Input-Output Section.
file-control-entry
has different syntax for sequential, line sequential, relative, indexed, queue, and sort-merge
files. See the appropriate topic.
Topics:
File-Control Entries in General
File-Control Entries for Sequential Files
File-Control Entries for Line Sequential Files
File-Control Entries for Relative Files
File-Control Entries for Indexed Files
File-Control Entries for Queue Files
File-Control Entries for Sort-Merge Files
File-Control Entries in General
The file name of every data file and every sort-merge file described in the Data Division must
appear exactly once in the SELECT clause of a file-control entry. Likewise, every file name that
appears in the SELECT clause of a file-control entry must also appear in a corresponding data file
Input-Output Section 115