Multiple choice technology mainframe

The DISP in the JCL is MOD, the dataset is already available and the program opens the file in OUTPUT mode. What happens ?

  1. Records will be appended at the end

  2. Records will be overwritten

  3. Dataset will be deleted and records will be written by creating a new file

  4. Job will abend

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

When DISP=MOD is specified and the dataset already exists, the file is opened in EXTEND mode for OUTPUT. New records are appended to the end of existing data without overwriting previous content.