Previous Topic: Defining the Scheduling CriteriaNext Topic: Scheduling a Job To Run After Another Job


Seeing When the Job Will Run

Resolving the schedule means telling CA Workload Automation SE to compare it to the calendar you specified and determine the exact days to process the job. To resolve the schedule, issue the RESOLV command. To issue the command, enter RESOLV in the FUNCTION field and press Enter. The next screen that you see has the RESOLV command on the top line. Move the cursor to the end of the RESOLV command and enter:

,YEAR=yy

where yy is the current year. Press Enter.

When you press Enter, the screen looks something like the following example:

RESOLV,TEST=NO,PRINT=YES,OLDYR=*,JOB=NAMEA,YEAR=13 CA-7 SCHEDULE / BASE CALENDAR RESOLUTION DATE yy.ddd TIME hh:mm:ss PAGE NO. 0001 OPTIONS: YEAR=13 SCAL=5D JOB=NAMEA OLDYR=* TEST=NO PRINT=YES DUPDATE=NO 0001 SCHEDULES SELECTED FOR RESOLUTION *****SCHEDULE RESOLUTION STARTED FOR SJnnnnnn JOB=NAMEA **SCHEDULE DATA : ID=001 ROLL=F INDEX=+000 SCAL= DOTM=2100 LEADTM=0030 STARTM=2030 WEEKLY DAY=TUE,THU **SCHEDULE DAYS ROLL STARTED : ROLL=F SRC1-113 JAN 01 (DAY# 001) ROLLED FORWARD TO JAN 02 (DAY# 002) SRC1-113 JUL 04 (DAY# 186) ROLLED FORWARD TO JUL 05 (DAY# 187) **SCHEDULE DAYS ROLL COMPLETED *****SCHEDULE RESOLUTION COMPLETED SCAL=135D JOB=NAMEA

The middle of the screen displays SCHEDULE DATA. You defined these values on the CPU Job Scheduling Parameter Edit screen.

The dates that are listed under SCHEDULE DAYS ROLL STARTED are different from the dates that are shown in this book unless you are also using SCAL135D with holidays defined on January 1 and July 4. These dates show you what happens to NAMEA when Tuesday or Thursday is a holiday. NAMEA is processed on the following day (because we specified F in the ROLL field).

Note: If you are resolving jobs during the July-December time frame and the next year calendar is not defined, you receive a message. The message is SCALxxyy not available (with the yy being the next year). If you receive this message, then move the cursor to the end of the command. The command remains at the top of the screen. Enter ,YEAR=yy where yy is the current year. Press Enter.

Press Enter to scroll forward to this screen:

RESOLV,TEST=NO,PRINT=YES,OLDYR=*,JOB=NAMEA,YEAR=13 CA-7 SCHEDULE / BASE CALENDAR RESOLUTION DATE yy.ddd TIME hh:mm:ss PAGE NO. 0002 OPTIONS: YEAR=13 SCAL=5D JOB=NAMEA OLDYR=* TEST=NO PRINT=YES DUPDATE=NO ******************************************************************************* * CA-7 SCHEDULE CALENDAR FOR SJnnnnnn * * DATE yyddd * * BASE CALENDAR SCAL135D (DEFAULT) * ******************************************************************************* * MONTH 01 JAN * * SUN MON TUE WED THU FRI SAT * * 02 03 * * 08 10 * * 15 17 * * 22 24 * * 29 31 * *******************************************************************************

This screen shows you when NAMEA is processed in January. NAMEA is processed every Tuesday and Thursday except for January 1 which is a holiday. Press Enter to scroll forward again, to this screen:

RESOLV,TEST=NO,PRINT=YES,OLDYR=*,JOB=NAMEA,YEAR=13 CA-7 SCHEDULE / BASE CALENDAR RESOLUTION DATE yy.ddd TIME hh:mm:ss PAGE NO. 0003 OPTIONS: YEAR=13 SCAL=5D JOB=NAMEA OLDYR=* TEST=NO PRINT=YES DUPDATE=NO ******************************************************************************* * CA-7 SCHEDULE CALENDAR FOR SJnnnnnn * * DATE yyddd * * BASE CALENDAR SCAL135D (DEFAULT) * ******************************************************************************* * MONTH 02 FEB * * SUN MON TUE WED THU FRI SAT * * * * 05 07 * * 12 14 * * 19 21 * * 26 28 * *******************************************************************************

This screen shows you that NAMEA is processed every Tuesday and Thursday in February. You can scroll through the rest of the months or can stop at any time and can go on to the next exercise.