Previous Topic: Date and Time Field Suffix Codes

Next Topic: Reserved Words


Print Control Suffix Codes

Suffix Code

Description

Used with
Statements

(.n)

Indicates the field has n decimal positions, or if the field is hexadecimal, defines the bit position. When used with a field in a LIST statement, the printed data for the field is truncated to the specified decimal position.

COMPUTE
DECODE
DEFINE
LIST

($)

The field prints with a dollar sign before the first significant digit.

COMPUTE
DECODE
DEFINE
LIST

(-)

Causes a line of dashes to be printed after each line of group totals for the field.

BREAK

(Cn)

Sets a column number for a vertical totals item. The value specified for n must be from 1 to 6. Each number (1-6) represents 1/6 of the print area available, from left to right on the page.

LIST

(CT)

Forces printing of a nonnumeric field on the total line for a control group. The data displayed as the total for this nonnumeric field is taken from the first record in the control group. (CT) is mutually exclusive with (AV), (DF), (DL), (MN), (MX), (PC), (SD), and (TL).

COMPUTE
DECODE
DEFINE
LIST

(DC)

Prints the contents of character fields centered within the field.

COMPUTE
DECODE
DEFINE
LIST

(DF)

Forces printing of a nonnumeric field on the total line for a control group. The data displayed as the total of this nonnumeric field is taken from the first record in the control group. (DF) is mutually exclusive with (AV), (CT), (DL), (MN), (MX), (PC), (SD), and (TL).

COMPUTE
DECODE
DEFINE
LIST

(DL)

Prints the value of a field from the last record in a control group on the control group total line. This suffix does not work with numeric fields defined as (NV). It is also mutually exclusive with: (AV), (CT), (DF), (MN), (MX), (PC), (SD), and (TL).

LIST

(F)

Indicates that field values for the specified field are ordered in decreasing total order, instead of alphabetic or user code order.

XTAB

(Fcn)

Supplies the fill character specifications for the fanning of vertical totals.

LIST

(Gn)

The field prints in plot format using its default specifications or as described in a corresponding PLOT Gn statement. Specify n from 1 to 6.

LIST

(HH)

The time field is converted from seconds to display as hours and hundredths of an hour (HH.HH).

COMPUTE
DECODE
DEFINE
LIST

(HM)

The time field is converted from seconds to display as hours and minutes (HH:MM).

COMPUTE
DECODE
DEFINE
LIST

(HS)

The time field is converted from seconds to display as hours, minutes, and seconds (HH:MM:SS).

COMPUTE
DECODE
DEFINE
LIST

(KH)

The time field is converted from seconds to display as hours, minutes, seconds, and milliseconds (HH:MM:SS.SSS).

COMPUTE
DECODE
DEFINE
LIST

(KM)

The time field is converted from seconds to display as minutes, seconds, and milliseconds (MM:SS.SSS).

COMPUTE
DECODE
DEFINE
LIST

(KS)

The time field is converted from seconds to display as seconds and milliseconds (SS.SSS).

COMPUTE
DECODE
DEFINE
LIST

(Ln)

Reserves n print positions for a data field, overriding its defined length. This suffix, is intended primarily for numeric fields; it should not be used to truncate character fields. For that purpose the (x,y) data field suffix is recommended instead.

COMPUTE
DECODE
DEFINE
LIST

(LA)

Prints the contents of character fields left-aligned within the field. This is the default alignment for character fields when they are printed.

COMPUTE
DECODE
DEFINE
LIST

(MS)

The time field is converted from seconds to display as minutes and seconds (MM:SS).

COMPUTE
DECODE
DEFINE
LIST

(NA)

Suppresses printing an average for a field when averaging has been requested for all numeric fields by a PARAMETER AVERAGE statement.

COMPUTE
DECODE
DEFINE
LIST

(ND)

Suppresses printing of numeric data in detail lines. Numeric data is only printed in total lines.

COMPUTE
DECODE
DEFINE
LIST

(NG)

Suppresses printing of a grand total for this item.

COMPUTE
DECODE
DEFINE
LIST

(NP)

Suppresses all printing of the field. (Not to be confused with NP command.)

 

(NR)

Suppresses printing of a field if the value of the field is the same in this line as it was in the previous line.

COMPUTE
DECODE
DEFINE
LIST

(NT)

Suppresses printing of totals for this item.

COMPUTE
DECODE
DEFINE
LIST

(NU)

Suppresses printing of the underscore character before printing totals.

COMPUTE
DECODE
DEFINE
LIST

(NV)

Suppresses automatic summarization and editing (addition of leading zeros, commas, and decimal points) of numeric fields. Eliminates all use of computational suffix codes: (AV), (DL), (MN), (MX), (PC), (SD), and (TL).

COMPUTE
DECODE
DEFINE
LIST

(R)

Causes the control group heading to be right-justified.

BREAK

(RA)

Prints the contents of character fields right-justified within the field.

COMPUTE
DECODE
DEFINE
LIST

(Sn)

When used with LIST, (Sn) specifies a column number for a vertical totals item. The column number indicates what column the value should be printed in when the value is to be printed on the same line as the previous vertical totals item. The value specified for n must be from 1 to 6. Each number (1-6) represents 1/6 of the print area available, from left to right on the page.

LIST

 

When used with BREAK, (Sn) prints n blank lines after each line of control group totals for the field.

BREAK

(SK)

Skips to a new page after printing each line of control group totals for a field.

BREAK

(ST)

Resets print options for the specified time field. All time values for this field are expressed in seconds.

COMPUTE
DECODE
DEFINE
LIST

(T)

Requests vertical totals for a field after every control group break. The field does not appear in the detail print line.

LIST

(Tn)

Requests vertical totals for a field after control group breaks of n level and higher. n must have a value from 1 to 8.

LIST

(TG)

Requests vertical totals for a field at the end of the report and after printing grand totals. The vertical totals do not appear elsewhere in the report.

LIST

(ZE)

Suppresses the printing of data fields with zero values.

COMPUTE
DECODE
DEFINE
LIST