This KD will show how to get a report of Archive or Backup records from the FILES data set.
Component: Disk
The LISTD simply displays the raw tech info about the data sets Disk has processed.
The detail of whether the DSNINDEX record is of a backup or archive is encoded in
the Flag bytes and bits.
See the User Guide, topic: LISTD Flags
In the first flag byte, a value of x'80' or higher means that record is of an Archive.
Another method is to run a LISTD with these parms:
LISTD FIELDS=(DSNAM,FLGSC)
DSNAM -- Fully qualified data set name
FLGSC -- FLAG1 BIT 0—Scratched
All the FIELDS that can be specified are listed in the User Guide
topic: Possible Values for LISTD FIELDS= Parameter
Now, there is something easier:
Vantage or GMI provides a simpler way to list the object records with simple Y or N values
for each data set making it much easier to see and Filter to get the info you want.
In the Object tree go to: Backup and Archive Mgmt. / Disk / Dsnindex Records [object DMSINDEX].
Look for the column, "Scr" [Scratched].
'N' means that record is for a Backup of the data set
'Y' means that record is for an Archive of the data set.
If you need to customize Vantage or GMI for Disk, go here: