In COBOL, to open a file for both reading and writing, you typically use the _____ access mode.
- EXTEND
- I-O
- INPUT
- OUTPUT
The I-O (Input-Output) access mode in COBOL is used to open a file for both reading and writing operations. This allows the program to perform a combination of read and write operations on the same file.
Loading...
Related Quiz
- What is the primary purpose of using the PERFORM statement in COBOL?
- When implementing exception handling in COBOL, the _______ statement is used to propagate an exception to higher-level routines.
- In COBOL, what are the advantages of using subprograms?
- How does the ON EXCEPTION condition handler differ from the WHEN condition handler in COBOL?
- What is a cursor in COBOL when dealing with database operations?