Set up a holiday calendar

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.

Set up a holiday calendar

To set up a holiday calendar, follow these steps:
  1. Expand Work Management from your iSeries Navigator window.
  2. Right-click Advanced Job Scheduler and select Properties.
  3. On the General page, click Calendars.
  4. Click the Holiday Calendars tab.
  5. Click New and type a name for the calendar.
  6. In the Description field, specify text to describe the calendar.
  7. 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.
  8. 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.
  9. 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.
  10. Select specific days of the week to be included on the calendar.

Add a schedule to a holiday calendar

To add a holiday calendar to a scheduled job, follow these steps:
  1. Expand Work Management from your iSeries Navigator window.
  2. Right-click Advanced Job Scheduler and click Properties.
  3. On the General page, click Calendars.
  4. On the Holiday calendar page, select the holiday calendar and click Properties.
  5. From the lower left hand corner of the tab, click Schedules.
  6. Select the appropriate schedule and click Add.
  7. To change the Alternate day, right-click the schedule from the Selected Schedules list and click the correct Alternate Day.