Previous Topic: SELECT Option-Specify a Time Period for a VariableNext Topic: RATE OPTION-Display a Rate Instead of a Count


RIGHT Option-Shift the Column for a Variable to the Right

Use the RIGHT option to shift the column for a variable to the right. The entire column, including the headings, is shifted.

The RIGHT option has the following syntax:

RIGHT(n)
n

Indicates the number of print columns (spaces) to shift the column to the right.

Example: Shifting Columns

This example specifies the RIGHT variable option with the variable TRAN USE to shift the column to the right. The column appears under the first heading specified with the HEADER command.

HEADER(20,24) ---------TOTAL----------
HEADER(47,26) -------TRAN CSSN--------
TAB DAY TRAN USE RIGHT(8)      AND,
        TRAN LIFE              AND,
        TRAN CPU               AND,
        TRAN USE  TRANID(CSSN) AND,
        TRAN LIFE TRANID(CSSN) AND,
        TRAN CPU  TRANID(CSSN)
 END
RUN

A report like the following is generated:

SHIFT NONE EACH DAY PERIOD NONE ---------TOTAL---------- -------TRAN CSSN-------- TRAN TRAN TRAN TRAN TRAN TRAN WEEKDAY USE LIFE CPU USE LIFE CPU --------- -------- -------- -------- -------- -------- -------- Thursday 1258 205.1 0.032 129 8.756 0.010 Friday 369 175.3 0.028 66 1.773 0.011 --------- -------- -------- -------- -------- -------- -------- PERIOD 1627 198.3 0.031 195 6.393 0.011 --------- -------- -------- -------- -------- -------- --------