Previous Topic: Sample Commands for Report 1

Next Topic: Generate a Plot Report Using Variables

Sample Commands and Variables for Report 2

The following commands also generate a report showing the number and percentage of transactions used by each CICS system when there are two. However, in this example, the ID option and identifier CICSID(A1) and the ID option and identifier CICSID(B1) are specified with variables.

TAB DATE TRAN USE                 HDR1(-TOTAL-) HDR2(TRAN USE) AND,
          TRAN USE CICSID(A1)     HDR1(-A1-)    HDR2(TRAN USE) AND,
          TRAN USE CICSID(A1) PCT HDR1(-A1-)    HDR2(% USE)    AND,
          TRAN USE CICSID(B1)     HDR1(-B1-)    HDR2(TRAN USE) AND,
          TRAN USE CICSID(B1)PCT  HDR1(-B1-)   HDR2(% USE)
  EACH DAY
  FROM 12/08/10
  TO   12/09/10
END
RUN

This command generates the following report:

-TOTAL- -A1- -A1- -B1- -B1- DATE TRAN USE TRAN USE % USE TRAN USE % USE -------- -------- -------- -------- -------- -------- 12/08/10 518 150 29.0 368 71.0 12/09/10 6881 1393 20.2 5488 79.8 -------- -------- -------- -------- -------- -------- PERIOD 7399 1543 20.9 5856 79.1 -------- -------- -------- -------- -------- --------