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.
Data Description Entry (↑ Statements)
 Key                                       Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Construct:    Data Description Entry
 
  Function:     Reserves and names an area of memory for storing an
                item of data, and describes the data to be stored
                there.
 
  Syntax:       Which format?  Data-name       RENAMES
                               Condition-name   Constant-name
 
                                   ┌───────────────────────┐
                                   ▼                       │
  ─78 constant-name VALUE─┬──┬───value─┬─────────┬─value──────. ─
                            └IS┘         └┬─ + ───┬┘
                                          ├─ - ───┤
                                          ├─ * ───┤
                                          ├─ / ───┤
                                          ├─ AND ─┤
                                          └──OR ──┘
 
  where value is:
 
  ─┬─literal-5─────────────────┬──
    ├─NEXT──────────────────────┤
    ├─LENGTH─┬──┬─identifier-1──┤
    │        └OF┘               │
    └─START─┬──┬─identifier-2───┘
            └OF┘
                                    -♦-