Archive Backup Examples
All examples in this section are found in the JCL library installed with FDR. The member names are EX5120x.
Archive on last reference date for Auto-Recall example
Archive data sets that have not been opened in the last 30 days from two DASD volumes, but only if they are not currently enqueued to any other task. Any data set on those volumes that was marked for archiving by the DISKUPDATE=YES option of the remote queue utility FDRABRUT is also selected. The archived data sets are recataloged for Auto-Recall with MIGRAT as the first or only volume serial. The backup tapes are to be kept for 180 days. A duplicate tape copy (TAPE11) is to be created. DYNARC dynamically allocates the Archive Control File named in the FDR Global Options. At the end of the run, the Archive Control File is backed up as an ABR incremental Volume Backup.
Archive on all online volumes example
Archive data sets on any online DASD volume that has not been referenced in 60 days or that are not cataloged. Any archive requests that were added to the ABRARDQ remote queue data set by the DISKUPDATE=NO option of remote queue is also selected. Any cataloged data sets that are selected by ADAYS=60 or the remote queue are recataloged for Auto-Recall. The ABR Last Tape Option is used; if a previous ABR run used the same LASTAPE DSNAME, ABR mounts the last tape it used and add backup files to it. The backup files are kept for two years (730 days). The backup of the Archive Control File is done by DSF, creating file FDRABR.ARCBKUP at the end of the backup tape.
Archive specified data sets using zEDC compression example
A group of data sets beginning with “ABC” is to be unconditionally archived from DASD volume “TSO123”. However, a subset of the data sets starting with “ABC.DATA” is not to be archived. The ONLVOL option allows ABR to dynamically allocate the DASD volume. All tracks of the data sets including the unused tracks are to be dumped. Two backup copies are created using the Last Tape Option for each; COPY 1 is retained for 120 days while COPY 2 is kept for 365 days (during restore, if COPY 1 has expired, COPY 2 is automatically used). The Archive Control File is not backed up. The archived data sets are not recataloged for Auto-Recall unless you have set ARCRECALL to “YES” in the FDR Global Options (ABR-Options). When creating the backup file, compress it using zEDC (COMPRESS=ALL and ZEDC=YES required).
Simulation example
SIMULATE an archive procedure on a group of DASD volumes whose serials start with “MAST”, to verify that the proper data sets are selected when the Archive is actually run. All data sets larger than 1000 tracks are selected if they are not referenced in 10 days, data sets with 500 to 1000 tracks in 30 days, and all others if they have not been referenced in 60 days.
Archive based on thresholds example
Archive data sets that have not been used in the last 30 days, but only from volumes where the percentage of tracks allocated exceeds a “low threshold” for the volume stored in the ABR Model DSCB or, for SMS-managed volumes, in the SMS storage group. The backup is compressed by tape hardware compression (for example, IDRC). The backup tape files are retained for 365 days, by default.