Does CA Scheduler schedule with criteria of WEEK1OF5 run the first week every month?
CA Scheduler criteria of WEEK1OF5 for a schedule will only run the 1st week when there are only 5 weeks in a month which are most months. However in September and December of 2018 there are 6 weeks in those months. The schedule will not run in September and December 2018.
You can use REPORT DATETRAN to verify keyword criteria of WEEK1of5.
Go to CA Scheduler Online:
3 REPORTS - Execute and view reports
5 DATETRAN - Criteria keywords for a given date
then enter datetab (or the name of your default datetable) and 12012018
Date Table . . . datetab
In Schedule . .
In Job . . . . .
Starting Date . . . 12012018 (mmddyy/mmddyyyy/ddmmyy/ddmmyyyy)
Duration . . . . . (days)
here is the display that you should receive
REPORT DATETRAN TABLE=DATETAB,FROMDATE=12012018
JULIAN DATE=2018335 TABLE NAME=DATETAB
DAY OF WEEK=SAT WEEK-DAY=NO WEEK-END=YES MWF=NO TT=NO
NTH DAY OF MONTH=SAT1 SAT-5 NEGATIVE DAY OF MONTH=DOM-31 LEAP-YEAR=NO
INTERNATIONAL WEEK OF YEAR=I-WOY48 I-WOY-5
WEEK OF MONTH=1ST-WEEK WEEK OF YEAR=WOY48 WOY-6 DAYS IN MONTH=31
DAY1OF3=YES DAY2OF3=NO DAY3OF3=NO
DAY1OF4=NO DAY2OF4=NO DAY3OF4=YES DAY4OF4=NO
DAY1OF5=NO DAY2OF5=NO DAY3OF5=NO DAY4OF5=NO DAY5OF5=YES
DAY1OF6=YES DAY2OF6=NO DAY3OF6=NO DAY4OF6=NO DAY5OF6=NO DAY6OF6=NO
WEEK1OF3=YES WEEK2OF3=NO WEEK3OF3=NO
WEEK1OF4=YES WEEK2OF4=NO WEEK3OF4=NO WEEK4OF4=NO
WEEK1OF5=NO WEEK2OF5=NO WEEK3OF5=NO WEEK4OF5=NO WEEK5OF5=YES
WEEK1OF6=YES WEEK2OF6=NO WEEK3OF6=NO WEEK4OF6=NO WEEK5OF6=NO WEEK6OF6=NO
NOTE that WEEK1OF5=NO which means it will not recognize Dec 1st to run and will only run if WEEK1of5=YES.
For December 1, 2018, WEEK1OF6=YES since there are 6 weeks for the month of December.
As always, please contact CA Technologies support for CA JCLCheck if you have further questions.