Previous Topic: Accessing RDFNext Topic: Basic Steps to Create a Report


PF Key Assignments

When you are using the Report Definition Facility, the PF keys are assigned the following commands.

HELP (PF1)

Displays a panel or series of panels that contain information explaining how to complete the current function.

RETURN (PF2)

Returns from a help panel to the program component display or from the program to the menu that selects the program.

PRINT SCREEN (PF3)

Generates a hardcopy printout of the current screen contents.

PARAMETERS (PF4)

Displays the report parameters. If you are editing the report definition when you enter this command, you can edit the displayed report parameters.

HEADING (PF5)

Displays the page heading definition. If you are editing the report definition when you enter this command, you can edit the displayed page heading definition.

DETAIL/COLUMN [HEADINGS] (PF6)

Displays the report detail definition. If the report detail definition is displayed, this PF key displays the column headings definition. If the column headings definition is displayed, this PF key displays the report detail definition. You can edit the displayed definition if you are editing the report definition when you enter this command.

SCROLL BACKWARD (PF7)

Displays the previous frame in the current component.

SCROLL FORWARD (PF8)

Displays the next frame in the current component.

FIND (PF9)

Repeat a previous FIND string command for report detail or heading data.

SCROLL TOP (PF10)

Positions to the first line of the component.

SCROLL BOTTOM (PF11)

Positions to the bottom of the component.

INPUT (PF12)

Opens a window of null lines preceding the first line of the component or at the current cursor position. Unused null lines in the window are deleted when you press the Enter key after INPUT.

Setting Report Options for the Session

To change the default values for report parameters on report definitions to create later in the current session, you can issue SET REPORT commands. You can issue these commands at any time before you create the report. They are then in effect for the remainder of the current session or until they are reset. Existing report definitions maintain the values that were in effect when the report definition was defined.

You can enter these commands into a data member called SIGNON. They then automatically execute whenever you sign on to CA Ideal. In effect, they are your defaults across sessions.

The following are brief descriptions of the SET REPORT commands. For more information on any of these commands, see the Command Reference Guide.

SET REPORT LINES

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

SET REPORT WIDTH

Specifies 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 to be left between defined columns of detail lines.

SET REPORT CONTHEAD

Specifies 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 whether footings print when a control break occurs.

SET REPORT DATEFOR 'date‑pattern'

Specifies the default format of the date printed on reports.

You can use any logical combination of the following date components to specify a date format.

The specifications in the following table give the corresponding results when a report is produced, assuming that at the time of production the date is January 14, 2006.

Component Notation

Meaning

Example assuming (January 14, 2006)

YEAR

Year in full

2006

YY

Year without century

06

Y

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

14

D

Day with no leading zero

14

DDD

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

014

WEEKDAY

Day spelled out (uppercase)

SUNDAY

LCWEEKDAY

Day spelled out (initial letter

Sunday

DAY

Day abbreviation

SUN

LCDAY

Day abbreviation (initial letter uppercase)

Sun

Any characters except uppercase alphabetic 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 file DATETBL.IDL. For more information about defining this text, see the Working in the Environment Guide.

SET REPORT DATEPOS

Specifies the default position where the date displays in the heading or footing.

SET REPORT NULLSYM

Specifies the default symbol that represents null values on the report.

SET REPORT PAGEFMT

Specifies the default page number format.

SET REPORT PAGEPOS

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