Multiple choice technology mainframe

How many subscripts or indexes are allowed for an OCCURS clause?

  1. 7

  2. 6

  3. 5

  4. 4

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

COBOL's OCCURS clause can define multi-dimensional arrays with up to 7 dimensions (subscripts/indexes). This limit is part of the COBOL language specification for table handling.