How to include the amount of data for multi-volume data set parts on other volumes in a CA Disk MVD/SVD Report ?

Document ID : KB000012686
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

The customer looks for a report on the amount of data for data sets that are located on specific volumes. 

The problem with this is, that the report needs to include also the amount of data for those parts of the multi-volume data sets that are not located on the selected volumes. 

 

Sample: 

Volumes to select are VOL010-VOL020. 

One part of the multi-volume data set 'TEST.DATASET' is on VOL014, that means on a selected volume, but 90% of the data set are located on the volumes VOL099 and VOL001, so non not selected volumes. 

However, the report should show the complete size of the multi-volume data set, including the parts on other volumes. 

He tried several reports, but all reports show only the amount of data that is on the selected volumes, VOL010-VOL020. 

Question:

How to include the amount of data for multi-volume data set parts on other volumes in a CA Disk MVD/SVD Report ?

Answer:

Use a catalog-based report (SCAN CATALOGS= or FIND DSN= ) instead of a catalog-based report (SCAN REALVOLS). 

Catalog-based reports will include the information from all volumes the data set resides on for a multi-volume data set if the primary volume is selected.

Additional Information:

As per CA Disk User Guide, Chapter 5: Reports, section General Information: 

The catalog-based reports are formatted identically to the VTOC-based reports; however, the results can differ for multivolume data sets. 

VTOC-based reports will show only the volumes specified in the selection criteria, whereas the catalog-based reports will show all volumes the data set resides on even if the primary volume is the only volume selected.  

 

Here some MVD report samples to illustrate the two options:

 

Given a multi-volume Datei ABC.MULTIVOL located on the volumes VOL011, VOL012, VOL013 and VOL014, also in this volume sequence:

 

1) The VTOC based report via SCAN REALVOLS does only show the data set parts from selected volumes, for example from VOL012 and VOL013: 

 SCAN REALVOLS 

 SELECT DSN=ABC.MULTVOL,VOL=(VOL012,VOL013) 

 REPORT MVD 

 

2) A catalog based report like 

  SCAN CATALOGS=/ 

  SELECT DSN=ABC.MULTVOL,VOL=(VOL011,VOL012) 

  REPORT MVD 

or (even quicker): 

  FIND DSN=ABC.MULTVOL 

  SELECT VOL=(VOL011,VOL012) 

  REPORT MVD 

finds all 4 parts of the multi-volume data set. 

 

3) However, all parts of the multi-volume data set are only found if the primary volume of the multi-volume data set is in the selection list. 

That means for our example data set, if the primary volume (VOL011) of the sample data set is not selected, the data set will not be selected at all: 

  FIND DSN=ABC.MULTVOL 

  SELECT VOL=(VOL012,VOL013) 

  REPORT MVD