The OCCURS clause in COBOL is primarily used to define ____________.

  • A repeating group of data items
  • A single data item
  • A subroutine
  • An index
The OCCURS clause in COBOL is used to define a repeating group of data items. It allows you to create arrays or tables where a data item occurs multiple times.
Add your answer
Loading...

Leave a comment

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