HP System Dictionary/XL SDMAIN Reference Manual (32256-90001)

4-100
FORMAT
Defines titles and/or page headers for dictionary reports.
Syntax
F[ORMAT]
[;ALIGN[MENT] = alignment-option ]
[;F[ORMAT]-V[ARIABLE] = format-flag ]
[;P[AGE-]H[EADER] = ["page-header-text "]]
[;TI[TLE] = ["title-text "]]
.
Parameters
alignment-option A valuethatspecifies which alignment option to usewith the output data from thedic-
tionary. Valid choices are:
aligned Aligns all values with respect to the longest value header.
fixed- Aligns all values assuming a fixed
aligned length header of 15 characters. If any value header (attribute name)
is larger than 15 characters, itistruncated at 15 characters and a car-
et (^) is placed in the 16th position to indicate that the name is trun-
cated.
unaligned Alignseachvalue independently,immediately afteritsrespective val-
ue header. The default is to print the values unaligned.
format-flag A value indicating how the text of variable length attributes is formatted. Valid choic-
es are:
on Formats the variable length attribute text before it is printed.
off Does not format the variable length attribute text before it is printed.
The text is printed in the format in which it is stored.
The default is for the text to be formatted. If the text is not formatted and a line will
not fit within the page or screen boundaries,thelinewillwrap-around to the next line.
page-header-text A quoted string that is printed at the top of each page of a report for all output that is
sent to a destination other than the terminal. It uses the following format:
string1; string2; string3
where
string1 is set flush to the left margin string2 is centered on the page string3 is set
flush to the right margin. You can omit any of the strings by leaving them blank. Two
special characters are recognized:
^ substitutes the current date and time
! substitutes an ascending page number
title-text A quoted string thatisprinted on the first page asthe title of the report. It is centered