When to use DISP=MOD?
-
For both sequential and partitioned datasets to be extended or created.
-
Only for existing datasets to be extended.
-
For all secured sequential datasets to be extended.
-
Only for sequential datasets to be extended or created.
DISP=MOD is a specific dataset disposition parameter. Option D is correct because MOD is used ONLY for sequential datasets - it positions at the end and allows appending data. MOD cannot be used with partitioned datasets (PDS) because PDS has internal directory structure that MOD doesn't support. Option A is incorrect because MOD doesn't work with partitioned datasets. Option B is incorrect because MOD can also CREATE new datasets if they don't exist. Option C is incorrect because MOD has nothing to do with dataset security (that's determined by RACF/ACF2/Top Secret). MOD is purely about sequential data set extension.