Set Variables
Description
This step allows you to set variables in a job or in the virtual machine. It accepts one (and only one) row of data to set the value of a variable.
IMPORTANT : IT IS NOT POSSIBLE TO SET AND USE A VARIABLE IN THE SAME TRANSFORMATION. This is because all steps run in parallel.
Options
Option |
Definition |
---|---|
Step name |
The name of this step as it appears in the transformation workspace. |
Apply formatting |
When this option is set, it formats the value (date, numbers etc.) according to the format options. Otherwise no formatting is done. |
Field Name |
Name of the field that is used |
Variable Name |
Name of the variable to set (without ${...}Â or %%...%% sigils) |
Variable scope type |
Define the scope of the variable, possible options are:
|
Default value |
Name of the variable to set |
Variable usage
Refer to Variables wiki page for a description of the use of variables.