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.
File-Control Entry (↑ Statements)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Construct:    File-Control Entry (SELECT)
 
  Function:     Assigns names to files, for use in the program,
                and describes the files.
 
  Syntax:       Which format?  Sequential  Relative
                               Indexed      Sort-Merge
 
  ───SELECT file-name────
 
                ┌──────────────────────────────────────┐
                ▼                                      │
  ─ASSIGN─┬──┬─┬──────────┬─┬─external-file-reference─┬──────
           └TO┘ ├─EXTERNAL─┤ ├─data-name-1─────────────┤
                └─DYNAMIC──┘ └─literal-1───────────────┘
 
  ─┬─────────────────────────────────┬───────────────────────
    └┬─SORT─┬─STATUS─┬──┬─data-name-2─┘
     └─FILE─┘        └IS┘
                                    -♦-