DELPRED

The DELPRED instruction deletes the external predecessors of an occurrence in the current plan or in the long-term plan. It modifies the current plan or long-term plan, depending on the date and time specified or defaulted to. If the date and time being used is after the end of the current plan, the modification will be made to the long-term plan instead of the current plan.

Table 1 describes the keywords that can be used.

Table 1. Keywords used in the Delpred Instruction
Keyword Requirement Multiple Values Allowed Description Abbreviation Format
APPL() Required No The name of the application to be modified.
OPNO() Optional Yes The number of the operation to be modified. OP
IADATE() Optional¹ No The input arrival date of the application occurrence. IADATE=() means the current date. IADATE() and IA() are mutually exclusive. IAD YYMMDD
IATIME() Optional¹ No The input arrival time of the application occurrence. If IADATE(=) is specified, IATIME() assumes the default input arrival time that is defined in the DEFIAT parameter of the EQQYRPRM member. IATIME() and IA() are mutually exclusive. IAT HHMM
IA() Optional¹ No The input arrival date and time of the application occurrence. IA(=) assumes the current date and time. It defaults to the earliest or latest input arrival date and time of the application occurrences found in the current plan, depending on the SORT parameter specified in PARMLIB or in the INIT instruction. IA() cannot be used with IADATE() or IATIME(). YYMMDDHHMM
EXCLOPNO() Optional Yes The operation number that must not be modified. EOP
EXCLPRE() Optional Yes The predecessor application name that must not be deleted. EPRE
Note: ¹ Mutually exclusive with another keyword.
Examples:
DELPRED APPL(TEST01)
All the predecessor dependencies will be deleted from occurrence TEST01 with the latest or earliest input arrival date and time, depending on the SORT parameter specified in PARMLIB or in the INIT instruction.
DELPRED APPL(TEST01) IAD(970708) OP(40,50)
All the predecessor dependencies will be deleted from operations 40 and 50 of the occurrence TEST01 with the input arrival date 970708 and the input arrival time that corresponds to the current time.
DELPRED APPL(TEST01) IA(=) EXCLOP(20)
All the predecessor dependencies will be deleted from the operations other than operation 20 of the occurrence TEST01 with the input arrival date and time that corresponds to the current date and time.
DELPRED APPL(TEST01) IA(=) EPRE(TEST00)
All the predecessor dependencies other than occurrence TEST00 will be deleted from the occurrence EST01 with the input arrival date and time that corresponds to the current date and time.
The DELPRED instruction returns one of the following return codes:
RESULT = 0
Predecessor dependency definition deleted.
RESULT = 4
Occurrence or operation not found in the current plan or in the long-term plan.
RESULT = 8
Invalid instruction or PIF problem. Refer to the error messages.