Your COBOL program requires accessing records based on a unique identifier. Which file organization type should you implement?
- Indexed
- Line Sequential
- Relative
- Sequential
When accessing records based on a unique identifier, the Indexed file organization is ideal in COBOL. It facilitates direct access to records using the key, optimizing retrieval based on the unique identifier.
Loading...
Related Quiz
- To make a variable accessible across different programs in COBOL, you can use the _____ clause.
- What is the main purpose of error handling in COBOL programs?
- To handle file errors gracefully in COBOL, you can use the _____ clause to specify the procedure to be executed when an exception occurs.
- How are records typically located and accessed in a relative file?
- To minimize disk I/O in COBOL, it's essential to use ____________ techniques for file access.