Multiple choice technology mainframe

When the WRITE Statement for a SAM File is executed, the associated SAM File must be opened in

  1. OUTPUT or EXTEND Mode

  2. OUTPUT Mode

  3. I-O Mode

  4. OUTPUT, I-O or EXTEND Mode

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

SAM files can be written in OUTPUT mode (creates new or replaces existing), I-O mode (allows both reading and updating), or EXTEND mode (adds records to end of existing file). All three modes permit WRITE operations. INPUT mode only allows reading. The question asks which modes must be opened for writing, making D correct.