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

In modern COBOL standards (COBOL 85 and later), an OCCURS clause can be nested up to 7 levels, allowing up to 7 subscripts or indexes. Older standards (COBOL 74) restricted this limit to 3.