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.1 Criteria Vocabulary<br />

Two types of explicit predecessors have been described so far:<br />

keyword-defined and selection-defined.<br />

Implicit predecessors are predecessors that do not have to be defined in the<br />

criteria. When the same schedule/job/job-number exists <strong>for</strong> more than one<br />

station (01 - 99), the sequential order of the stations defines implicit<br />

predecessors. For example, a CPU job on station 40 will always have an<br />

implicit predecessor of its staging job on station 39, if both are in the day's<br />

workload. Further, implicit predecessors are automatically selected on the<br />

same day that the CPU job (station 40) is selected. You can, however, code<br />

criteria <strong>for</strong> them to be selected less frequently than the CPU job. Note,<br />

however, that you cannot cause implicit predecessors to be selected on a day<br />

the CPU job is not selected.<br />

Furthermore, implicit predecessors can only exist <strong>for</strong> CPU jobs and post-CPU<br />

jobs. For example, a CPU job will not be submitted until all its pre-CPU jobs<br />

complete. Likewise, post-CPU jobs will not be started until their CPU jobs have<br />

ended.<br />

5.1.5 Using Multiple Conditions with ANDs and ORs<br />

The examples that have been used so far have contained only one reason. That<br />

is, the condition or combination of conditions, individually caused the reason a<br />

job or schedule was selected.<br />

The way you separate reasons is with an OR outside of a set of parentheses or<br />

with an OR if no parentheses are being used. For example,<br />

MON AND JOB1 OR TUE AND JOB2<br />

is the same as<br />

(MON AND JOB1) OR (TUE AND JOB2)<br />

Use parentheses as a normal convention since it more clearly depicts your<br />

intention. All of our examples will appear with parentheses.<br />

The reason a job is selected stays with the job <strong>for</strong> its life in the system. In the<br />

example preceding, the value 01 would be the reason if it was selected because<br />

it was (MON AND JOB1). The value 02 would be the reason if it was (TUE<br />

AND JOB2). This value can be referred to as the reason code.<br />

Understanding the relationships between reasons and predecessors is<br />

important. Since the criteria language is used to define both selection and<br />

predecessor conditions, there are rules <strong>for</strong> interpreting this mixture.<br />

Rule #1<br />

Every <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>-controlled job or schedule listed in a<br />

criteria statement is a predecessor if it is also in the day's<br />

production. Whether those jobs or schedules are part of the reason<br />

<strong>for</strong> selection does not matter.<br />

Chapter 5. Criteria Language 5-7

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

Saved successfully!

Ooh no, something went wrong!