You can add a Macro transformation to a dynamic mapping. The transformation contains dynamic ports that you can link to dynamic sources and targets.
When you create a Macro transformation and assign a macro instruction mapplet to the transformation, dynamic input and output ports are created based on the input and output groups of the macro instruction.
By default the output ports have the same type, precision, scale, and description as the input ports. You can configure the output ports by editing the base port associated with each output port in the
Ports
properties.
The number of generated ports created by a dynamic port in the Macro transformation must be either one or equal to the number of ports generated by the other dynamic ports in the transformation, excluding the passthrough ports. The passthrough ports in the Macro transformation can have any number of generated ports.
For example, a Macro transformation has three dynamic ports