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

supportcontent.ca.com
from supportcontent.ca.com More from this publisher
03.03.2015 Views

3.9 Defining Jobs Defining predecessors forces Unicenter CA-Scheduler to witness a specific event before starting AUTO-STARTed non-CPU jobs or submitting CPU jobs. Predecessors can be a variety of events: ■ ■ ■ ■ ■ The start or end of another schedule or job The close of an output data set or output generation data group A user-defined event that you can control using a global parameter The normal completion of a job that isn't controlled by Unicenter CA-Scheduler An event that occurred sometime in the past Defining predecessors for schedules forces Unicenter CA-Scheduler to witness a specific event before evaluating any jobs in that schedule. You can also define predecessors for individual jobs. If both a schedule and its jobs have predecessors: ■ ■ None of the schedule's jobs will be evaluated until the schedule's predecessors are satisfied and the schedule starts. Once the schedule's predecessors are met, other factors such as start times determine whether the job is ready to be submitted once its predecessors are satisfied. Note: Defining predecessors for jobs does not override a schedule's predecessors: instead, predecessors are cumulative. When jobs must run in a certain order, define predecessors for either schedules or jobs. Be careful deciding what that predecessor should be: check what days your predecessor is selected. For example, suppose your job's predecessor isn't eligible to be selected on the same day your job is. If a predecessor is not in the day's workload, Unicenter CA-Scheduler ignores it: your job runs without waiting for the predecessor. This feature makes writing criteria statements easier. See the chapter "Criteria Language" for instructions on how that is done. When Unicenter CA-Scheduler lines up work to be processed during the day, the first factor it considers is predecessors. Then Unicenter CA-Scheduler compares start times, putting schedules that can start earliest ahead of ones that start later. Unicenter CA-Scheduler orders jobs within schedules in the same way: jobs that can start earlier go ahead of jobs from the same schedule that have later start times. Schedules without predecessors and start times go to the top of the list because nothing is delaying them from starting. Likewise, jobs without predecessors and start times are the first jobs listed for each schedule. 3-60 Unicenter CA-Scheduler User Guide

3.9 Defining Jobs The chart preceding illustrates how Unicenter CA-Scheduler sequences jobs. Schedule A is first because A has no predecessors. Schedule B is ahead of C because B has no start time. Now look at Schedule A's jobs to see why they are sequenced in this order. Job A1 is first because it has no predecessors and no start time. Since A3 has predecessors, A2 goes ahead of it. Now look at job start times in Schedule B. B1 has no start time so it goes ahead of B2. B2 is next because it can start earlier than B3. B4 is last because only that job has predecessors in addition to the predecessors defined for the schedule. Even though B4 has an earlier start time, its predecessors put it at the end of Schedule B. Now look at Schedule C to see how schedule and job start times interact. Schedule C starts at 9 a.m. Job C1 does not have a start time, but its schedule does. Therefore, C1 will not start until 9 a.m. What about C2? Its start time is 6 a.m., but this schedule does not start until three hours later. Therefore, C2 cannot start before 9 a.m. even if you give it an earlier start time. Note: Job start times do not override specified schedule start times. Instead, they let you postpone running jobs after a schedule has started. Unicenter CA-Scheduler gives you three ways of specifying when jobs start. To see which method you chose, Unicenter CA-Scheduler checks the values of USE SIMTIME. SIMTIME is only used at sites with extensive Unicenter CA-Scheduler experience. Such sites have defined their resources in great detail and automated the vast majority of their workload using Unicenter CA-Scheduler. As a result, they have refined simulation to such a degree that it accurately reflects their daily operation. In fact, their simulation runs are so accurate that those sites can rely on simulation data to determine when schedules can start and jobs can be submitted. USE SIMTIME defaults to NO. Only sites using Unicenter CA-Scheduler's most advanced features choose to implement SIMTIME as their start time. Chapter 3. Maintaining the Database 3-61

3.9 Defining <strong>Job</strong>s<br />

The chart preceding illustrates how <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> sequences jobs.<br />

Schedule A is first because A has no predecessors. Schedule B is ahead of C<br />

because B has no start time. Now look at Schedule A's jobs to see why they are<br />

sequenced in this order. <strong>Job</strong> A1 is first because it has no predecessors and no<br />

start time. Since A3 has predecessors, A2 goes ahead of it.<br />

Now look at job start times in Schedule B. B1 has no start time so it goes<br />

ahead of B2. B2 is next because it can start earlier than B3. B4 is last because<br />

only that job has predecessors in addition to the predecessors defined <strong>for</strong> the<br />

schedule. Even though B4 has an earlier start time, its predecessors put it at<br />

the end of Schedule B.<br />

Now look at Schedule C to see how schedule and job start times interact.<br />

Schedule C starts at 9 a.m. <strong>Job</strong> C1 does not have a start time, but its schedule<br />

does. There<strong>for</strong>e, C1 will not start until 9 a.m. What about C2? Its start time is<br />

6 a.m., but this schedule does not start until three hours later. There<strong>for</strong>e, C2<br />

cannot start be<strong>for</strong>e 9 a.m. even if you give it an earlier start time.<br />

Note: <strong>Job</strong> start times do not override specified schedule start times. Instead,<br />

they let you postpone running jobs after a schedule has started.<br />

<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> gives you three ways of specifying when jobs start.<br />

To see which method you chose, <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> checks the values of<br />

USE SIMTIME. SIMTIME is only used at sites with extensive <strong>Unicenter</strong><br />

<strong>CA</strong>-<strong>Scheduler</strong> experience. Such sites have defined their resources in great<br />

detail and automated the vast majority of their workload using <strong>Unicenter</strong><br />

<strong>CA</strong>-<strong>Scheduler</strong>. As a result, they have refined simulation to such a degree that<br />

it accurately reflects their daily operation. In fact, their simulation runs are so<br />

accurate that those sites can rely on simulation data to determine when<br />

schedules can start and jobs can be submitted. USE SIMTIME defaults to NO.<br />

Only sites using <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>'s most advanced features choose to<br />

implement SIMTIME as their start time.<br />

Chapter 3. Maintaining the Database 3-61

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

Saved successfully!

Ooh no, something went wrong!