In COBOL, what is a "multidimensional array" in the context of the OCCURS clause?

  • An array with a DEPENDING ON clause
  • An array with a fixed number of elements
  • An array with multiple dimensions defined using nested OCCURS clauses
  • An array with varying sizes for each dimension
In COBOL, a "multidimensional array" is created by using nested OCCURS clauses, allowing the definition of arrays with multiple dimensions. This provides a structured way to organize and access data in a table-like structure.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *