Rational Developer for System z

Adding a local attribute, a wildcard attribute, or an attribute reference

This topic describes how to add a local attribute, a wildcard attribute, or an attribute reference to a message or a type.

Adding a local attribute

To add a new local attribute to a message or a type:
  1. In the Advanced tab, right-click the item to which you want to add a new local attribute.
  2. Click Add Local Attribute. The flow message editor does the following:
    1. It adds a new local attribute with a default name to the beginning of the message or type.
    2. It automatically updates any related structures in other folders to include the new local attribute.
    3. It scrolls to display the new local attribute in the Types folder.
    4. It highlights the new local attribute and makes it an input field.
  3. In the input field, type the name that you want to use for the new local attribute, or press the Enter key to use the default name.

Adding a wildcard attribute

To add a new wildcard attribute to a message or type:
  1. In the Advanced tab, right-click the item to which you want to add a new wildcard attribute.
  2. Click Add Wildcard Attribute. The flow message editor does the following:
    1. It adds a new wildcard attribute to the beginning of the message or type.
    2. It automatically updates any related structures in other folders to include the new wildcard attribute.
    3. It scrolls to display the new wildcard attribute in the Types folder.
    4. It highlights the new wildcard attribute.

Adding an attribute reference

An attribute reference is a reference to an existing global attribute defined in the Elements and Attributes folder.

To add a new attribute reference to a message or a type:
  1. In the Advanced tab, right-click the item to which you want to add a new attribute reference.
  2. Click Add Attribute Reference. The flow message editor does the following:
    1. It adds a new attribute reference to the beginning of the message or type.
    2. It automatically updates any related structures in other folders to include the new attribute reference.
    3. It scrolls to display the new attribute reference in the Types folder.
    4. It highlights the new attribute reference and makes it a list box.
  3. In the list box, select the global attribute to which you want the attribute reference to refer.


Feedback