DBA > Job Interview Questions > JOB CONTROLL LANGUAGE (JCL) Interview Questions

When should DISP = MOD is used?

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

When should DISP = MOD is used?

DISP = MOD is used to either extend an existing sequential dataset or to create a dataset if it does not exist. If the dataset exists, the records are appended to the dataset at the end of the existing dataset. If the dataset does not exist, the system treats MOD as if it were NEW, provided that the volume parameter has not been used. If the volume parameter is used, the system terminates the job and does not create the new dataset. MOD can be used to add to a dataset that extends onto several volumes. Always specify a disposition of CATLG with MOD for cataloged datasets, even if they are already cataloged, so that any additional volume serial numbers will be recorded in the catalog.

(Continued on next question...)

Other Job Interview Questions