How are COBOL group data items different from elementary data items?

  • Group data items are always numeric, whereas elementary data items can be alphanumeric
  • Group data items can contain other data items, including other groups, while elementary data items cannot
  • Group data items cannot have a picture clause, unlike elementary data items
  • Group data items do not support the REDEFINES clause, unlike elementary data items
COBOL group data items differ from elementary data items in that they can contain other data items, including other groups. This hierarchical structure allows for better organization and abstraction in the data design of a COBOL program.
Add your answer
Loading...

Leave a comment

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