Avoiding loops in variable substitution
IBM® Z Workload Scheduler 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 IBM® Z Workload Scheduler 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.