tab. A run-time link is a group-to-group link between transformations that uses a parameter, a link policy, or both to determine which ports to link at run time. Run-time links appear as thick lines in the mapping editor.
Create and configure run-time links to a Write transformation in the following cases:
The target data object in the Write transformation uses a parameter.
Ports from the upstream transformation can change at run time.
Do not create a run-time link to a Write transformation when you define the target columns based on the mapping flow.
You can perform the following tasks on the
Run-time Linking
tab:
Create a run-time link.
In the
Links
area, click the
New
button and select the transformation from which you want to link the ports to the Write transformation at run time in the New Link dialog box.
Configure the run-time link properties.
In the
Link Properties
area, configure the following run-time link properties:
Parameter
Select this option when the port names can change between mapping runs and you know the port name values. Use a parameter of type Input Link Set to connect ports by name values between mapping runs. The syntax for the Input Link Set mapping parameter consists of comma-separated pairs of ports:
Afield1->Bfield2, Afield3->Bfield4
.
Link Policy
Select this option when you want to automatically link ports that have matching names. For example, when both of the mapping objects contain a port called SALARY, the Data Integration Service links them. You can ignore prefixes and suffixes in the port names.
At run time, the Data Integration Service establishes and resolves links between the ports in the following order:
Links that you manually create in the mapping editor.
Links based on the parameter that you configured for a run-time link.
Links based on the link policy that you configured for a run-time link.