You can use calendar criteria to define complex date or day requirements.
To create a calendar criteria definition
The Calendar Criteria List appears.
The Calendar Criteria panel appears.
Specifies the name of the calendar criteria in use.
Briefly describes the calendar criteria.
Specifies the related calendar to use when the criteria expression is evaluated.
Note: Enter a question mark (?) to list the valid values for the fields.
Press F3 (File).
The criteria definition is created.
This following example shows a criteria definition that selects Mondays as long as it is not a public holiday, as identified by the PUBHOLNA keyword.
SOLVPROD--------- Automation Services : Calendar Criteria ---------Function=ADD
Command ===> Scroll ===> CSR
. Calendar Criteria Definition -----------------------------------------------.
| Name ......... MONNOTPUBHOL |
| Description .. Mondays but not public holidays |
| Calendar ..... AUCALENDAR Calendar for Australia |
'-----------------------------------------------------------------------------'
. Calendar Criteria Expression -----------------------------------------------.
| D=Delete I=Insert R=Repeat |
| "(" Keyword Opr Keyword Value ")" Bool |
| DAY EQ 'MON' AND |
| PUBHOLNA EQ 'N' |