Hi,
If you want to read the contents of an individual backup file on a tape,
then you have a choice of FDRABRP or FDREPORT. If you are just wanting
to list the number of backup files on a tape, than any tape mapping
utility will work.
The FDRABRP program specifying PRINT TVTOC can be used to print a list
of the data sets that are in a backup file. If the FDR loadlib is not
in LNKLST, add the necessary STEPLIB to the JCL.
//PRINT EXEC PGM=FDRABRP,REGION=0M
//SYSPRINT DD SYSOUT=*
//ABRMAP DD SYSOUT=*
//TAPE0001 DD DISP=SHR,DSN=backup.dsn
//SYSIN DD *
PRINT TVTOC
/*
The FDRABRP program is shipped with the base FDR product.
If you are licensed for FDRABR or have the FDREPORT product, this can be
used to produce a customized report and summarize the values. Thus, if
you want a count of the number of data sets in a backup file, this can
be done automatically with FDREPORT.
//FDREPORT EXEC PGM=FDREPORT,REGION=0K
//SYSPRINT DD SYSOUT=*
//ABRMAP DD SYSOUT=* <- list of data sets
//ABRSUM DD SYSOUT=* <- summary report
//TAPE0001 DD DISP=SHR,DSN=backup.dsn
//TAPE0002 DD DISP=SHR,DSN=backup.dsn
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
REPORT FIELDS=(DSN)
SUMMARY FIELDS=(VOL,DSN)
PRINT DATATYPE=TVTOC
/*
If there are any questions, on usage of these programs, please contact
Innovation support at [email protected]
[email protected]
Joseph Butz
Technical Support
On 8/14/2014 6:32 AM, mf db wrote:
Hi,
I am looking for a sample JCL on reading FDR backup tape dataset. The
Intent is to read the FDR tape dataset(To identify the Number of Dataset
backups taken).
Does anyone has a similar Examples ? I am just trying to understand the
utility name which can help me to accomplish the task.
FDR 5.4
z/os : 1.13
Peter.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN