Previous Topic: GROUP Command—Combine ResourcesNext Topic: HPLOT Command—Produce a Horizontal Plot


HEADER Command—Specify a Title

The HEADER command specifies a title to appear in a tabular report above the column headings and to the right of the PERIOD field.

The HEADER command is valid only with tabular reports. You can specify multiple HEADER commands for one tabular report.

This command has the following syntax:

HEADER(nn,mm) text
nn

Defines the print column where you want the first character of your heading to appear. Because headings appear on the same line as the PERIOD field, nn must be 20 or greater.

mm

Defines the length of the heading.

text

Provides the heading you want to appear in your report. Do not use string delimiters.

Note: You can use the RIGHT variable option to shift variable columns to the right so they do not begin before print column 20. Column 20 is where headings controlled by the HEADER command can begin. For more information, see the chapter “Tabular Reports.”

Example: HEADER Command

The following commands create a report showing total transaction statistics, plus statistics on two particular transactions:

HEADER(28,13) -----EXPC----
HEADER(46,13) -----CSSN----

TAB TIME TRAN USE               AND,
 TRAN LIFE              AND,
 TRAN USE  TRANID(EXPC) AND,
 TRAN LIFE TRANID(EXPC) AND,
 TRAN USE  TRANID(CSSN) AND,
 TRAN LIFE TRANID(CSSN)
 FROM 02/03/08 08:00:00
TO   02/03/08 13:00:00
EACH HOUR
END
RUN

The previous commands create a report like the following:

SHIFT NONE EACH HOUR PERIOD NONE -----EXPC---- -----CSSN---- TRAN TRAN TRAN TRAN TRAN TRAN TIME USE LIFE USE LIFE USE LIFE ----- -------- -------- -------- -------- -------- -------- 08.00 97 144.3 37 0.233 11 0.153 09.00 69 176.4 22 0.343 5 0.012 10.00 143 51.17 109 0.070 4 0.494 11.00 93 90.58 29 0.531 21 0.071 12.00 41 178.1 9 0.688 1 0.025 ----- -------- -------- -------- -------- -------- -------- PERIOD 443 111.1 206 0.220 42 0.125 ----- -------- -------- -------- -------- -------- --------