Previous Topic: EACH Command—Create Reports with Multiple Graphs

Next Topic: GRAF2 Command Restrictions

RANGE Command-Create Reports with a Specified Range

Use the RANGE command to restrict a report to resources whose activity falls within a specified range. The RANGE command is explained in further detail in the chapter “Commands.”

The following commands produce a graph of the lifetime of transactions with an average lifetime of 1.000 second or less. Because the DEFERRED operand is specified with the RANGE command, the range criterion check occurs after all data has been read. The Report Writer can then determine the average lifetime of each transaction.

GRAF TRAN LIFETIME SCALE(1.000)
  FROM 12/08/10 10:00:00
  TO   12/08/10 18:00:00
  RANGE TRAN LIFE 0.000-1.000 DEFERRED
END
RUN

A report like the following is generated:

SHIFT NONE EACH DAY TRANSACTION AVERAGE LIFETIME PERIOD NONE 0 0.100 0.200 0.300 0.400 0.500 0.600 0.700 0.800 0.900 1.000 X +.........+.........+.........+.........+.........+.........+.........+.........+.........+.........+ CSSF .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . . . 0.767 END .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . . . . . . 0.403 VGBR .XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX . . . . . . . 0.371 CSNE .XXXXXXXXXXXXXXXXXXXXX . . . . . . . . 0.211 PSPI .XXXXXXXXXXXXXXX . . . . . . . . . 0.149 POSS .XXXXXXXXX. . . . . . . . . . 0.092 CSAC .XXXX . . . . . . . . . . 0.038 CSPQ .XXX . . . . . . . . . . 0.032 CSGM .XXX . . . . . . . . . . 0.028 +.........+.........+.........+.........+.........+.........+.........+.........+.........+.........+ 0 0.100 0.200 0.300 0.400 0.500 0.600 0.700 0.800 0.900 1.000 X SYMBOLS: “X” = TRANSACTION AVERAGE LIFETIME