Previous Topic: Use ID Options with VariablesNext Topic: Variable Options


Sample Commands

The variable TRAN USE is specified twice in the following example. By default, the column created for each occurrence of this variable would have the heading TRAN USE.

The second occurrence of the variable applies only to the transaction PSPI. Therefore, including the HDR1 and HDR2 operands create the heading TRAN USE FOR TRAN “PSPI” above the column for this variable.

TAB TIME TRAN USE     AND.
         TRAN LIFE    AND,
         TRAN MAXLIFE AND,
         TRAN USE TRANID(PSPI) HDR1(TRAN USE) HDR2(FOR TRAN “PSPI”)
 EACH HOUR
 FROM 12/08/08 12:00:00
 TO   12/08/08 16:00:00
END
RUN

A report like the following is generated:

TRAN TRAN TRAN TRAN USE TIME USE LIFE MAX LIFE FOR TRAN “PSPI” ----- -------- -------- -------- --------------- 12.00 39 515.7 5508 8 13.00 120 124.9 912.5 84 14.00 20 729.7 912.8 0 15.00 20 729.8 912.6 0 ----- -------- -------- -------- --------------- PERIOD 101 323.0 5508 92 ----- -------- -------- -------- ---------------