Which data types can the OCCURS clause be applied to in COBOL?

  • Group items and elementary items
  • Only alphabetic data types
  • Only elementary items
  • Only numeric data types
The OCCURS clause in COBOL can be applied to both group items and elementary items. It allows the definition of repeating data structures for both simple and complex data types, providing flexibility in handling repeated data.
Add your answer
Loading...

Leave a comment

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