Example 4

The SORT parameter specifies whether OCL is to consider the application occurrence with the latest or the earliest input arrival date and time. For example:
COMPL APPL(TEST01)
The current plan includes the following occurrences of application TEST01:
Input arrival date: 97/12/01 time: 18.00
Input arrival date: 97/12/01 time: 20.00
Input arrival date: 97/12/03 time: 18.00
If SORT is MAX, OCL selects the occurrence with input arrival 97/12/03 1800 If SORT is MIN, OCL selects the occurrence with input arrival 971201 1800

The SORT parameter is used only if IA, IADATE, and IATIME keywords are not specified in the OCL instruction.