Rational Developer for System z, Version 7.5

Adding/removing call lines in a Segment

The -CE (call of elements) lines of a Segment mainly consists of Data Element calls and possibly other lines such as Group Elements, Segments, Fillers. You can easily change the order of the call lines, create new ones and modify some of the call characteristics.

You add Element call lines to a Segment from the -CE line tab in the Segment editor. You can add Data Element calls, Undefined Data Elements, Groups and fillers, Segments in a tree-structure list.
  1. Adding Data Element calls
    1. If your list is empty, you directly click the Add Data Element button, if it is not, set your cursor where you want to insert a Data Element call line. The Element input is sequential. To enter a Data Element line call in a defined Group, click on the group line for a first call in the group, or if it is not, click in the group where the Data Element call line must be added, then press the 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 you can create a new Data Element call. To do so, click the New Data Element button and in the creation wizard that opens up, complete the input fields. When the new Data Element call is created, it is added to the list of Data Element in the previous dialog box, select it and press OK. The new Data Element call is added in the list of Element call lines.
  2. Adding Undefined Data Elements calls It is possible to create call lines for Data Elements which are defined in the Dictionary, only when they do not have a real functional meaning (group Elements, fillers, etc.) The name and/or format of undefined Data Elements must be indicated at the segment level.
    1. If your list is empty, you directly click the Add Undefined Data ... button, if it is not, set your cursor where you want to insert a new Data Element call line. The Element input is sequential.
    2. A line called 'Unamed Data Element' is inserted in the list, the icon with the signal warns you that the Data Element must be defined. The Data Element definition must be completed in the Undefined Data Element section to resolve the error. You need to give at least a name, label, and internal format to define a Data Element at the Segment level.
  3. Adding a Group call You can call a group Data Element, i.e. 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. A group can also include one or more Segments. Each Segment call is then considered as an elementary Element.
    1. If your list is empty, you directly click the Add Group button, if it is not, set your cursor where you want to insert a new Data Element call line. The Element input is sequential.
    2. An 'Unamed Group' is added to the list, a tree structure is created. As it does not contain any elementary Element, the is displayed next to the group name in the list, as long as the group remains empty. You need to complete the input fields in the Group Definition section.
  4. Adding a Filler call Fillers are not defined in the Repository. They are used as alignment fields, and do not contain any information. Consequently, they are characterized only by their format.
    1. If your list is empty, you directly click the Add Filler button, if it is not, set your cursor where you want to insert a Filler call line. The Element input is sequential.
    2. A Filler call line identified by the default value of its format is added to the list. You can modify the format and other call characteristics in the Filler Definition section.
  5. Adding Segment calls
    1. If your list is empty, you directly click the Add Segment button, if it is not, set your cursor where you want to insert a Segment call line. The Element input is sequential.
    2. In the dialog box that opens up, you find the list of Segments imported in your workspace. Select one of them and pressOK, or you can create a new Segment call. To do so, click the New Segment button and in the creation wizard that opens up, complete the input fields. When the new Data Element call is created, it is added to the list of Segments in the previous dialog box, select it and press OK. The new Segment call is added in the list of Element call lines. You will have to complete the Segment call characteristics in the Segment call section.
  6. Other actions in the all lines list You can change the order the sequence of the call lines in the Segment, you can remove, copy and paste call lines and create Set of Redefines for all types of call lines (Data Elements, Segments, Fillers, or Groups).
    1. To remove Element calls from the list, select an Element to delete and click the Remove button. A Group is removed with all its sub- elements.
    2. To change the sequence order in the list, click the Element and the either button with 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 via the contextual 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 in the -ce lines list, 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 opens up when you click the Set of Redefines line call. Redefines are also possible for Segment calls, Groups and Fillers. To create sets of Redefines for these called Elements the procedure is the same as for the Data Elements.
Once you have added Element calls or modified the Element calls in the list, you may then complete or modify their call characteristics. It must be done in the section dedicated to each Entity call type.
Related reference
Data Element call
Undefined Data call
Filler definition
Group definition
Segment call
Check and Update Definition
Set of Redefines

Terms of use | Feedback

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