Multiple choice technology mainframe

Which mode of opening is required when Re-Write is used?

  1. Update

  2. Open

  3. I-O

  4. Input

  5. Rewrite

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

COBOL's REWRITE verb requires I-O (Input-Output) mode because it must read the existing record before writing the modified version back. Input mode only allows reading, Output mode only allows writing new records, and Update is not a valid COBOL open mode.