Previous Topic: PERIOD Command-Specify a TimeNext Topic: PLOT2 Command-Plot Two Variables


PLOT Command-Plot Resource Usage

The PLOT command produces reports that plot resource usage horizontally across time.

This command has the following syntax:

PLOT variable [options] [ALONE] [SCALE({n},{mX})] [CHAR1(x)]) [CHAR2(x)]
variable

Indicates any Report Writer variable.

options

Specifies any valid variable options or ID options. Each ID option you specify must include at least one identifier.

ALONE

Prevents the display of the global (systemwide) value of the variable. To use this operand, restrict the variable with an ID option.

SCALE(n) or SCALE(mX) or SCALE(n,mX)

Overrides the default maximum plot scale.

By default, the highest horizontal axis value of a plot equals the highest value reached by a variable in the plot. Or, for variables representing percentages, 100 percent. To override this dynamic scale, specify n as the maximum value.

If the variable that you use produces integers, n must be an integer. In some cases, bar graphs in a plot report are too short to appear. To display these graphs, you can cause each plot character to appear as m characters by specifying the multiplier mX, where m is an integer. Because the resulting bar graphs no longer correspond numerically to the scale, this graph is useful only for determining relative performance.

CHAR1(x)

Specifies the plot character that represents the restricted variable. Replace x with any valid EBCDIC character.

CHAR2(x)

Specifies the plot character that represents the global variable. Replace x with any valid EBCDIC character.

Example: PLOT Command

The following commands plot the value of the variable TRAN LIFE for transaction CINQ and the value for all transactions. The plot uses a scale of 0 to 500. The character X is used to plot the activity of transaction CINQ and a plus sign (+) is used to plot the activity of all transactions.

PLOT TRAN LIFE TRANID(CINQ) SCALE(500) CHAR1(X) CHAR2(+)
END
RUN

More information:

Plot Reports