Create a Calendar Criteria Definition

You can use calendar criteria to define complex date or day requirements.

To create a calendar criteria definition

  1. Enter /ASADMIN.CC.CR.

    The Calendar Criteria List appears.

  2. Press F4 (Add).

    The Calendar Criteria panel appears.

  3. Complete the following fields:
  4. Specify the expression that defines your criteria. Press F1 (Help) for more information.

    Note: Enter a question mark (?) to list the valid values for the fields.

    Press F3 (File).

    The criteria definition is created.

Example: Specify the Criteria Expression

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' |


Copyright © 2010 CA. All rights reserved.