I need to total all extents for data sets of the DTOC4SYS ('All Data Sets') object. This needs to be able to handle both single and multi-volume data sets.
Vantage MTC-M and Windows Client
Define a summary object with the following parms/settings on the Summary object definition via Wizard (this is the source code definition created by the Wizard):
1. Source object: Data Sets for System (ALL) -- this is the DTOC4SYS object
Sort on DSN, Ascending
Method: VALUE method
Field name is Data Set Name
Data Set Name / FST
Exts / TOT
The most important item for this definition is to use the Data Set Name field as the 'key' for the summarization (and using the 'VALUE' method).
Note: The GENNMBRS parameter has a default of 10,000 records for a summary object, and this value may need to be changed to accommodate up to 999999 records.