Multiple choice technology mainframe

How many dimensions are allowed for a table?

  1. 4

  2. 5

  3. 6

  4. 7

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

COBOL allows up to 7 dimensions for a table (multi-dimensional array). This is defined by using multiple OCCURS clauses at different levels in the data description. Each OCCURS clause adds another dimension, and the language specification permits a maximum of 7 such nested dimensions.