Step 4: Create a report layout

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.

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:

  1. From the Output Manager main menu, choose option A, Administrative Functions, and press Enter. The Administrative Functions panel is displayed.
  2. Choose option L, Report Layouts, and press Enter.
    A search panel is displayed. Press Enter to proceed to the Layouts panel.
  3. Type ADD on the command line and press Enter.
    The Layout detail panel is displayed.
  4. 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.)
  5. In the Print Control and Line Count fields, accept the default values.
  6. In the Description field, type a description of the report layout. This description can be up to 60 characters long.
  7. To define the TITLE field of the bank report, perform the following steps:
    1. 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.
    2. In the Name field, replace FIELD with TITLE.
    3. 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.
    4. For the other fields, accept the default settings.
    5. Press F3 (Exit) to return to the Layout panel.
  8. To define the BRANCHTI field, perform the following steps:
    1. 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.
    2. In the Name field, type BRANCHTI.
    3. 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.
    4. For the other fields, accept the default settings.
    5. Press F3 (Exit) to return to the Layout panel.
  9. To define the BRANCHID field, perform the following steps:
    1. 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.
    2. In the Name field, type BRANCHID.
    3. 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.
    4. For the other fields, accept the default settings.
    5. Press F3 (Exit) to return to the Layout panel.
  10. 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.

For more detailed information about report layouts, see Step 1: Describe the physical layout of the report using report layouts.