Which file organization in COBOL allows for both sequential and random access to records?
- Dynamic
- Indexed
- Relative
- Sequential
Indexed file organization in COBOL allows for both sequential and random access to records. While records can be read sequentially, the presence of an index allows for direct access based on a key, providing flexibility in record retrieval.
Loading...
Related Quiz
- The LEVEL NUMBER in COBOL indicates the ________ of the data item.
- When reading variable-length records in COBOL, the "LENGTH OF" clause can be used to determine the _____ of the currently processed record.
- The COBOL SORT statement requires the use of an _____ PROCEDURE to perform actions on records during the sorting process.
- When dealing with large datasets, how can you minimize the impact of disk I/O on performance in COBOL?
- In COBOL, what is the role of the SORT statement when handling duplicate records?