Rational Programming Patterns for System z

Adding elements to a Logical View

The -CE Lines tab is used to create a table of elements called in a Logical View instance, which correspond to Data Elements and Segments defined in the location. Moreover, for each element call, you must indicate its characteristics and the Logical View attributes.

Before you begin

You can add, remove, sort Data Element calls, or Data Element groups and Segments in a Logical View instance. To do so, you must first select a Logical View instance from the Design Explorer view, and open the Logical View editor. Then, click the -CE Lines tab. Then, you can add call lines in the Logical View with the following procedure:

Procedure

  1. Adding Data Element calls:
    1. If your table is empty, you directly click Add Data Element, otherwise set your cursor where you want to insert a Data Element call line. To enter a Data Element line call in a defined group, click the group line for a first call in the group, or click in the group where the Data Element call line must be added first.
    2. In the dialog box that opens up, you find the list of the Data Elements in your location. Select one of them and press OK, or you can create a Data Element. To do so, click New Data Element and complete the input fields in the creation wizard that opens up. When the new Data Element is created, it is added to the list of Data Elements in the previous dialog box. Then, select it and press OK. The new Data Element call is added to the table.
  2. Adding a group:
    You can call a group of Data Elements, that is a set of Data Elements named elementary Data Elements. There can be up to 99 elementary Data Elements, on nine different levels maximum. A group can include other groups. A group can also include one or more Segments. Each Segment call is then considered as an elementary Data Element.
    1. If your table is empty, you directly click Add group; otherwise set your cursor where you want to insert a new Data Element call line.
    2. A 'group' is added to the table, complete the editable column cells or the input fields in the Group Definition section.
  3. Adding a Segment:
    1. If your table is empty, you directly click Add Segment; otherwise, set your cursor where you want to insert a Segment call line.
    2. In the dialog box that opens up, you find the list of the Segments and Logical Views imported into your workspace. Select one of them and press OK, or you can create a new Segment or Logical View. To do so, click New Segment and complete the input fields in the creation wizard that opens up. Select the entity type, select Segment or Logical View. When the new Segment is created, it is added to the list of Segments in the previous dialog box. Select it and press OK. Then, complete the Segment call characteristics.
  4. Other actions in the call lines table:
    You can change the order of the call lines in the table, you can remove, copy and paste call lines and create Set of Redefines for all types of call lines (Data Elements, Segments, or groups).
    1. To remove element calls from the table, select an element to delete and click Remove. A group is removed with all its subelements.
    2. To change the order in the table, click the element and the up arrow/down arrow which represents the move up/down action.
    3. You can copy one or more lines and paste them after the selection. These choices are available in the menu (right-click the selection). Only elements or groups with the same level of indentation can be copied and pasted.
    4. To create Sets of Redefines for a Data Element call for example, click a Data Element to be redefined, check the Redefines option in the Data Element call section. A Set of Redefines line is created; it contains the redefined Data Element and the preceding one of the same level in the tree structure. You must then define the Occurs option in the Set of Redefines section that shows up when you click the Set of Redefines line call. Redefines are also possible for Segment calls and groups. To create sets of Redefines for these called elements, the procedure is the same as for the Data Elements.

What to do next

Once you have added element calls or modified the element calls in the table, you must then complete the column cells with the required values for each element call. If you are familiar with the -CE of Logical Views, you can do it directly in the table, otherwise complete the fields in the section dedicated to each entity call type. The different sections available are the following ones:
Note: Do not forget to click the other buttons in all sections to access more specifications.

Terms of use | Feedback

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