ContentsIndexPreviousNext

4.1 Environment Division

The Environment Division describes the program's physical environment, primarily through the descriptions of the files it uses.

General Format

  [ [ ENVIRONMENT DIVISION. ]

  [ [ CONFIGURATION SECTION. ]

  [ SOURCE-COMPUTER.  source-computer-entry ]

  [ OBJECT-COMPUTER.  object-computer-entry ]

  [ SPECIAL-NAMES.  [ special-names-entry ] ] ]

  [ [ INPUT-OUTPUT SECTION. ]

    [ FILE-CONTROL. ]  { file-control-entry } ...

  [ I-O-CONTROL.  [ i-o-control-entry ] ] ] ]

Syntax Rules

1. The division header is optional for the Environment Division.

General Rules

1. The Environment Division entries are described in the following sections.