Creating an action

After selecting the file formats, create a new action.

  1. Select the New Action from the toolbar or from the right-click menu in the layout panel. The mode determines where the action is placed.
    • Append places the action at the end of the currently selected branch, as the last child of the currently selected action’s parent..
    • Before places the action before the current selection on the Translation Configurator. The action is inserted relative to the currently selected action’s parent.
    • After places the action after the current selection on the Translation Configurator. The action is inserted relative to the currently selected action’s parent.
  2. Select the action by clicking the appropriate tool on the New Action toolbar. This places a new empty action at the location. Action choices are:
    • COPY copies the source values directly to the destination fields.
    • CONCAT concatenates two or more input fields into a single output field.
    • TABLE translates the source values according to the specified translation lookup table.
    • ITERATE defines an iterative block of translation actions. The block repeats every time the specified basis is encountered in the input record. The basis Type can be a record variant Field, Group, List, or Segment.

      When Type is user, the Basis can be a user-defined variable that stores a list.

    • MATH performs the specified math operation on the source values. Specify at least two source values for a math operation. One or more can be a constant value.
      • ADD adds the source values.
      • AVG takes the average of the source values.
      • DIV divides the source values.
      • MAX takes the maximum of the source values.
      • MIN takes the minimum of the source values.
      • MOD takes the remainder after dividing the source values.
      • MUL multiplies the source values.
      • SUB subtracts the source values.
    • STRING provides string operations, such as Trim, Substring, Concat, and others.
    • COMMENT includes a text comment with the translation definition.
    • BULKCOPY copies every common input field to output.
    • PATHCOPY copies, clears, and replicates information that is grouped at almost any level of association.
    • CALL calls a Tcl procedure to perform a set of operations on the source values.
    • CONTINUE generates a message from all the translated elements up to the Continue, and places it on the disposition list as CONTINUE. This includes further processing of the generated message.
    • DATECOPYOPT defines how to handle date copies.

      IF provides controls for defining a condition and the action to be taken if that condition exists.

    • SEND generates a message from all the translated elements up to the send, and transmits that message to the outbound connection. This action permits the generation of multiple outbound messages from a single inbound message. The SEND and CONTINUE order is important. This bypasses normal processing and sends the generated message to the Partial Queue. Otherwise, it is the same as CONTINUE.
    • SUPPRESS transmits the message. This action permits the generation of multiple outbound messages from a single inbound message. It suppresses processing of the original input message beyond the translation phase. SUPPRESS is the last translation operation if SEND or CONTINUE operations generate multiple outbound messages from one inbound message.
    • BREAK is used to break a loop or to skip iterates.
    • INCLUDE can use a reference in the xlate, where you create one xlate for the PID translation and refer to it in the other xlates.
  3. After selecting the action, edit the details of the operation by clicking the action and editing the Source/Destination values, adding procs, and so on.