Previous Topic: PerCenT OptionNext Topic: SELZERO Option


RATE Option

Use the RATE option to display a rate (number per second, minute, hour, day, or week) rather than a count. You can use the RATE option only with variables that represent a count.

The RATE option has the following syntax:

RATE[(period [, WEIGHTED] [type])]
period

Defines the time interval to base the rate upon. Specify one of the following:

(Default) RPTINT

Calculates the rate based on the reporting interval.

SYSINT

Calculates the rate based on the interval of the main system record, accounting only for the time CA SYSVIEW was active logging data.

[nn] interval

Calculates the rate based on the interval specified. The value of nn can be 1 through 99; the default is 1. Replace interval with SECONDs, MINUTEs, HOURs, DAYs, or WEEKs.

WEIGHTED

Prints rates based only on those intervals that show activity for the specified variable.

type

Specify one of the following:

COUNT-Prints the number of active intervals.

MAX-Prints the maximum value for any one interval.

MAXDATE-Prints the date of the interval during which the maximum value occurred.

MAXRATE-Prints the maximum rate for any one interval.

MAXTIME-Prints the time of the interval during which the maximum value occurred.

Examples: RATE Option

The PLOT command plots the use of the transaction CINQ against the total system transaction use. The PLOT2 command plots the transaction rate for CINQ compared to the total system transaction rate:

PLOT  TRAN USE      TRANID(CINQ)
PLOT2 TRAN USE RATE TRANID(CINQ)
  EACH HOUR
END
RUN

These commands create a tabular report showing the hourly transaction rate (average number per hour) each day:

TAB DATE TRAN USE RATE(1 HOUR)
  EACH DAY
END
RUN

These commands create a tabular report showing the highest hourly transaction rate for each day:

TAB DATE TRAN USE RATE(1 HOUR,MAXRATE)
  EACH DAY
END
RUN