Backup (UNLOAD) of the FILES Data Set
search cancel

Backup (UNLOAD) of the FILES Data Set

book

Article ID: 14300

calendar_today

Updated On:

Products

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

Issue/Introduction

How to use GDGs for retention of FILES Backups?

Resolution

The UNLOAD of the contents of the FILES Data Set (FDS) can be unloaded to a disk or a tape file. The simplest method for retaining these backups is with the use of a GDG so that keeping the number of GDS that would be prudent.
 
If UNLOAD is performed to a disk file, then the use of GDG control can be done with no other changes.  
If UNLOAD is performed to a tape file, be aware that "PGM=ADSMI002" is typically specified in most EDM management setups so that Disk will control the release of tapes when expired.  However, since the UNLOAD tapes are not recorded in the FILES data set, Disk itself can not manage the number of, or retention of the UNLOAD backups.  The tapes that fall under EDM management typically are assigned a "never expire" date.
 
To use GDG control to manage the number of UNLOAD tape copies, execute the UNLOAD with this:
//FILEUNLD EXEC PGM=ADSMI000,PARM=ADSDM177,REGION=0M

ADSMI000 is a clone of ADSMI002, so the function (noted by the PARM) is performed, but the tapes created will not be managed by EDM. The DEFINE GDG that you have setup will do the tape management.