When you configure MultiLoad or TPump external loader attributes, you can create user variables. User variables are custom-defined substitution variables that you use in the control file. User variables capture session specific information that may not be available in the connection object attributes. User variables are often used for pre- or post-load processing.
You define the user variable name and substitution value in the connection object. In the control file, you add the substitution variable prefix and the user variable name to the corresponding command. When you run the session, the Integration Service replaces the substitution variable prefix and the user variable name in the control file with the substitution value. If you change the substitution value after you edit the control file, the control file uses the new value.
Use the following rules and guidelines when you create user variables:
When you create the user variable, use the following syntax:
<User_Variable_Name>=<Substitution_Value>
If you include spaces in the user variable name or the substitution value, the session may fail.
When you add the user variable to the control file, use the following syntax: