Specifying the ITERATE translation action
Begin the translation definition by configuring the translation operation.
- Determine where the action is placed by selecting an action mode.
- Select on the toolbar to place it on the list.
- For Type, arrow and select the type of record element to use as the basis for the loop. The default is .
- Click or in the Action Properties pane. This opens the selected panel.
- Click the plus sign next to the field name to view the subfields.
- Select the subfield to use as the basis.
- Click .
- Specify the iteration counting Variable to use. All variables must start with % and be "f" (field), "g" (group), "l" (list), or "s" (segment). With multiple variables, for example three field variables, use %f1, %f2, and %f3.
- Click
- Click . The Translation Configurator displays showing the new configuration.
- Click the plus sign next to the new Iterate action.
- Click Comment to highlight it.
- Select the action that forms the body of the loop. A loop can contain any number of translation actions. For the input and output values of the operation, use the iteration counter to specify the repetition of the field.
- Click .
- Click .
- Save the file.
- Click to display the Testing Tool to test the configuration before putting it into production.