In COBOL file handling, what is the purpose of the "Extend" access mode?

  • It allows sequential reading of records
  • It enables direct access to any record in the file
  • It is used to add new records at the end of a file
  • It is used to open a file for both reading and writing
The "Extend" access mode in COBOL is used to add new records at the end of a file. It is particularly useful when you want to append data to an existing file without overwriting or modifying the existing records.
Add your answer
Loading...

Leave a comment

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