Multiple choice technology mainframe

DISP=(NEW,,KEEP) - what will happen if the job goes fine?

  1. CATLG - Dataset will be cataloged

  2. DELETE - Dataset should be deleted

  3. PASS - Dataset might be passed subsequent job step in the same job

  4. KEEP - Dataset will be retained

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

DISP=(NEW,,KEEP) means: NEW status, normal disposition (blank = default), and KEEP for abnormal termination. When the job completes normally, the default disposition applies. The default disposition for a NEW dataset in JCL is DELETE (CATLG would require explicit specification). Therefore, a successful run results in deletion. PASS is for passing to subsequent steps, KEEP only applies on abend.