How to Restore a DSN for a specific date/time from the FILES information?
book
Article ID: 113728
calendar_today
Updated On:
Products
Disk Backup and Restore - MVSDISK BACKUP AND RESTORE- ADD-ON OPTIODISK BACKUP AND RESTORE
Issue/Introduction
How can we create based on Ca Disk FILES RESTORE order for a specific data set at a specific time?
Environment
Release: SMDI3900200-12.5-Disk-Backup and Restore-for z/OS Component:
Resolution
The best way is to run a LISTD to populate your database using this SYSIN: LISTD DSN=/,DUP, FIELDS=(ARCDT,ATIME,VOLNO,ARKEY,DSNAM) Then from this output using a Rexx or whatever generate based on the specific request the RESTORE command with such SYSIN: RESTORE $AUTORES,DSN=YOURDSN, TIMEDATE=21082017018
Optionally you can rename the restored data set using such SYSIN: RESTORE $AUTORES,DSN=YOURDSN, TIMEDATE=21082017018,NEWNAME=Userid.RESTORE.TEST2018