INSERT CPCOND
Insert a condition in the current plan.
ACTION=INSERT,RESOURCE=CPCOND,ADID=application_description,
IA=input_arrival_datetime,
OPNO=operation_number,
CONDID=condition_ID,
COUNT=condition_counter,
DESC=descriptive_text,
PREADID=predecessor_application_description,
PREIA=predecessor_input_arrival_datetime,
PREOPNO=predecessor_operation_number,
PREPSTEP=step_name,
PRESTEP=procedure_invocation_step_name,
PRETYPE=check_type,
PRELOG=logical_operator,
PREVRC1=predecessor_return_code_value1,
PREVRC2=predecessor_return_code_value2,
PREVST=predecessor_status;
- application_description
- Character (char(16)) can be generic (%*)
- input_arrival_datetime
- Date and time: YYMMDDHHMM
- operation_number
- Integer (integer(4))
- condition_ID
- Integer (integer(3))
- condition_counter
- Integer (integer(3)). Use it to define the rule type:
- 0
- All the condition dependencies in this condition must be true
- n>0
- At least n out of the condition dependencies in this condition must be true
- descriptive_text
- Character (char(16))
- predecessor_application_description
- Character (char(16))
- predecessor_input_arrival_datetime
- Date and time: YYMMDDHHMM
- predecessor_operation_number
- Integer (integer(4))
- step_name
- Character (char(8)). Use it to define a step level dependency. If the step is not in
a procedure, this parameter identifies the job step name, otherwise it identifies the
step name in the JCL procedure. It must correspond to the name of an
EXEC PGM=
statement. - procedure_invocation_step_name
- Character (char(8)). Use it in conjunction with
PREPSTEP
when defining a step level dependency, only if the step is in a procedure, to identify the name of a step that invokes an in-stream or cataloged procedure. It must correspond to the name of anEXEC PROC=
statement. - check_type
- RC or ST (char(2))
- logical_operator
-
Character (char(2)) can be:
- GE
- Greater than or equal to. Valid only for RC check type.
- GT
- Greater than. Valid only for RC condition type.
- LE
- Less than or equal to. Valid only for RC condition type.
- LT
- Less than. Valid only for RC check type.
- EQ
- Equal to.
- NE
- Not equal to. Use it to specify conditions on final statuses only.
- RG
- Range.
- predecessor_return_code_value1
- Character (char(4)). For values with less than four significant characters, use 0 as leading characters.
- predecessor_return_code_value2
- Character (char(4)) as second boundary in a range expressed by the RG logical operator. For values with less than four significant characters, use 0 as leading characters.
- predecessor_status
- Character (char(1)) valid only for ST check type
COUNT, DESC, and PREIA are optional argument.
The other argument are required. PREIA also is required for external predecessors.
To create an internal dependency, do not specify either PREADID or PREIA.