The following examples illustrate the use of SELECT as a report-level
operand associated only with the particular report or extract it is
coded with. Report-level SELECT statements take precedence over any
global SELECT statements.
- This example shows SELECT used as a suboperand to the LIST operand.
The Performance List report will only contain performance class records
from transactions TRA1 and TRA2 that were attached from terminal TRM1.
CICSPA LIST(SELECT(PERFORMANCE(INCLUDE(TERM(TRM1),TRANS(TRA1,TRA2)))))
- This example shows SELECT used as a suboperand to the LIST operand.
The Performance List report will only contain performance class records
which have the value ADD in the character user field TESTFUNC.
CICSPA LIST(SELECT(PERFORMANCE(INCLUDE(
CHARACTER(OWNER(TESTFUNC),SUBSTR(1,3),
VALUE(ADD))))))
- This example shows SELECT used as a suboperand to LISTEXCeption.
The Exception List report will only contain the exception class records
from transactions TRA1 and TRA2 that were attached from terminal TRM1.
CICSPA LISTEXC(SELECT(EXCEPTION(INCLUDE(
TERM(TRM1),TRANS(TRA1,TRA2)))))