In COBOL, which file organization is most suitable for direct access to records by a specific key?
- Dynamic
- Indexed
- Relative
- Sequential
Indexed file organization in COBOL is most suitable for direct access to records by a specific key. It allows for efficient retrieval based on a defined key value, enabling faster data access compared to sequential or relative file organizations.
Loading...
Related Quiz
- When working with variable-length records in COBOL, what additional information is often stored along with the data?
- How do you handle exceptions and errors in the COBOL Procedure Division?
- In the context of indexed file processing, what does an alternate index provide?
- In COBOL, when is the UNTIL condition evaluated in a PERFORM UNTIL loop?
- What is the significance of the USAGE clause when defining data types in COBOL?