ADAPD - Application Dependency

Use the ADAPD statement to define a predecessor for an application.

Table 1. Keywords for ADAPD
Keyword Description
PREADID Name of the predecessor application.
PRECSEL Specifies on which basis a matching predecessor is selected:
C
Closest preceding. The matching predecessor is the one with the nearest preceding input arrival time. This is the default.
S
Same scheduled date. The matching predecessor is the one with the nearest input arrival time within the same day of the operation (occurrence) under consideration. A matching predecessor is first searched before the IA time of the operation. Then, if not found, it is searched after the IA time of the operation.
A
Within an absolute interval. The matching predecessor is the one with the closest input arrival time in the specified interval. The interval boundaries are specified by a time and a number of days before or after the IA time of the operation (occurrence). The interval can be timed entirely before, entirely after, or across the IA time of the operation (occurrence).
R
Within a relative interval. The matching predecessor is the one with the closest input arrival time in the specified interval. The interval boundaries are calculated using an offset expressed in hours and minutes before or after the IA time of the operation (occurrence). The interval can be timed entirely before, entirely after, or across the IA time of the operation (occurrence).
PREOPNO The operation number of a predecessor operation to this application. If the predecessor is an application, PREOPNO is 0.
PREWSID The four-character workstation name of a predecessor operation to this application. If the predecessor is an application, PREWSID is blank.
FROMDAYS The start of the absolute interval in days. The allowed range is 0-7.
FROMHH The start of the absolute interval in the HH format. The allowed range is 00-24. To be specified together with FROMMM. For example, if the absolute interval starts at 10:30 of the day before the input arrival time of the successor, it is defined by FROMHH(10) FROMMM(30) FROMDAYS(1) FROMWHEN(B)
FROMHHH The start of the relative interval in hours. The format is HHH and the allowed range is 0-167. To be specified together with FROMMM.
FROMMM The minutes fraction of the start of the relative or absolute interval.
FROMWHEN Specifies if the start of the relative or absolute interval is before (B) or after (A) the input arrival time of the successor.

For relative intervals only, you can choose to make the interval start at an indefinite time in the plan (in this case the mechanism used is similar to that of the closest preceding predecessor). To do this, do not specify this parameter, nor any of the other FROM... ones.

TODAYS The end of the absolute interval in days. The allowed range is 0-7.
TOHH The end of the absolute interval in the HH format. The allowed range is 00-24. To be specified together with TOMM. For example, if the absolute interval ends at 12:30 two days after the input arrival time of the successor, it is defined by TOHH(12) TOMM(30) TODAYS(2) TOWHEN(A)
TOHHH The end of the relative interval in hours. The format is HHH and the allowed range is 0-167. To be specified together with TOMM.
TOMM The minutes fraction of the end of the relative or absolute interval.
TOWHEN Specifies if the end of the relative or absolute interval is before (B) or after (A) the input arrival time of the successor.
TYPE The interval type:
A
Absolute interval. Must be defined by the following parameters:

FROMWHEN, FROMHH, FROMMM, FROMDAYS,

TOWHEN, TOHH, TOMM, TODAYS.

R
Relative interval. Must be defined by the following parameters:

[FROMWHEN, FROMHHH, FROMMM, ]

TOWHEN, TOHHH, TOMM.

DESCR A free-format description of the dependency. It can be up to 50 characters.
PRINT Specifies the Long Term Plan print option:
A
Always
C
Conditional