Using variable substitution
The variable substitution mechanism that is used in HCL Workload Automation for Z native job types works the same way when scheduling jobs on HCL Workload Automation Agents. The variable substitution mechanism changes when you define job types with advanced options, such as Java™ jobs that run a Java™ class, or file transfer jobs that transfer files to and from a server, to name a few. These types of jobs are created and edited using the Dynamic Workload Console.
${variable_name}
If
you want to nest variables, use the following syntax:${variable_1_name ${variable_2_name}}
In
this case, variable_2 is resolved first and provides the value for
variable_1.${Agent:variable_name}
User passwords can be similarly
parameterized for local resolution. For details, see Defining variables and passwords for local resolution.Dependent variables and promptable variables are not supported in job types with advanced options.
For more information, see Variable substitution.