Multiple choice technology mainframe

When to use DISP=MOD?

  1. For both sequential and partitioned datasets to be extended or created.

  2. Only for existing datasets to be extended.

  3. For all secured sequential datasets to be extended.

  4. Only for sequential datasets to be extended or created.

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

DISP=MOD is used ONLY for sequential datasets. It opens the dataset for writing at the end, extending it if it exists, or creating it if it doesn't. It CANNOT be used for partitioned datasets (PDS), as they require different handling. Option D correctly states this restriction.