cobol1.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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─┘
                                    -♦-