HELPLIB.HLB  —  COBOL  DATA_DIVISION, clauses  OCCURS  2format DEPENDING
  The OCCURS clause defines tables and provides the basis for
  subscripting and indexing.  It eliminates the need for separate
  entries for repeated data items.

  Format 2 -

   OCCURS min-times TO max-times TIMES DEPENDING ON depending-item

      [ { ASCENDING  } KEY IS {key-name} ... ] ...
      [ { DESCENDING }                       ]

      [ INDEXED BY {ind-name} ... ]
Additional Information: explode extract

min-times max-times
key-name
ind-name
depending-item
Close Help