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)
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 --------- -------- -------- -------- -------- -------- --------
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |