Column format (REPORT command)
The following options can be used to specify column width and adjust the position of the column contents:
(width). Width for
the report column. If no width is specified for a variable,
REPORT
determines a default
width using the criteria described under Defaults. If you specify a width that is not wide enough
to display numeric values, REPORT
first rounds decimal digits, then converts to scientific notation
if possible, and then displays asterisks. Value labels or string values
that exceed the width are wrapped.
(OFFSET). Position of
the report column contents. The specification is either
n or CENTER
specified in parentheses. OFFSET(
n )
indicates the number of spaces to offset
the contents from the left for value labels or string values, and
from the right for numeric values. OFFSET(CENTER)
centers contents within the center of the column. If AUTOMATIC
is in effect, the default is CENTER
. If MANUAL
is in effect, the default is 0. Value labels and string values
are left-justified and numeric values are right-justified.
Example
/VARIABLES=V1 TO V3(LABEL) (15)
V4 V5 (LABEL)(OFFSET (2))(10)
SEP1 (DUMMY) (2) ''
V6 'Results using' "Lieben's Method" 'of Calculation'
- The width of the columns for variables V1 through V3 is 15 each. Value labels are displayed for these variables in the case listing.
- The column for variable V4 uses the default width. Values are listed in the case listing.
- Value labels are displayed for variable V5. The column width is 10. Column contents are offset two spaces from the left.
- SEP1 is a dummy variable. The column width is 2, and there is at least one space on each side of SEP1. Thus, there are at least four blanks between the columns for V5 and V6. SEP1 is given a null title to override the default column title SEP1.
- V6 has a three-line title. Its column uses the default width, and values are listed in the case listing.