ADCIV

Purpose

Use the ADCIV statement to define the absolute or relative interval specified with the A or R value in the ADCNS CONDDEPCSEL parameter. Only one ADCIV per ADCNS can be used, but the same ADCIV can be used by more ADCNS statements if they refer to the same external predecessor application and operation. The statement must be nested within the ADCNS to which it refers.

Format


1  ADCIV  ADCIVADID (
2.1 adid
1 )  ADCIVCID (
2.1 condition id
1 )  ADCIVOPNO (
2.1 operation number
1 )  ADCIVTYPE (
2.1! A
2.1 R
1 )  ADCIVFWHE (
2.1! A
2.1 B
1 )  ADCIVFHHH (
2.1 hhh
1 )  ADCIVFHH (
2.1 hh
1 )  ADCIVFMM (
2.1 mm
1 )  ADCIVFD (
2.1 days
1 )  ADCIVTWHE (
2.1! A
2.1 B
1 )  ADCIVTHHH (
2.1 hhh
1 )  ADCIVTHH (
2.1 hh
1 )  ADCIVTMM (
2.1 mm
1 )  ADCIVTD (
2.1 days
1 )

Parameters

ADCIVADID(adid )
The application name of the conditional external predecessor to which the interval applies.
ADCIVCID(condition ID)
The condition ID of the conditional external predecessor to which the interval applies.
ADCIVFD(days)
The start of the absolute interval in days. The allowed range is 0-7.
ADCIVFHH(hh)
The start of the absolute interval in the HH format. The allowed range is 00-24. Goes together with ADCIVFMM. 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:
ADCIVFHH(10) ADCIVFMM(30) ADCIVFD(1) ADCIVFWHE(B)     
ADCIVFHHH(hhh)
The start of the relative interval in hours. The format is HHH and the allowed range is 0-167. Goes together with ADCIVFMM.
ADCIVFMM(mm)
The minutes fraction of the start of the relative or absolute interval.
ADCIVFWHE(A | B)
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 ADCIVF... ones.

ADCIVOPNO(operation number)
The operation number of the conditional external predecessor to which the interval applies.
ADCIVTD(days)
The end of the absolute interval in days. The allowed range is 0-7.
ADCIVTHH(hh)
The end of the absolute interval in the HH format. The allowed range is 00-24. Goes together with ADCIVTMM. For example, if the absolute interval ends at 12:30 two days after the input arrival time of the successor, it is defined by:
ADCIVTHH(12) ADCIVTMM(30) ADCIVTD(2) ADCIVTWHE(A)     
ADCIVTHHH(hhh)
The end of the relative interval in hours. The format is HHH and the allowed range is 0-167. Goes together with ADCIVTMM.
ADCIVTMM(mm)
The minutes fraction of the end of the relative or absolute interval.
ADCIVTWHE(A | B)
Specifies if the end of the relative or absolute interval is before (B) or after (A) the input arrival time of the successor.
ADCIVTYPE(A | R)
The interval type. Can be one of the following values:
A
Absolute interval. Must be defined by the following parameters: ADCIVFWHE, ADCIVFHH, ADCIVFMM, ADCIVFD, ADCIVTWHE, ADCIVTHH, ADCIVTMM, ADCIVTD.
R
Relative interval. Must be defined by the following parameters: ADCIVFWHE, ADCIVFHHH, ADCIVFMM, ADCIVTWHE, ADCIVTHHH, ADCIVTMM.

Examples

This example specifies the absolute interval where an occurrence of application PAYREV, containing the operation 001, is to be searched as a matching conditional predecessor for the successor (the PAYTRANS operation defined in a preceding ADOP statement). The interval starts at 7:30 on the same day before the input arrival time of PAYTRANS (10:00) and ends at 9:55 of the same day.

ADCIV   ADCIVADID(payrev) ADCIVCID(005) ADCIVOPNO(001) ADCIVTYPE(A)  ADCIVFWHE(B)
        ADCIVFHH(07) ADCIVFMM(30) ADCIVFD(0) ADCIVTWHE(B) ADCIVTHH(09) ADCIVTMM(55) 
        ADCIVTFD(0)

This example specifies a relative interval to search the matching conditional predecessor that resolves the same dependency of the previous example. The interval starts at 7:30 one day before the input arrival time of PAYTRANS (10:00) and ends at 18:00 of one day after that input arrival time.

ADCIV   ADCIVADID(payrev) ADCIVCID(005) ADCIVOPNO(001) ADCIVTYPE(R)  ADCIVFWHE(B)
        ADCIVFHHH(026) ADCIVFMM(30) ADCIVTWHE(A) ADCIVTHHH(032) ADCIVTMM(00)