Multiple choice technology mainframe

What is the mode in which you will OPEN a file for writing?

  1. OUTPUT

  2. INPUT

  3. EXTEND

  4. APPEND

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

In COBOL, the OUTPUT mode opens a new or empty file for writing, replacing any existing content. The EXTEND mode opens a file to write records starting at the end of the existing file (appending). INPUT is read-only, and APPEND is not a valid COBOL OPEN keyword.