Substituting data load attribute values with variables
You can substitute the values of most attributes in the wc-dataload.xml data load order configuration file and wc-dataload-env.xml data load environment configuration files. By using variable substitutions, you can change the value of attributes without editing the configuration file. For example, you can substitute the value of the user ID attribute for a variable.
About this task
Consider the
following possible issues when you perform this task:
- When you substitute a variable for a password attribute, you must
specify an encrypted password value. If you specify a plain text password,
the Data Load utility tries to decrypt your password and fails to
do so. Note: For the password attribute, you do not need to use a variable substitution. You can leave the value empty. When the data load runs, you are prompted to enter a password. The password that you enter can be a plain unencrypted password. For security reasons, the system does not echo the password value that is entered.
- When you use a substitution variable for a numeric attribute field
such as batch size or commit count, you must turn off XML validation
because of the XSD validation problem. For more information about
setting the
-DXmlValidation
parameter, see Data Load utility.
Note: Variable substitution is case-sensitive.