Previous Topic: Setting Panel Definition OptionsNext Topic: Setting Output Options


Setting Report Definition Options

The following SET commands refer to the Report Definition Facility (RDF). All of the following commands are explained in detail in the Command Reference Guide. For more information about defining reports, see the Generating Reports Guide.

SET REPORT LINES

Sets the total number of lines for each printed page of the report.

SET REPORT WIDTH

Sets the number of characters per line of the report.

SET REPORT SPACING

Specifies the default number of blank lines between printed detail lines.

SET REPORT GAP

Specifies the default number of blank characters left between defined columns of detail lines.

SET REPORT CONTHEAD

Specifies the default value of whether headings print when a control break occurs. A control break is a change in the value of a control field.

SET REPORT CONTFOOT

Specifies the default value of whether footings print when a control break occurs.

SET REPORT NULLSYM

Specifies the default value for null values. For more information, see the Command Reference Guide.

SET REPORT PAGEFMT

Specifies the default page number format.

SET REPORT PAGEPOS

Specifies the default position of how the page number displays in the heading or footing.

SET REPORT DATEPOS

Specifies the default position of how the date displays in the heading or footing.

SET REPORT DATEFOR 'date‑pattern'

Specifies the default format of the date printed on reports. Any logical combination of the following date components can specify a date format.

The specifications in the following chart give the corresponding results when a report is produced, assuming that at the time of production, the date is January 12, 1993.

Component Notation

Meaning

Example
assuming
(January 12, 1993)

YEAR

Year in full

1993

YY

Year without century

93

 

Year without decade

6

MONTH

Month spelled out (uppercase)

JANUARY

LCMONTH

Month spelled out (initial letter uppercase)

January

MON

Month abbreviation (uppercase)

JAN

LCMON

Month abbreviation (initial letter uppercase)

Jan

MM

Month number, with leading zero if necessary

01

M

Month number, with no leading zero

1

DD

Day with leading zero if necessary

12

D

Day with no leading zero

12

DDD

Julian day, numeric day of the year (1-366)

012

WEEKDAY

Day spelled out (uppercase)

SUNDAY

LCWEEKDAY

Day spelled out (initial letter uppercase)

Sunday

DAY

Day abbreviation

SUN

LCDAY

Day abbreviation (initial letter uppercase)

Sun

Any characters except uppercase alphabetics in the date pattern remain unchanged.

The site administrator defines the actual text indicated by the keywords MONTH, LCMONTH, MON, LCMON, WEEKDAY, LCWEEKDAY, DAY, and LCDAY for each site in the PMS table PMSTBLS.