cobol1.hlp (Topic list)
Environment Division (↑ Statements)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Construct:    Environment Division
 
  Function:     Links names used in the program to external objects
                and selects options of the COBOL environment.
 
  Syntax:
 
     ───ENVIRONMENT DIVISION.─────
 
     ┬───────────────────────────────────────────────────────────────────1
      └─CONFIGURATION SECTION┬───────────────────────────────────────────┬2
                             └─SOURCE-COMPUTER.─┬───────────────────────┬┘
                                                └─source-computer-entry─┘
 
    2┬────────────────────────────────────────────┬─────────────────2
      └─OBJECT-COMPUTER.─┬───────────────────────┬─┘
                         └─object-computer-entry─┘
 
    1───────────────────────────────────────────┬───────────────────
    2┬────────────────────────────────────────┬─┘
      └─SPECIAL-NAMES.─┬─────────────────────┬─┘
                       └─special-names-entry─┘
 
     ┬─────────────────────────────────────────────────────────────1
      │                                     ┌─────────────────┐
      │                                     ▼                 │
      └─INPUT-OUTPUT SECTION. FILE-CONTROL. file-control-entry──────2
 
    1────────────────────────────────────────────────┬─────────────
    2┬─────────────────────────────────────────────┬─┘
      └─I-O-CONTROL.─┬────────────────────────────┬─┘
                     └─input-output-control-entry─┘
                                    -♦-