ADCNS – Conditional dependency
Use the ADCNS
statement to define
a conditional dependency for an operation. You must set at least one ADCNS
statement
for each ADCNC
statement, matched by the CONDID
keyword.
Note:
- Workload Automation Programming Language does
not require an equivalent to the following keywords:
CONDDEPCONDID
is inherited from the precedingADCNC
statement.CONDDEPDEPTYPE
is determined from the setting ofPREADID
.
- The
ADCNS
statement is available only starting from HCL Workload Automation for Z V8.5, or later.
Keyword | Description |
---|---|
CONDID |
The CONDID keyword should be set to the same
value as in the ADCNC statement to which this belongs. |
PREADID |
If the predecessor operation is in a different application from the one being built, or is in a different occurrence of the same application, you must identify the application ID with this keyword. If you use DBCS characters, you must enter them as a quoted string started by a shift-out and ended by a shift-in. |
PRECSEL |
Specifies on which basis a matching predecessor is selected:
Note: The PRECSEL keyword is available only starting from
HCL Workload Automation for Z V9.1, or
later. |
PREOPNO |
Operation number of conditional predecessor. |
PROCSTEP |
Proc Step name for a step dependency. |
STEPNAME |
Job Step name for a step dependency. |
CHECK |
What element to check:
|
LOGIC |
What logic to use when comparing values:
|
STATUS |
The value of operation status to use in the comparison. |
RC1 |
The return code to use in the comparison. When
LOGIC(RG) is used, RC1 is the lower limit of the range. |
RC2 |
When LOGIC(RG) is used, RC2 is the upper limit
of the range. |