In this step, you create a report layout. A report layout
describes to Output Manager the
physical arrangement of the original report, as produced by the application
that generated the report SYSOUT. You must have a detailed knowledge
of the original report's design to create a report layout.
About this task
A layout has three subcomponents: pages, areas, and fields.
A page can contain one or more areas, and an area can contain one
or more fields. A field indicates the position of a data field.
For
this tutorial, you will define three fields that correspond to data
in the sample bank report (SBJTSAMP member BJT@PRBP) and use the default
page and area.
Note: The row, column, height, and width values for
the default page are all zero. In this case, the area encompasses
the entire page.
To create a report layout:
Procedure
- From the Output Manager main
menu, choose option A, Administrative Functions, and press
Enter. The Administrative Functions panel is displayed.
- Choose option L, Report Layouts, and press Enter.
A search panel is displayed. Press Enter to proceed to the Layouts
panel.
- Type ADD on the command line and
press Enter.
The Layout detail panel is displayed.
- In the Layout Name field, type a name for this report
layout, for example, Bank Branch Layout. This name can be up to 64
characters long. (Record this name; you will need to specify it later
when defining a report selection rule and custom report definition.)
- In the Print Control and Line Count fields,
accept the default values.
- In the Description field, type a description of
the report layout. This description can be up to 60 characters long.
- To define the TITLE field of the bank report, perform the
following steps:
- In the CMD column (in the lower half of the screen),
type
I (Insert) next to the default Area 1 item
and press Enter. A new line is added to table, with FIELD
displayed in the Type column.
- In the Name field, replace FIELD with TITLE.
- With your cursor in the TITLE row, use the PF11 key
to scroll right to display additional columns, then enter the following
values:
- In the Row field, type
2.
- In the Column field, type
5.
- In the Width field, type
32.
- In the Height field, type
0.
- For the other fields, accept the default settings.
- Press F3 (Exit) to return to the Layout panel.
- To define the BRANCHTI field, perform the following steps:
- In the CMD column, type
I (Insert)
next to the TITLE field, and press Enter. A new field
is added to table, with FIELD displayed in the Type column.
- In the Name field, type
BRANCHTI.
- With your cursor in the TITLE row, use the PF11 key
to scroll right to display additional columns, then enter the following
values:
- In the Row field, type
7.
- In the Column field, type
10.
- In the Width field, type
9.
- In the Height field, type
0.
- For the other fields, accept the default settings.
- Press F3 (Exit) to return to the Layout panel.
- To define the BRANCHID field, perform the following steps:
- In the CMD column, type
I (Insert)
next to the TITLE field, and press Enter. A new field
is added to table, with FIELD displayed in the Type column.
- In the Name field, type
BRANCHID.
- With your cursor in the TITLE row, use the PF11 key
to scroll right to display additional columns, then enter the following
values:
- In the Row field, type
7.
- In the Column field, type
20.
- In the Width field, type
20.
- In the Height field, type
0.
- For the other fields, accept the default settings.
- Press F3 (Exit) to return to the Layout panel.
- Press F3 (Exit). If an exit confirmation pop-up window
is displayed, press Enter.
The Layouts panel lists
the name of the newly defined layout.