In a COBOL program for managing employee records, you need to represent each employee's details, including name, ID, and salary. Which type of COBOL data item would be most appropriate for this purpose?

  • GROUP
  • JUSTIFIED
  • OCCURS
  • REDEFINES
The GROUP data item in COBOL is suitable for representing a collection of related data fields. In the context of managing employee records, you can use GROUP to organize details such as name, ID, and salary under a single structure, making it convenient to manage and access employee information.
Add your answer
Loading...

Leave a comment

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