To prevent the DMSAR Automatic Restore of an archived dataset that we want to DELETE using a batch IEFBR14 or the online TSO/ISPF 3.4 menu, CA Disk provides USERMOD9 and in this case, it will be necessary to customize both:
- The TSO exclusion and exemption table (TSOEXMPT)
- The PGM exclusion and exemption table (PGMEXMPT)
per CA Disk Installation Guide and sample source provided in:
As an alternative, only for the IEFBR14 batch program, the IBM SYS1.PARMLIB(ALLOCxx) parameter SYSTEM IEFBR14_DELMIGDS(NORECALL) can be set, according to the following explanation from IBM documentation:
Specifies the system defaults.
Specifies the policy on whether to recall a migrated data set when you use an IEFBR14 JCL program with DD DISP=(x,DELETE) to delete the data set. The recall is, in most cases, unnecessary, because the data set is being deleted anyway.
Indicates that the system is to recall migrated data sets before deletion.
Indicates that the system can delete the data set without first recalling the data set to the primary storage.