Rational Programming Patterns for System z

Defining edition lines in a Report

The purpose of the -D Lines tab is to specify and to define the edition lines that are grouped into categories.

About this task

The -D Lines tab contains the -D Lines Definition section. In this section, you find, if any, a list of categories and edition lines contained in the Report, which make up the -D lines of the Report. If there is no -D line yet in the list, you must insert a category first to create edition lines.

Procedure

  1. To create a category, complete the following steps:
    1. If the list is empty, click Add Category. Otherwise, select a category first. The category will be inserted just after the selected category. A new category has been added to the description list; it is identified by Category icon.
    2. Each category is identified by a code and a comment in the list. Both must be specified in the Category Definition section which is open at the bottom of the window. You can enter the category definition in this section and display a preview of the selected category.
    3. Click the category line in the list to refresh. The category identifier and comment are displayed just after the category icon.
  2. To create an edition line, you must have created and selected a category. Then:
    1. Click Add Edition Line, a line is then automatically inserted.
    2. Define the edition line characteristics in the Edition Line Definition section which is open at the bottom of the window and click the edition line to refresh. The values you have entered in the break and Type of break fields are displayed after Edition Line icon to identify the edition line.
  3. Other possible actions in the -D lines list:
    1. You can delete a category or edition line from the list with the Remove.
    2. You can modify the sequence order of a category in the list or of an edition line within a category. To do so, select it and click Up and Down to move up the selected item one line or one line down the list.
    3. Finally, you can copy and paste an item in the list. If you copy and paste a category, the new category is displayed with a red cross icon, which means that you must modify its category identifier in the Category Definition. Two identical category codes cannot exist in the same -D list of a Report.
    4. You can preview the layout before you start generating by clicking Preview in the Category Definition section. A preview window gives you a dynamic view of the selected category. It gives you a better idea of what the document looks like with its actual format, the position of its fields. The preview wizard takes into account the page breaks, line skips, iterations, and total lines you have defined. You can leave the window open and instantly visualize your updates in it.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)