How to generate an HSM backup data size Report

Source: Internet
Author: User
Tags backup

HSM does not directly display a command to backup the dataset size when managing host backup data. This article uses a series of HSM commands combined with Dfsort to filter out the backup dataset name and ultimately output the size of the backup dataset to facilitate storage administrators to adjust host data management policies.

Please note: The HSM experimental environment used in this article is relatively simple, and the HSM backs up fewer datasets (around 5,000 datasets). In a real-world environment, HSM can have a lot of data sets backed up.

Step 1, use the list BCDs command to list all backed-up dataset information.

Reference job Step:

S1LSTBCD EXEC pgm=ikjeft01

Systsprt DD sysout=*

Systsin DD *

Hsend LIST dsname BCDs ODS (JACKYZ1. Dfhsm. D130606. BCDS)

//*

Explanation of the Order:

Hsend-Enter HSM command from TSO Terminal

List-Lists the appropriate information from MCDS, BCDs, or OCDs

DSName-Listing Data set information

BCDs-Backup Data set

ODS (JACKYZ1. Dfhsm. D130606. BCDS)-The output dataset name after the list command is executed. JACKYZ1 is the TSO USERID used in this article, the user can change the appropriate output dataset name according to the actual situation.

After running, the list of backed-up datasets is exported to JACKYZ1.DFHSM.D130606.BCDS. The output format is as follows Figure 1-1:

Figure 1-1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.