If you have FDREPORT, that can be used to get information such as this
by reading the tape management database (CA 1 & RMM) reporting on all
data sets that were created by HSM (PGM=ARCCTL & PGM=ARCWCTL). Also,
included the selection criteria of creation jobs that begin with HSM in
the event that there are "other" PGM= names.
Sample JCL to run an FDREPORT for RMM is:
//STEP001 EXEC PGM=FDREPORT
//*
//* IF A SB37 ABEND OCCURS, INCREASE THE SPACE= VALUE ON THE
//* EXTRACT STATEMENT.
//*
//SYSPRINT DD SYSOUT=*
//ABRMAP DD SYSOUT=*,DCB=LRECL=148
//ABRCSV DD DSN=temp.file.name,
// STORCLAS=WRKDATA,SPACE=(TRK,(1,1)),DISP=(,CATLG)
//SYSIN DD *
DEF DATAT=RMMD
EXTRACT PROD=RMM,SPACE=(1000)
REPORT F=(TDDSNAME,TDVOLSER,TDAPRSIZ,TDCRPGM,TDCRJOB,TDCRDATE)
XSELECT TDCRPGM.EQ.ARCCTL <= HSM PROGRAM NAME
XSELECT TDCRPGM.EQ.ARCWCTL <= ABARS PROGRAM NAME
XSELECT TDCRJOB.EQ.HSM* <= HSM STC NAME (BEGINS WITH HSM)
SORT FIELD=(TDCRDATE,TDVOLSER),BREAK=YES
PRINT SORTALLOC=YES,RPTYPE=DATA
*
CANCEL SELECT,SORT
SUM FIELD=(TDAPRSIZ,TDCRPGM,TDCRJOB)
PRINT DATATYPE=EXTRACT
*
CANCEL SUM
PRINT DATATYPE=EXTRACT,RPTYPE=CSV
/*
Sample output would look like:
DATA SET NAME VOLSER APPROXSIZE
CREATPGM CREATJOB CRDATE
------------- ------ -----------
-------- -------- --------
SYSPSMS.PERFTEST.C.C01V0001 003106 34103.296K
ARCWCTL HSMABR 2000.020
SYSPSMS.PERFTEST.D.C01V0001 003106 423914.496K
ARCWCTL HSMABR 2000.020
SYSPSMS.PERFTEST.I.C01V0001 003106 0.000K ARCWCTL
HSMABR 2000.020
SYSPSMS.PERFTEST.O.C01V0001 003106 32.768K ARCWCTL
HSMABR 2000.020
HSM.BACKTAPE.DATASET 003154 274104.320K
ARCCTL HSM 2000.047
HSM.BACKTAPE.DATASET 003115 571179.008K
ARCCTL HSM 2000.048
HSM.BACKTAPE.DATASET 003074 571179.008K
ARCCTL HSM 2000.055
...
FINAL TOTALS --
TDAPRSIZ------308439.908M
VALUE SUMMARY OF TDCRPGM --- TOTAL NUMBER OF VALUES-------3
ARCCTL ( 55) ARCWCTL ( 8)
VALUE SUMMARY OF TDCRJOB --- TOTAL NUMBER OF VALUES-------2
TDCRJOB---HSM ( 55) HSMABR ( 8)
The value shown for TDAPRSIZ= is the space used for these data sets on
tape. In this sample report, it's 308,439.908 MB.
Summaries are also shown for the number of tape data sets created by
ARCCTL and ARCWCTL in the tmc.
[email protected]
Joseph Butz
Technical Support
On 5/24/2016 2:23 AM, Mainframe Mainframe wrote:
Hello Group,
We have requirement of calculating the space utilized / consumed by our all
z/OS systems as well as by Tape libraries . Few points
1) I can find with the list of volumes used/allocated by z/OS systems and
this will give me the space given to these system. But how can i find the
exact space consumed by these host from these volume.
2) We are using HSM for backup to tape and I am not finding ways to
calculate the space consumed by these tapes.
Can anybody suggest.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
Email secured by Check Point
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN