In a COBOL application, you need to process a large transaction log file sequentially. Which file organization would be most appropriate for this scenario?
- Indexed
- Line Sequential
- Relative
- Sequential
For processing files sequentially, the Sequential file organization is the most appropriate in COBOL. It allows reading records in the order they appear in the file, which is efficient for large transaction log files.
Loading...
Related Quiz
- What are the primary considerations when handling duplicate records in VSAM or ISAM files in COBOL?
- In COBOL, the "ELSE" clause is executed when the condition in the "IF" statement is _____
- Which COBOL file access mode is commonly used with VSAM and ISAM files when data can be both read and written?
- What is parameter passing in subprograms, and why is it important?
- What is the main entry point of a COBOL program?