When running the Disk™ Backup and Restore MVDICT report with the following SYSIN syntax:
FIND DSN=ABCD./
REPORT MVD
The report shows a final line with the TOTAL DATA SETS number found.
However, if a flat file is produced from the output of that report with one line for each entry reported the, number of lines generated exceeds the TOTAL DATA SETS number.
Release: Disk™ Backup and Restore
The flat file produced most probably shows duplicate dataset names that reside on different volumes. For example:
ABCD.EXAMPLE1.CICS1A.D12345 VOL111 3390 ABCD.EXAMPLE1.CICS1A.D12345 VOL222 3390 ABCD.EXAMPLE2.CICS1A.D12345 VOL111 3390 ABCD.EXAMPLE2.CICS1A.D12345 VOL222 3390
In this example , we have 4 lines in the report, but they actually refer to just two datasets , namely:
ABCD.EXAMPLE1.CICS1A.D12345 ABCD.EXAMPLE2.CICS1A.D12345
The MVDICT report will total on datasets, rather than on number of occurrences of a dataset.
In this example, the MVDICT report may have shown TOTAL DATA SETS 250 while the flat file would have had a count of 252 lines.
Refer the Disk tech guide for the MVDICT report:
"Generate a report (see MVDICT) of data set attributes listed in alphabetic sequence without regard to volume. Allocation data is included for each data set. Multiple volume data sets will appear on the report with one line for each volume they reside on, but note that for the count of 'TOTAL DATA SETS ' - they are counted as one."