Selection Criteria in Report Forms
In addition to specifying Selection Criteria in Report Sets, Selection Criteria can be used in Report Forms (and also in the History Database; see Performance Selection Criteria). For example, the Sample Report Form BADFILE reports the top 20 Worst File Request transactions. It specifies Selection Criteria (FCTOTAL>0) to ensure only transactions that use File Control services are considered for reporting.
Report Form Selection Criteria specification has two benefits:
- Only transactions that use File Control Services (the focus of this Report Form) are selected.
- CICS PA only processes (sorts) selected records, significantly reducing the time and overhead of generating the report.
Report Set and Report Form Selection Criteria can be used together:
- Report Form Selection Criteria typically focuses on the
type of data being reported. For example, if your Form is targeting
File Control activity then its Selection Criteria can specify FCTOTAL>0
to include only transactions that used File Control services.
Report Set Selection Criteria generates batch commands using the SELECT operand.
- Report Set Selection Criteria typically focuses on the
application targeted by the Form. For example, if the Report is targeting
MY application then its Selection Criteria can specify TRAN = MY*
to include only transactions in MY application.
Report Form Selection Criteria generates batch commands using the SELECT2 operand.
CICSPA SELECT(PERF(INCL(TRAN(MY*)))),
SELECT2(PERF(INCL(FCTOTAL(>0)))),...
Both SELECT
and SELECT2 must match for the record to be processed.