In COBOL, the ________ clause can be used with the OPEN verb to specify the file access mode.
- ACCESS MODE
- FILE MODE
- MODE
- OPEN MODE
The ACCESS MODE clause in COBOL is used with the OPEN verb to specify the file access mode. It determines how the program interacts with the file during input and output operations, such as INPUT, OUTPUT, or I-O (input-output).
Loading...
Related Quiz
- _____ variables in COBOL are those whose values are shared among all instances of a program.
- In a COBOL program for an inventory system, you need to calculate the total cost of goods sold (COGS) for a batch of products. Which arithmetic operation should be applied to achieve this?
- In COBOL, what is the primary purpose of the INVALID KEY phrase when using the READ verb?
- What is the primary purpose of the MOVE statement in COBOL?
- In COBOL, to open a file for both reading and writing, you typically use the _____ access mode.