How 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.
search cancel

How 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.

book

Article ID: 10399

calendar_today

Updated On:

Products

Disk Backup and Restore - MVS DISK BACKUP AND RESTORE- ADD-ON OPTIO DISK BACKUP AND RESTORE

Issue/Introduction

CA Disk provides a native Auto Restore function that initiates the DMSAR started task each time a data set under its archive control is referenced. The DMSAR task restores the requested data set while the requester (an online user or a batch job) waits.



CA Disk provides a native Auto Restore function that initiates the DMSAR started task each time a data set under its archive control is referenced. The DMSAR task restores the requested data set while the requester (an online user or a batch job) waits. When the restore is complete, the DMSAR task terminates.

By default, the Auto Restore function is always issued when the archived dataset is referenced into a batch job or online under TSO/ISPF, even if there are actions, like the DELETE, which don’t really need to have the dataset restored before its deletion.

So, it can be useful to know how 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.

 

 

Environment

CA DISK

Resolution

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:

- CCUWJCL(USERMOD9)

- CCUWSAMP(TSOEXMPT)

- CCUWSAMP(PGMEXMPT)

 

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:

 

SYSTEM: 

Specifies the system defaults.

 

IEFBR14_DELMIGDS=LEGACY|NORECALL 

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.

 

LEGACY

Indicates that the system is to recall migrated data sets before deletion.

 

NORECALL

Indicates that the system can delete the data set without first recalling the data set to the primary storage.