Previous Topic: RUN Command-Begin Processing and Printing ReportsNext Topic: SHIFT Command-Hours Covered for a Report


SELECT Command-Specify Identifiers

Use the SELECT command to specify the identifiers to include in or excluded from a report.

This command is useful in restricting the following types of reports:

This command has the following syntax:

SELECT idoption(identifiers)
idoption(identifiers)

Includes any ID option followed by one or more identifiers of the appropriate type. You can use generic characters when specifying identifiers. Separate multiple identifiers by commas.

Example: SELECT Command

The following commands generate a CICS.TERM.STAT sample report. The SELECT command limits the report to terminals with IDs that do not begin with the letter T.

SELECT TERMID(¬T*)
TAB TERMIDS TERMINAL RESP, 
        AND TERM MESSAGES, 
        AND TERM READS, 
        AND TERM WRITES, 
        AND TERM INPUTSIZE,
        AND TERM OUTPUTSIZE
END
RUN

The following commands generate a tabular report organized by time but not by resource. The SELECT command restricts the report to three transactions, an alternative to specifying the ID option and identifiers TRANID(PAY1,PAY2,PAY3) with each variable.

SELECT TRANID(PAY1,PAY2,PAY3)
 TAB TIME TRAN USE                    AND,
         TRAN USE RATE HDR2(RATE)    AND,
         TRAN USE DIFF HDR2(%CHANGE) AND,
         TRAN I/OTIME                AND,
         TRAN MAXI/OTIME             AND,
         TRAN CPUTIME                AND,
         TRAN ABENDS                 AND,
         TRAN GETMSIZE
  EACH HOUR
END
RUN