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.
Loading...
Related Quiz
- A subprogram can have its own _____ section for local data.
- What is the purpose of the "RESUME" statement in error recovery strategies?
- What is the purpose of the REDEFINES clause in COBOL?
- The _____ statement in COBOL is used for looping and repetition.
- When using the "I-O" access mode, what operations can be performed on a file?