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.
Loading...
Related Quiz
- In COBOL, what is the primary purpose of the "NOT ON EXCEPTION" clause?
- In COBOL, how can you define a group item containing multiple elementary items?
- What is the purpose of the GLOBAL clause in COBOL for variable declarations?
- The "OCCURS" clause in COBOL is often used in conjunction with variable-length records to specify the maximum _____ of records in a group.
- What is the primary purpose of the COBOL Procedure Division?