When a job creates a gen dataset and the job abends, the entry is left in the VTOC. The operator restarts the job, and then gets the CADD036D PERMANENT FILE message forcing the operator to respond. Is there anyway to force a default delete?
Yes, turn on Dynam D MODON 2 to bypass the CADD036D message (do automatic delete) during allocation.
This option can be found on Screen CAYD-1115, in the Dynam D options in CUI.
Set "Disable date-protection during allocation " to ON.
After the update, press PF10 (default refresh setting) to update the options in storage.
Run a CAISERV and verify that the Dynam D options show MODON=(...2...) plus any others you may have set.