Create a report of the files backed up in the last 24 hours.
search cancel

Create a report of the files backed up in the last 24 hours.

book

Article ID: 15931

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 create a report of the files backed up in the last 24 hours?

Resolution

The information about when a backup is taken is contained in the DSNINDEX records that are created for each Backup or Archive. Please check the following options to create a report on recent Backups:  

1) Disk RECOVER in SIMULATE Mode
Run a RECOVER in SIMULATE mode with corresponding SELECT statements, here is a sample JCL:

//STEP01  EXEC FMS                                     
//SYSIN     DD *                                       
   SET MODE=SIMULATE                                   
   SCAN DSNINDEX                                       
   SELECT DSN=abc./,                               
     CRITERIA=(ARCDT,GE,TODAY-1,                       
          AND,ARCTYPE,EQ,BACKUP)                       
   RECOVER                                             
/*

Unfortunately, there is no similar option to check ARCTIME against the current time, like there is with TODAY for ARCDT. So with the above sample a list of all Backups created since yesterday 00:00, not just 24h back.

2) Vantage GUI view "DSNINDEX Records"
If the customer has CA Vantage, the best option would be to use the Vantage GUI view "DSNINDEX Records (DMSINDEX)"  that is located in the GUI tree under 
=> Backup and Archive Management
 => CA Disk 
  => DSNINDEX Records

Use the following filter to get the same result as in the RECOVER sample above: 
 "Data Set Name" INCL  abc./  AND  "Archive Dt" >  TODAY-1  AND  "Scr" =  N

Note: 
"Scr" =  N excludes the data sets scratched for ARCHIVE processing, leaving the BACKUP entries. A list of all Backups created since yesterday 00:00 are displayed, not just 24h back.