AutoMan ©
Automation Power Tools for OS/390 and z/OS
|
AutoMan © Version 2.9 Workload Scheduling |
AutoMan © scheduling has been enhanced with advanced calendar expression definitions to simplify the way in which days and periods are specified and selected for scheduled activity. AutoMan © takes a natural language approach to the problem of specifying the logic of selecting days on which activity is to take place.
AutoMan © scheduling is designed so that schedules can be written and maintained by non-technical personnel.
Days, periods and categories of days are defined by simple hierarchical definitions that allow days to be defined by relationship to each other.
DEFINE DAY ( INDEPENDENCE_DAY ) AS (
4TH DAY OF JULY WHERE ( DOW IS NOT ( SAT SUN ) )
OR 3RD DAY OF JULY WHERE ( DOW IS FRI )
OR 5TH DAY OF JULY WHERE ( DOW IS MON )
)
ADD CATEGORY ( HOLIDAY )
DESCRIPTION ( 'US Federal Holiday' )
DEFINE DAY ( EASTER )
AS ( 1ST SUNDAY AFTER PASCHAL_MOON )
DESCRIPTION ( Easter )
DEFINE DAY ( GOOD_FRIDAY )
AS ( FIRST FRIDAY BEFORE EASTER )
DESCRIPTION ( Good Friday )
DEFINE DAY ( EASTER_MONDAY )
AS ( 1ST MON AFTER EASTER )
DESCRIPTION ( Easter Monday )
AutoMan © allows considerable flexibility in how dates are expressed, so that the user can choose the method that best suits them.