The HDB(REPORT) operand requests CICS PA to generate reports from performance HDB data.
CICSPA HDB(REPORT(hdbname),
[OUTPUT(ddname),]
[NOTOTALS|TOTALS(n),]
[INTERVAL(hh:mm:ss),]
[FIELDS(field1[(options)],...),]
[LINECount(nnn),]
[SELECT(PERFORMANCE(INCLUDE|EXCLUDE(field1(values1),...),...)),]
[SELECT2(PERFORMANCE(INCLUDE|EXCLUDE(field1(values1),...),...))])
Specify TOTALS(1) to TOTALS(8) to accumulate subtotals for up to 8 sort fields, print the subtotals when the sort field changes, and print a grand total at the end of the report. Default: TOTALS(8)
Specify TOTALS(0) for no subtotals, but print only the grand total.
Specify NOTOTALS for neither subtotals nor grand total.
A time interval of less than one hour must fit evenly into the hour. CICS PA will round it down to the nearest interval that aligns to the hour. For example, 1.35 is reduced to 00:01:30 minutes which will produce 40 interval report lines for each hour of data.
A time interval of more than one hour must fit evenly into the day. CICS PA will round it down to the nearest interval that aligns to the day. For example, 10.30.23 is reduced to 08:00:00 hours which will produce 3 interval report lines for each day of data.
When reporting from a Summary HDB, the options for specifying fields are similar to the options for a Performance Summary report. For details, seeSUMMARY(FIELDS.
When reporting from a List HDB, the options for specifying fields are similar to the options for a Performance List report. For details, seeLIST(FIELDS.
Only fields that are specified in the HDB Template can be specified. Select Fields not contained in the HDB will cause selection to fail and reporting will skip the record. SELECT and SELECT2 can both be specified to perform record filtering. The CICS PA dialog generates SELECT2 statements in the command deck when you use a Report Form that has active Selection Criteria. If both SELECT and SELECT2 are specified, then the record must pass selection by both specifications for it to be included in the report.