Rational Developer for System z, Version 7.5

Calling elements in a Report

You can create -CE lines and give characteristics on the elements called in the Report, from the -CE Lines tab of the Report editor. It consists in listing the Structures and the Data Elements called on the Report and identifying their edition mode (position on the layout line, the source of the data, and conditions under which the source should be transferred to the target Data Element).

In the left area of the -CE tab, you have a-CE Lines definition section in which you find the -CE lines of the Report presented in a tree-structure list. If there is no call lines yet in the list, you must call a Structure first, then you will be able to call Data Elements and specify their source then.
  1. To insert a Structure in the CE lines list, proceed as follows:
    1. If there are no call lines (the list is empty), you click directly on the Add Structure... button.
    2. To create a new Structure in after an existing call line, set your cursor on a the line first to indicate the position of the future Structure, then click the Add Structure... button. A new Structure call line is created, it is identified by:
      • an icon
      • The name of the first Data Element called in the Structure, it instantly displays when a Data Element is called under the Structure,
      • a structure identifier whose default value is 'zero'.

        You can modify this value in the Structure definition section that opens in the right area of the window once the structure call is created.

  2. In a structure, you call Data Elements. To create Data Elements call:
    1. Set your cursor on a Structure, click on the Add Data Element... button.
    2. In the dialog box that opens up, you find the list of Data Elements imported in your workspace. Select one of them and press OK. Or, if you need to call an instance which does not exist yet in your project, just click on the New Data Element button. In the creation wizard which opens up, enter the name and label and click OK. The new Data Element is then displayed in the selection list. If you select it and click OK, it will be called in the -CE Lines, under the selected structure it belongs to.
    The Data Element is identified in the -CE lines by an icon, followed in the same line by its name, its output format and the column number on the layout. Double-clicking on the Data Element call line switches to its editor where you can read or modify the Data Element characteristics such as its format. You define or modify the column number in the Data Element call section that opens in the right area of the window when the Data Element call is created.
  3. You can also create call lines for new Data Elements which are not declared in the Dictionary:
    1. Set your cursor on a Structure and click on the Add undefined Data.... A new call line is created under the selected structure, Unnamed Data Element identified by a default zero value as column number.
    2. Enter the Data Element properties that identify the Data Element in the Undefined Data Element Definition section, in the right area of the window. The section opens when the Data Element call is inserted in the -CE lines.
  4. Other possible actions on the -CE lines:
    1. You can delete instance calls, you just need to select one of them and click the Remove button. When you delete a Data Element, its dependent source is deleted too. A structure cannot be deleted globally. It must be done Data Element by Data Element.
    2. You can copy one or more call lines and paste them anywhere in the list. These choices are available via the contextual menu (right-click the selection). Only Elements with the same level of indentation can be copied and pasted.
    3. You can change the sequence order of Data Elements within a Structure or the order of Structures in the -CE lines via the Up and Down buttons. A Structure is moved with all the Data Elements it contains, same thing for a Data Element, it is moved with its source.
Related reference
-CE Lines tab in the Report editor
Report Overview tab
Keywords tab
Documentation tab

Terms of use | Feedback

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