When should you use the "Output" file access mode in COBOL?

  • To perform both read and write operations on the file
  • To read records sequentially from the file
  • To update records in the file
  • To write records to the file
The "Output" file access mode in COBOL is used when you want to write records to the file. It allows the program to add new records to the file but does not allow reading or updating of existing records.
Add your answer
Loading...

Leave a comment

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