RELOP
The RELOP instruction releases an internal successors of an operation within an occurrence in the current plan.
Table 1 describes the keywords that can be used.
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 | |
EXCLISUC() | Optional | Yes | The operation successor that must not be released. | EISUC | |
Note: ¹
Mutually exclusive with another keyword. |
Note: Before deleting the dependency between the OPNO()
and internal successor operation, the program links the successor
operation to the default first operation within the application, which
is specified in the DEOPNO variable.
Examples:
- RELOP APPL(TEST01) OP(30)
- All the internal successor dependencies will be deleted from operation 30 of the occurrence TEST01 with the earliest or latest input arrival date and time, depending on the SORT parameter.
- RELOP OP(30) APPL(TEST01) EISUC(60)
- All the internal successor dependencies other than operation 60 will be deleted from operation 30 of the occurrence TEST01 with the earliest or latest input arrival date and time, depending on the SORT parameter.
- RELOP APPL(TEST01) OP(30) IAD(970708) IAT(1800)
- All the internal successor dependencies will be deleted from operation 30 of occurrence TEST01 with the input arrival date 970708 and time 1800.
- RELOP APPL(TEST01) EISUC(50,60) OP(30)
- All the internal successor dependencies other than 50 and 60 will be deleted from operation 30 of occurrence TEST01 with the earliest or latest input arrival date and time depending on the SORT parameter.
The RELOP instruction returns one of the following return codes:
- RESULT = 0
- The internal successors have been released.
- RESULT = 4
- Internal successors not released.
- RESULT = 8
- Invalid instruction or PIF problem. Refer to the error messages.