Setting up a holiday calendar
These instructions show how to set up a calendar for days that you do not want to allow processing for a scheduled job. Alternate days can be specified for each exception day, or processing can be skipped completely for that day.
A holiday calendar is an exception calendar for days that you do not want to process an Advanced Job Scheduler job. Alternate days can be specified for each exception day that you specify in a holiday calendar. You can display holiday calendars, add a new holiday calendar, add a new holiday calendar based on an existing one, or remove an existing calendar, provided it is not in use by a currently scheduled job.
Predefined schedules can be used in holiday calendars. You can create a schedule THIRDFRI that has a frequency of the third Friday of each month. When you use THIRDFRI in a holiday calendar, you cause all jobs that use this holiday calendar to not run on the third Friday of each month. One or more schedules can be used in a holiday calendar. Dates that are generated by the schedule will be shown on the calendar with a black border.
You can select a calendar and display its properties to make changes. When you select a calendar, the details of the calendar are displayed under Details.
Parent topic:
Setting up the Advanced Job SchedulerPrevious topic: Setting up a scheduling calendarNext topic: Setting up a fiscal calendar
Setting up a holiday calendar
To set up a holiday calendar, follow these steps:
- Expand Work Management from your iSeries™ Navigator window.
- Right-click Advanced Job Scheduler and select Properties.
- On the General page, click Calendars.
- Click the Holiday Calendars tab.
- Click New and type a name for the calendar.
- In the Description field, specify text to describe the calendar.
- Choose a Reference calendar if applicable. This is a calendar that was previously set up, and its properties will be applied to the new calendar as if you merged the two calendars. You will not have reference calendars if this is your first time using the Advanced Job Scheduler.
- Select the dates that you want to include on your calendar. You must specify whether each date you have selected is for the current year or for every year in the Selected date field, before you can add another date to the calendar. Otherwise, any date you select will be deselected when you click a different date.
- Select an alternate day for the job to run. You can choose the previous working day, next working day, a specific date or not at all. To select a specific date, click Specific alternate date, and type the date.
- Select specific days of the week to be included on the calendar.
Adding a schedule to a holiday calendar
To add a holiday calendar to a scheduled job, follow these steps:
- Expand Work Management from your iSeries Navigator window.
- Right-click Advanced Job Scheduler and click Properties.
- On the General page, click Calendars.
- On the Holiday calendar page, select the holiday calendar and click Properties.
- From the lower left hand corner of the tab, click Schedules.
- Select the appropriate schedule and click Add.
- To change the Alternate day, right-click the schedule from the Selected Schedules list and click the correct Alternate Day.