ADCNC
Purpose
Use the ADCNC statement when defining conditional dependencies for an operation, to specify a condition.
Format
Restrictions
You cannot use ACTION(SETDEFAULT) to set default values for the following keywords:
- CONDID
- CONDDEPNO
Parameters
- ACTION (SETDEFAULT | ADD)
- If you specify SETDEFAULT, all the other values that you set
in the ADCNC statement become the default values for all the ADCNC
statements that follow. The application description database is not
updated. The parameters that you do not set, are assigned their standard
defaults.
If you specify ADD or use it by default, the statement can result in an update of the database.
- CONDID(condition ID)
- Condition identifier. Valid values are from 1 to 999.
- CONDDEPNO(number of condition dependencies)
- Number of condition dependencies to be included in this condition, each one corresponding to an ADCNS statement.
- CONDCOUNT(condition counter | 0)
- Condition counter. Use it to define the rule type:
- 0
- All the condition dependencies in this condition must be true.
- n
- At least n out of the condition dependencies in this condition must be true.
- CONDDESCR('descriptive text')
- A free-format description of the condition. It can be up to 16 characters and must be contained within single quotation marks. Do not include delimiters, such as parentheses and single quotation marks, in the description.
Examples
This example defines a condition including two condition dependencies:
ADCNC CONDID( 3) CONDDEPNO(2) CONDCOUNT(1)
CONDDESCR('WITH 2 COND.DEPS')
ADCNS …
ADCNS …