Avoiding loops in variable substitution
HCL Workload Automation for Z does
not let you define a variable-substitution loop. If
you give variable
&A
the value&B
and then give variable &B
the
value &A, a variable loop is formed. If HCL Workload Automation for Z detects
that a variable has recurred in a variable for variable type substitution,
the substitution ends in error. There are three possible loops:
- Substitution of variables by variables (described here).
- Dependency of variable A on variable B, which depends on variable A.
- A combination of both of these cases.