Adding variables and constants
- Double-click a mapping to open it in the Mapper Editor.
-
Click the Variables and
Constants tab in the Mapping Console
View.
The Variables and Constants tab in the Mapping Console are opened.
-
Right-click on a blank space in Variables and Constants tab,
select any of these options:
-
Create variable - select this to create variable with a default name
NewVariable1
.A V-icon indicates a variable. Assigning values to Variable are optional.
-
Create constant - select this to create constant with a default name
NewConstant1
.A C-icon indicates a constant. Assigning values to Constant are mandatory.
Note: A unique index is added to the default variable or constant name. -
-
Specify this information:
Value Type, Value, and Description.
- Drag a variable or constant from the Variables and Constants tab to a parameter element in the Mapping Editor. Now the variable or constant is assigned to the parameter.
- Save the mapping.