In the context of COBOL file handling, what is "read-ahead" and how does it contribute to performance improvement?

  • It reads multiple records in advance to reduce I/O wait time
  • It reads records from the end of the file first
  • It reads records sequentially for faster processing
  • It skips unnecessary records during reading
"Read-ahead" in COBOL involves reading multiple records in advance and buffering them in memory, reducing I/O wait time and enhancing performance by minimizing the need for repeated disk access.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *