INSERT CPOCPRE

Insert a predecessor to a current plan occurrence.
ACTION=INSERT,RESOURCE=CPOCPRE,ADID=application_description,
                             IAD=input_arrival_date,
                             IA=input_arrival_datetime,
                             IAT=input_arrival_time,
                             OSTATUS=occurrence_status,
                             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;
                             
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))
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))
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.