Examples: Using SELECT as a report or extract suboperand

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.
  1. 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)))))
  2. 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))))))
  3. 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)))))

Information Information

Feedback


Timestamp icon Last updated: Saturday, 8 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///users-guide/cpaug208.htm