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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5.3 Some Examples<br />

and predecessor conditions this way makes it easier to evaluate these criteria<br />

statements.<br />

Example 9<br />

In this example, something a little more practical will be shown to show some<br />

of the logic behind determining criteria, which shows the type of thought<br />

process you may go through.<br />

The schedule named IH7BKUP backs up some disks and consists of three jobs:<br />

a daily backup, a weekly backup and a monthly backup.<br />

The daily job IH7D02 normally runs Monday through Thursday.<br />

Consequently, its criteria would be something like:<br />

MON OR TUE OR WED OR THU<br />

What happens on holidays? On holidays, you do not want the job to run. To<br />

omit holidays, revise the criteria as follows:<br />

WDAY AND (MON OR TUE OR WED OR THU)<br />

Now Monday through Thursday also have to be workdays. A more concise<br />

way of writing this criteria statement is as follows:<br />

WDAY AND NOT FRI<br />

Another factor to consider is whether this job has predecessors. In this case, it<br />

does not, so the daily job's selection criteria is now complete.<br />

Next, work on the weekly job. You already know to be conscience of holidays.<br />

If the weekly job runs on Monday through Thursday, the daily job must finish<br />

first. The criteria statement that best describes this is shown following.<br />

WDAY AND FRI<br />

OR<br />

(WDAY AND THU AND HDAY1 AND IH7D2 IH7BKUP)<br />

OR<br />

(WDAY AND WED AND HDAY1 AND HDAY2 AND IH7D2 IH7BKUP)<br />

Since the weekly job will always run on the last workday of the week, you can<br />

simplify the criteria statement preceding as follows:<br />

WDOW-1 AND PRED IH7D2 IH7DBUP<br />

The monthly job IH7M02 runs on the last workday of the month. Its<br />

predecessors vary depending on what day of the week this job runs.<br />

■<br />

If the last workday falls on Monday through Thursday, the monthly job<br />

should wait <strong>for</strong> the daily backup to complete.<br />

Chapter 5. Criteria Language 5-23

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

Saved successfully!

Ooh no, something went wrong!