Previous Topic: LOGICAL Option

Next Topic: MAXDATE and MAXTIME Options

MAX and MIN Options

The MAX and MIN options forces a variable that by default prints a count or an average to print the minimum or maximum value.

The MAX and MIN options have the following syntax:

MAX[=idoption]
MIN[=idoption]
idoption

Includes any ID option valid for the variable. The values produced by the MAX and MIN options are largely dependent on the structure of the data records. Use this operand to control how the values are computed.

Examples: MAX and MIN Options

The following examples use the MAX and MIN options:

TRAN LIFE MAX
TRAN LIFE MIN
DATASET USE MAX=TRANNUM

TRAN LIFE is defined as the average transaction lifetime. TRAN LIFE MAX prints the maximum transaction lifetime. TRAN LIFE MIN prints the minimum transaction lifetime.

DATASET USE is defined as the number of file requests. DATASET USE MAX=TRANNUM prints the maximum number of file requests for any single transaction number.