Rational Programming Patterns for System z

Adding Data Elements to a Table

The -CE (call of elements) lines tab is used to add Data Element calls and possibly other lines such as group Data Elements in a Table instance. You can easily change the order of the call lines, create new call lines in the table, and modify the values for each element.

Procedure

  1. Adding Data Element calls:
    1. If no element has ever been assigned to the Table entity, the -CE lines table is empty. To add a Data Element call to your table, click Add Data Element. If it is not, set your cursor where you want to insert a Data Element call line. The Data Element entry is sequential. To create a first Data Element line in a defined group, click the group line. Otherwise, click in the group where the Data Element call line must be added. Then, click Add Data Element.
    2. In the window that opens up, you find the Data Elements imported into your workspace. Select one of them and press OK, or you can create a Data Element. To open the creation wizard, click New Data Element . When the new Data Element is created, it is added to the Data Elements in the primary window. Now, you need to select it and press OK. The new Data Element call is added to the Data Elements available in your location.
  2. Adding undefined Data Elements calls:
    You can create call lines for Data Elements which are not defined in the location, only if they do not have a real functional meaning (group Data Elements, fillers, and so on). The name and format, or only the format of undefined Data Elements must be indicated at the Table level.
    1. If your -CE lines table is empty, click Add Undefined Data. Otherwise, set your cursor where you want to insert a new Data Element call line.
    2. A Data Element line is inserted in the table, the Data Element icon with the Error Signal warns you that the Data Element must be defined. The Data Element definition must be completed in the Undefined Data Element section or directly in the dedicated column cells in the table to resolve the error. You must give at least a name, label, and internal format to define a Data Element at the level.
  3. Adding a group call:
    You can call a group Data Element, that is a set of Data Elements named elementary Data Elements. There can be up to 99 elementary elements, on nine different levels maximum. A group can include other groups.
    1. If your -CE lines table is empty, click Add group. Otherwise, set your cursor where you want to insert a new Data Element call line. The Data Element entry is sequential.
    2. A 'group' is added to the table, enter the characteristics of the group directly in the table or in the Group Definition section.
  4. Other actions in the call lines :
    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. Right-click the selection to display the menu. 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. In the Set of Redefines line that is created, you find 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. 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 enter their characteristics and the attributes of the associated Logical View. It can be done directly in the column cells of the table or in the section dedicated to each entity call type.
Note: You can click the other menus in all sections to access more specifications:

Terms of use | Feedback

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