Obtaining statistical information about DFSMShsm operations

You can use the REPORT command to obtain statistics about DFSMShsm’s operations. You can report the statistics on either a daily basis for all volumes or a volume basis for specific volumes. You can restrict the scope and format of the statistics reported to the backup, deletion of data sets, migration, recall, recovery, recycle, and spill functions. You can restrict the beginning date of the statistics or the dates between which the statistics are reported. You can also restrict the report to a summary of the statistics.

To report daily statistics about data sets that are backed up and to send the report to a DASD data set, issue the following command:
REPORT DAILY FUNCTION(BACKUP) OUTDATASET(dsname)
To obtain daily statistics about all functions, issue the following command:
REPORT DAILY FUNCTION

The report is sent to the SYSOUT class specified with the SETSYS command.

To obtain volume statistics for all volumes and to send the report to SYSOUT class A, issue the following command. This report also includes the total number of times that a fast replication backup was successfully created for a volume and the number of failed attempts for the volume. Recover statistics that are associated with the fast replication operation are also reported.
REPORT VOLUME FUNCTION SYSOUT(A)
To obtain volume statistics for one volume about migration between two dates and delete the statistics records after the report is printed, issue the following command:
REPORT VOLUME(volser FUNCTION(MIGRATION) -
   FROMDATE(date) TODATE(date) DELETE
After you have formatted a report, you can free the space allocated for the statistics that made up the report. To clean up unneeded report statistics, do one of the following:
  • Issue the DELETE parameter of the REPORT command. DFSMShsm deletes the statistics records (used as input for the report) after the REPORT command finishes its processing. For example, if you allocate one additional cylinder for the accumulation of statistics and control records for one week, issue the DELETE parameter of the REPORT command once a week.
  • Specify how often DFSMShsm deletes MCDS data set records and statistics records with the MIGRATIONCLEANUPDAYS(recalldays statdays) parameter of the SETSYS command. The cleanup of these records occurs as a part of secondary space management.

Related reading