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.4 What Is Wrong with These Examples?<br />

After JOBB in SCHED01 is selected, only these predecessors are left <strong>for</strong><br />

evaluation:<br />

(JOBA AND GBLB01=YES)<br />

When JOBA is not in the day's workload, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> knows that<br />

it cannot be a predecessor.<br />

Example 6<br />

Criteria <strong>for</strong> job JOBB:<br />

MON OR TUE OR WED OR THU OR FRI<br />

OR<br />

(SAT AND PRED JOBA)<br />

The intent is that JOBB would run Monday through Saturday, but only on<br />

Saturday if JOBA completed sometime since last Saturday (<strong>for</strong> example, it may<br />

be that JOBA only runs on Fridays). The rule is that keyword-defined explicit<br />

predecessors apply across all selection criteria. Consequently, JOBB will wait<br />

<strong>for</strong> JOBA every time JOBB is selected (even on Monday, Tuesday, and so<br />

<strong>for</strong>th).<br />

To accomplish this, you have to set up JOBB as two separate jobs: JOBB-01 and<br />

JOBB-02. Notice how the criteria <strong>for</strong> JOBB-01 has been simplified following.<br />

The correct way of coding this criteria statement is:<br />

Criteria <strong>for</strong> the first job JOBB-01:<br />

WEEK-DAY<br />

Criteria <strong>for</strong> the second job JOBB-02:<br />

SAT AND PRED JOBA<br />

5-28 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!