03.03.2015 Views

Unicenter CA-Scheduler Job Management for VSE User Guide

Unicenter CA-Scheduler Job Management for VSE User Guide

Unicenter CA-Scheduler Job Management for VSE User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.2 Calendar Mechanisms<br />

5.2.3 Calendars<br />

any time you specified WEEK-DAY as the criteria, the schedule or job will be<br />

selected. The rest of the lines pertain to the datetable. They include the<br />

workday, the workday of the week, the workday of the month, the workday of<br />

the year, the work week, the relative days of the month, and the various<br />

accounting days.<br />

After reviewing this report carefully, you should understand how the criteria<br />

vocabulary works with the Gregorian calendar and datetables.<br />

To use calendar processing, set aside everything you have learned so far about<br />

the Gregorian calendar and datetables. Calendars use an entirely different<br />

approach to selecting schedules and jobs. Do not try to relate any discussion of<br />

calendars to the other calendar mechanisms.<br />

We do not recommend that you use calendars. Instead, try to do all of your<br />

definitions with datetables or the Gregorian calendar or a combination of the<br />

two. Consequently, the description of calendars will be brief. If you do not<br />

intend to use calendars, you can skip this subtopic.<br />

You would use this mechanism if a set of schedules have to run on specific<br />

dates during the year and there is no relationship between the dates. Then you<br />

would use a calendar to define just the days of the year on which those<br />

schedules run.<br />

When using calendars, a schedule or job is selected on the days that the<br />

calendar specifies as workdays. With calendars, the criteria language is not<br />

used <strong>for</strong> selection, only <strong>for</strong> defining predecessors. Again, the only thing you<br />

specify on a schedule <strong>for</strong> selection purposes is the calendar name. The same<br />

calendar also applies to the jobs in that schedule.<br />

The following steps describe how to use calendars.<br />

5.2.3.1 Step 1: Define the prototype calendar<br />

Be<strong>for</strong>e you define any calendars, first define a prototype calendar. This<br />

calendar defines your holidays and what to do if jobs are selected on holidays.<br />

In case of holidays, should jobs run on the prior workday, the next workday,<br />

or not at all? The prototype calendar must have a name PROTOyy, where yy<br />

is the year (<strong>for</strong> example, PROTO87).<br />

You can only have one prototype calendar <strong>for</strong> each year which means that<br />

there is only one set of holiday definitions. Once the prototype is defined, you<br />

can define calendars specific to your needs. Defining a prototype calendar<br />

follows.<br />

Chapter 5. Criteria Language 5-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!