INSERT CPPRE
Insert a predecessor to a current plan operation.
ACTION=INSERT,RESOURCE=CPPRE,ADID=application_description,
IAD=input_arrival_date,
IA=input_arrival_datetime,
IAT=input_arrival_time,
OSTATUS=occurrence_status,
OPNO=operation_number,
PREADID=pre_application_description,
PREIAD=pre_input_arrival_date,
PREIA=pre_input_arrival_datetime,
PREIAT=pre_input_arrival_time,
PREOSTAT=pre_occurrence_status,
PREOPNO=pre_operation_number,
TRPTTIME=transport_time;
- application_description
- Character (char(16)) can be generic (%*)
- input_arrival_date
- Date (YYMMDD)
- input_arrival_datetime
- Date and time (YYMMDDHHMM) or X
- input_arrival_time
- Time (HHMM)
- occurrence_status
- Occurrence status (char(1))
- operation number
- Integer (integer(4))
- pre_application_description
- Character (char(16)) can be generic (%*)
- pre_input_arrival_date
- Date (YYMMDD)
- pre_input_arrival_datetime
- Date and time (YYMMDDHHMM) or X
- pre_input_arrival_time
- Time (HHMM)
- pre_occurrence_status
- Occurrence PRED status (char(1))
- pre_operation_number
- integer (integer(4))
- transport_time
- Integer (integer(4))
Note:
- An ADID is identified by ADID and IA (instead of IA it is possible to use IAD and IAT). If there is only one occurrence (regardless of its status) specify the correct value of IA or IA=X. If there is only one occurrence in a given status, specify the correct value of IA or IA=X and OSTATUS to identify the occurrence. If there is more than one occurrence in the status specified by the OSTATUS operand, a return code of 10 is sent. The same is true for the predecessor occurrence, which is identified by PREADID and PREIA (instead of PREIA it is possible to use PREIAD and PREIAT). If there is only one occurrence (regardless of its status) specify the correct value of PREIA or PREIA=X. If there is only one occurrence in a given status, specify the correct value of PREIA or PREIA=X and PREOSTAT to identify the occurrence. If there is more than one occurrence in the status specified by the PREOSTAT operand, a return code of 10 is sent.
- To create an internal dependency, do not specify either PREADID or PREIA.