Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

INPUT-OUTPUT SECTION

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

  1. The entire INPUT-OUTPUT SECTION is optional. If the INPUT-OUTPUT SECTION is defined, the FILE-CONTROL paragraph must also be specified.

  2. The INPUT-OUTPUT SECTION may not be within an interface definition.