You are designing a COBOL program to process sales data. Which type of COBOL data item would you use to group related sales information, such as product code, quantity sold, and total sales amount?

  • GROUP
  • JUSTIFIED
  • OCCURS
  • REDEFINES
In COBOL, the GROUP data item is used to structure related data fields together. It allows you to group multiple elementary items under a single name, facilitating the organization of data, such as grouping sales details like product code, quantity, and total sales amount.
Add your answer
Loading...

Leave a comment

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