Rational Developer for System z

Working with the operations editor

This topic describes tasks that you can perform in the operations editor.
This topic contains the following subtopics:

For a description of the components of an operations file and the components of an operation see Basic information about operations.

Adding a port type

Follow these steps:
  1. Right-click Ports.
  2. Select Add Port Type. The Port Name window opens.
  3. In the Port Name, type the name for the new port type.
  4. Select OK.

The new port type is added to the operations file.

Removing a port type

Follow these steps:
  1. Right-click the port type that you want to remove.
  2. Select Remove Port Type.

The port type and its contents are removed from the operations file.

Adding an operation

Follow these steps:
  1. Right-click the port type to which you want to add an operation.
  2. Select Add Operation. The Operation Name window opens.
  3. Type the name for the new operation.
  4. Click OK.
The new operation is added to the port type. The new operation includes:
  • An Input section to contain input messages.
  • An Output section to contain output messages.
  • A Faults section to contain fault messages.

Deleting an operation

Follow these steps:
  1. Right-click the operation that you want to delete.
  2. Select Delete operation.

The operation and its contents are removed from the operations file.

Adding a message

As shown in Table 1, the number of messages that you can add to the Input, Output, or Faults sections of an operation depends on the invoke type of the operation itself (see Invoke types).
Table 1. Messages for different invoke types
Invoke Type: Number of messages permitted for the Input, Output, or Faults section: Where the message is stored:
LINK with COMMAREA One Under the section (Input, Output, or Faults)
LINK with Channel Multiple Under a message subfolder that is automatically created under the section (Input, Output, or Faults)
WebSphere MQ One Under the section (Input, Output, or Faults)
The messages that you specify when the invoke type of the operation is Link with Channel become containers in the channel that is passed to the nonterminal application (see Generation properties of the LINK with Channel invoke type).
Follow these steps to add a message:
  1. Right-click the section to which you want to add a message (Input, Output, or Faults).
    Note: If the invoke type of the operation is LINK with Channel, and you are adding a second or subsequent message to the section, and the section is Input or Output, then right-click the message subfolder under the section.
  2. Select Add <message_type>:
    • If the invoke type of the operation is LINK with Channel, and you are adding a second or subsequent message to the section, then <message_type> is Input Message, Output Message, or Faults.
    • Otherwise <message_type> is Input, Output, or Fault

    The Select a Message window opens.

  3. In the Select a Message window:
    1. In the first column, expand the service flow project, the subproject, and the Messages folder containing the message file that you want to use.
    2. Select the message file.
    3. In the second column, select the message that you want to use.
      Note: The third column displays the names of the message elements that are contained in the message that you selected. You cannot select a message element, you are adding the entire message.
    4. Click OK.

The message is added to the section or to the message subfolder that you right-clicked in step 1.

Deleting a message subfolder (LINK with Channel)

This operation is available only when the invoke type of the operation is LINK with Channel and you have added one or more messages to the message subfolder in the Input or Output section.

Follow these steps:
  1. Right-click the message subfolder under the connection.
  2. Select Delete <message_type>, where <message_type> is Input or Output.

The message subfolder and its contents are deleted from the section.

Deleting a message

Follow these steps:
  1. Right-click the message that you want to delete.
  2. Select Delete <message_type> message, , where <message_type> is Input, Output, or Fault.


Terms of use | Feedback

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