Previous Topic: TRANID ID Option-Specify the Resources to be Included in a Graph

Next Topic: SCALE(n) Operand-Change the Scale of a Graph

FOR Operand-Limit Lines in a Graph

Use the FOR n operand to produce a report on the n resources with the highest or lowest values for the variable being graphed.

Example: FOR Operand

The following commands graph average transaction lifetime by terminal. The FOR operand limits the report to the 20 terminals that have the longest transaction lifetimes. The CHAR1 operand sets the plot character to T. A continuation comma is used to continue the GRAF command to a second line.

GRAF TERMID TRAN LIFETIME,
  FOR 20 CHAR1(T)
 END
RUN

A report like the following is generated:

SHIFT NONE EACH DAY TRANSACTION AVERAGE LIFETIME PERIOD NONE 0 45.47 90.94 136.4 181.8 227.3 272.8 318.3 363.7 409.2 454.7 T +.........+.........+.........+.........+.........+.........+.........+.........+.........+.........+ AF2P .TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT 454.7 BP1P .TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT . . 368.7 N/A .TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT . . . 326.2 0A19 .TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT . . . . . . . 147.4 F015 .TTTTTTTTTTTTTTTTTTTTTT . . . . . . . . 102.2 WA2D .TTTTTTTTTTTTTTTTTTTTTT . . . . . . . . 101.7 F025 .TTTTTTTTTTTTTTTTTT . . . . . . . . . 80.94 ZA00 .TTTTTTTTTTTTTTTTT . . . . . . . . . 77.01 RW1P .TTTTTTTTTTTTT . . . . . . . . . 58.10 F018 .TTTTTTTTTTTTT . . . . . . . . . 58.09 F028 .TTTTTTTTTTTT . . . . . . . . . 56.58 F026 .TTTTTTTTTTTT . . . . . . . . . 55.34 CG1P .TTTTTTTTTTT . . . . . . . . . 49.81 F024 .TTTTTTTTTT . . . . . . . . . 45.27 BP4P .TTTTTTTTTT . . . . . . . . . 44.36 MB1P .TTTTTTTT . . . . . . . . . . 36.87 0A0F .TTTTTTTT . . . . . . . . . . 35.20 MP4P .TTTTTT . . . . . . . . . . 29.41 F041 .TTTTTT . . . . . . . . . . 28.89 4A01 .TTTTTT . . . . . . . . . . 28.84 +.........+.........+.........+.........+.........+.........+.........+.........+.........+.........+ 0 45.47 90.94 136.4 181.8 227.3 272.8 318.3 363.7 409.2 454.7 T SYMBOLS: “T” = TRANSACTION AVERAGE LIFETIME