Rational Developer for System z

Adding a message element to an existing message in the EST Project Explorer

You can also add a new message element to an existing message in the EST Project Explorer, without having to open the message file with the flow message editor.

This feature is useful when you want to quickly add a message element to an existing message.

To add a new element:

  1. In the EST Project Explorer, expand the message file (also called a message definition file) containing the message to which you want to add a message element (see Viewing the elements of a message file in the EST Project Explorer). Continue expanding until the message or message element that you want to modify is visible.

  2. Right-click a message or message element.

  3. Select one of the menu items shown in the first column of Table 1:
    Table 1. Menu items for adding a message element
    Menu item: Type of artifact for which this operation is available: Effect of this operation:
    Add Element
    • Message
    • Group
    A new message element is added as a child of the selected message or group.
    Insert Element Before
    • Message element
    • Group
    A new message element is added as a sibling before the selected element.
    Insert Element After
    • Message element
    • Group
    A new message element is added as a sibling after the selected element.

    The Message Element Creation window opens.

  4. In the Message Element Creation window:

    1. Specify the type and attributes of the new message element (see Table 2). A Yes in a table cell means that the indicated attribute belongs to the indicated type.
      Table 2. Message data types and their attributes
      TYPES: String: Integer: Floating point Group:
      Name: Yes Yes Yes Yes
      Maximum length: Yes      
      Signed or unsigned value:   Yes Yes  
      Maximum number of digits (total):   Yes Yes  
      Maximum digits after the decimal point:     Yes  
      Maximum number of occurrences in the structure (default 1): Yes Yes Yes Yes
      Default value (optional): Yes Yes Yes  
    2. Click OK to add the element or Cancel to cancel the operation.

The new message element is added to the message file in the location that you selected.

Note: The information in this topic applies only to messages, not to screen messages (see A reminder about the differences between messages and screen messages).

Terms of use | Feedback

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