Issuing TEST with LAST SAT OF JAN FEB MAY JUL OCT results in...
00.00.00 SATURDAY FEBRUARY 23RD, 2008, DAY 054
00.00.00 SATURDAY MAY 31ST, 2008, DAY 152
00.00.00 SATURDAY JULY 26TH, 2008, DAY 208
00.00.00 SATURDAY OCTOBER 25TH, 2008, DAY 299
00.00.00 SATURDAY JANUARY 31ST, 2009, DAY 031
00.00.00 SATURDAY FEBRUARY 28TH, 2009, DAY 059
00.00.00 SATURDAY MAY 30TH, 2009, DAY 150
00.00.00 SATURDAY JULY 25TH, 2009, DAY 206
00.00.00 SATURDAY OCTOBER 31ST, 2009, DAY 304
00.00.00 SATURDAY JANUARY 30TH, 2010, DAY 030
Using the same criteria results in incorrect simulation with the RUN statement.
If the application is coded with
GENTIME FD LAST SAT OF JAN FEB MAY JUL OCT
No jobs are run except when simulated for last Sat of January.
- LAST SAT OF JAN FEB MAY JUL OCT
This schedule criteria will specify what it says, last Saturday of January, February, May, July and October for each year.
- LAST SAT JAN FEB MAY JUL OCT
This criteria actually means LAST SAT. Names of months are ignored.
LAST SAT, without specifying months, implies all months of a year.
- GENTIME function always generates a single date. If schedule criteria specifies multiple dates, only the first one will be generated.
GENTIME FD LAST SAT OF JAN FEB MAY JUL OCT will generate last Saturday of January and is the same as GENTIME FD LAST SAT OF JAN GENTIME FD LAST SAT JAN FEB MAY JUL OCT is the same as GENTIME FD LAST SAT
It will generate the last Saturday of the month, when event is triggered.