Multiple choice technology mainframe

Which of the following equations are correct?

  1. DISP=(,PASS) is equivalent to DISP=(NEW,PASS,KEEP)

  2. DISP=(, ,KEEP) is equivalent to DISP=(NEW,DELETE,KEEP)

  3. DISP=(, ,CATLG) is equivalent to DISP=(OLD,CATLG,CATLG)

  4. DISP=(OLD, , ) is equivalent to DISP=(OLD,KEEP,KEEP)

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

In JCL, omitting the first DISP subparameter defaults to NEW. Omitting the second subparameter defaults to DELETE (for NEW datasets) or KEEP (for existing ones). Omitting the third subparameter defaults to the second subparameter's value. Thus, DISP=(,,KEEP) resolves to (NEW,DELETE,KEEP), and DISP=(OLD,,) resolves to (OLD,KEEP,KEEP).