The Data Division clauses used for table handling are the OCCURS clause and USAGE IS INDEX clause. For the USAGE IS INDEX description, see "USAGE Clause" in topic 5.3.16.
The OCCURS clause specifies tables whose elements can be referred to by indexing or subscripting. It also eliminates the need for separate entries for repeated data items.
Formats for the OCCURS clause include fixed-length tables or variable-length tables.
The subject of an OCCURS clause is the data-name of the data item containing the OCCURS clause. Except for the OCCURS clause itself, data description clauses used with the subject apply to each occurrence of the item described.
Whenever the subject of an OCCURS clause or any data-item subordinate to it is referenced, it must be subscripted or indexed with the following exceptions:
When not subscripted or indexed, the subject represents the entire table.
The OCCURS clause cannot be specified in a data description entry that:
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.