cobol1.hlp (Topic list)
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┘
                                    -♦-