Multiple choice technology programming languages

If DISP parameter is not coded in the DD statement that what is the default value?

  1. DISP=OLD,DELETE,KEEP

  2. DISP=OLD,KEEP,KEEP

  3. DISP=NEW,DELETE,DELETE

  4. DISP=SHR,KEEP,DELETE

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

When the DISP parameter is omitted in a DD statement for a new dataset, the default is DISP=NEW,DELETE,DELETE. This means the dataset is treated as new (NEW), will be deleted if the step abends (first DELETE), and will be deleted after successful step completion (second DELETE).