FDREPORT SUMMARY Statement


SUMMARY statement

The SUMMARY statement provides summary reports based on the values of various fields reported by FDREPORT. Summary reports are printed on the ABRSUM DD Statement if present, or are interspersed with the generated report on ABRMAP (or SYSPRINT DD Statement if ABRSUM is absent).

There are three kinds of summarization done, depending on the characteristics of the field being summarized. Fields that always have a unique value (such as DSN) simply print a count of the number of unique occurrences encountered. Certain numeric fields (such as SIZEFREE) are totaled. Other character and numeric fields (such as BLKSIZE) report the number of unique values encountered and the count of times that value was found.

Summaries are printed at control breaks (see “BREAK=” in FDREPORT-Tape-Management-Reporting of the SORT statement) and at the end of the report. The final summary contains totals for the entire report; control break summaries contain values since the last control break.

Examples of summaries are shown in the FDREPORT examples.

SUMMARY statement syntax

SUMMARY

FIELDS=(field[,field,…])


,RESET|NORESET

FIELDS=

Specifies one or more fields to be summarized.

The table in FDREPORT-Field-Names documents the available field names. Check the SUMMARY column to see which are supported for summarization and the type of summary that is done.

RESET

NORESET

NORESET

Indicates that these fields should be added to the list of fields currently in effect from preceding SUMMARY statements.

RESET

Indicates that the list of fields on this SUMMARY statement completely replaces the values on any preceding SUMMARY statement.

Default: RESET.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*