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
- Your COBOL program processes financial transactions, and you need to calculate the balance after a series of deposits and withdrawals. Which arithmetic statement is suitable for this scenario?
- In COBOL file handling, what is the purpose of the "Extend" access mode?
- In COBOL, the REDEFINES clause is often used to share memory space between two data items with different _____
- COBOL allows you to define your own _____ in the Procedure Division to encapsulate specific functionality.
- What is the role of the RETURN statement in the COBOL Procedure Division?