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.
Sort-Merge File Description Entry (↑ Statements)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Construct:    Sort-Merge File Description Entry (SD)
 
  Function:     Gives further details of a Sort-Merge file (in addition
                to the information in the File-Control paragraph) and
                begins the descriptions of its record layouts.
 
  Syntax:
 
  ───SD file-name-1─────────────────────────────────────────────────────
 
  ─┬─────────────────────────────────────────────────────────────┬───────
    └─BLOCK─┬────────┬─┬──────────────┬──integer-2─┬─RECORDS────┬─┘
            └CONTAINS┘ └─integer-1 TO─┘            └─CHARACTERS─┘
 
  ─┬───────────────────────────────────────────────────────────────────┬─1
    └─RECORD─┬┬────────┬─integer-3─┬──────────┬─────────────────────────┤
             │└CONTAINS┘           └CHARACTERS┘                         │
             ├┬────────┬─integer-4 TO integer-5─┬──────────┬────────────┘
             │└CONTAINS┘                        └CHARACTERS┘
             └┬──┬─VARYING─┬──┬┬────┬─────────────────────────────────────2
              └IS┘         └IN┘└SIZE┘
 
 1─────────────────────────────────────────────────────────────────────┬─
 2┬───────────────────────────────────────────────┬─┬─────────────────┬┘
   └┬─────────────────┬┬──────────────┬┬──────────┬┘ │                 │
    └┬────┬─integer-6─┘└─TO integer-7─┘└CHARACTERS┘  │                 │
     └FROM┘                               ┌──────────┘                 │
                                          └─DEPENDING─┬──┬─data-name-1─┘
                                                      └ON┘
 
  ─┬────────────────────────────────────┬────────────────────────────────
    │                       ┌──────────┐ │
    │                       ▼          │ │
    └─DATA─┬─RECORD─┬──┬──┬─data-name-2──┘
           │        └IS┘  │
           └─RECORDS─┬───┬┘
                     └ARE┘
 
  ─┬─────────────────────────────────────────┬───────────────────────────
    │                                         │
    └─VALUE OF FILE-ID─┬──┬─┬─data-name-2─┬───┘
                       └IS┘ └─literal-1───┘
 
  ────. ───
                                    -♦-