Function
The INPUT-OUTPUT SECTION deals with the following:
the definition of each file used in the program,
the assignment of these files to external devices, and
the transmission and handling of data between external devices and the object program.
The INPUT-OUTPUT SECTION is divided into two paragraphs:
the FILE-CONTROL paragraph, which names the files used in the program and assigns them to external devices, and
the I-O-CONTROL paragraph, which defines special input/output techniques.
Format
INPUT-OUTPUT SECTION.
FILE-CONTROL. {file-control-entry}...
[I-O-CONTROL. [input-output-control-entry]]
Syntax rules
The entire INPUT-OUTPUT SECTION is optional. If the INPUT-OUTPUT SECTION is defined, the FILE-CONTROL paragraph must also be specified.
The INPUT-OUTPUT SECTION may not be within an interface definition.