Fixed-length tables

Fixed-length tables are specified using the OCCURS clause.

Because seven subscripts or indexes are allowed, six nested levels and one outermost level of the format-1 OCCURS clause are allowed. The format-1 OCCURS clause can be specified as subordinate to the OCCURS DEPENDING ON clause. In this way, a table of up to seven dimensions can be specified.

Format 1: fixed-length tables

Read syntax diagramSkip visual syntax diagramOCCURSinteger-2TIMESASCENDINGDESCENDINGKEYISdata-name-2INDEXEDBYindex-name-1
integer-2
The exact number of occurrences. integer-2 must be greater than zero.