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