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

7.1 On-Request Schedules and Jobs 7.1 On-Request Schedules and Jobs 7.1.1 Discussion This topic discusses on-request schedules and jobs and gives you many examples of criteria language. On-request schedules and jobs are ones that are selected every day, and placed in an inactive queue, in case they are needed. They remain in an INACTIVE status until they are activated by an operator command which means that you cannot determine in advance whether the schedule or job will be needed on any particular day. You define an on-request schedule or job using REQUESTED, a Gregorian calendar reserved word, in its selection criteria. When the autoscan process runs, all REQUESTED schedules and jobs are selected along with their successors and placed in Unicenter CA-Scheduler's tracking file in an inactive queue. The only way they can be removed from the inactive queue is using the operator command REQUEST or SREQ. When removed from the inactive queue, they are placed in the active queue and will then be handled as normally selected jobs. An important difference between the REQUEST and SREQ commands is that REQUEST also places the successor schedules and jobs in the active queue. The SREQ command handles successors differently: SREQ will not activate a successor if it involves other requested jobs. A successor of an SREQed schedule or job will not be moved to the active queue if: ■ ■ The successor's criteria statement contains the keyword REQUESTED or That successor is also the successor of some other requested job in the inactive queue All schedules and jobs that have not been requested by the next autoscan are purged from Unicenter CA-Scheduler's tracking file, regardless of which BACKLOG values they had defined. There is a guideline you should follow when using the REQUESTED keyword: To ensure that simulation produces reason codes that match those produced by Unicenter CA-Scheduler, specify REQUESTED after job and schedule names in selection criteria whenever possible. 7-2 Unicenter CA-Scheduler User Guide

7.1 On-Request Schedules and Jobs 7.1.2 Criteria Language Subtleties 7.1.2.1 Example 1 The best way to explain these subtleties is with examples. Each example assumes that the jobs described are all contained in the same schedule. Although you should always specify schedule names with job names in criteria statements, they are omitted in the examples following to keep things simple. Job JOBA JOBB JOBC Criteria REQUESTED JOBA JOBB 7.1.2.2 Example 2 In the preceding example, all three jobs will be placed in the inactive queue every day. Job JOBA Criteria MON AND REQUESTED JOBA will be placed in the inactive queue every Monday. 7.1.2.3 Example 3 Job JOBA Criteria MON OR REQUESTED 7.1.2.4 Example 4 The preceding example follows the same rules as MON when selected on Monday and treated as a normal job (meaning that on Mondays, it is placed in the active queue and it does not have to be requested). Any other day, it will be treated as a requested job. Job JOBA JOBA1 JOBB Criteria REQUESTED None JOBA OR JOBA1 Chapter 7. Techniques 7-3

7.1 On-Request Schedules and <strong>Job</strong>s<br />

7.1.2 Criteria Language Subtleties<br />

7.1.2.1 Example 1<br />

The best way to explain these subtleties is with examples. Each example<br />

assumes that the jobs described are all contained in the same schedule.<br />

Although you should always specify schedule names with job names in criteria<br />

statements, they are omitted in the examples following to keep things simple.<br />

<strong>Job</strong><br />

JOBA<br />

JOBB<br />

JOBC<br />

Criteria<br />

REQUESTED<br />

JOBA<br />

JOBB<br />

7.1.2.2 Example 2<br />

In the preceding example, all three jobs will be placed in the inactive queue<br />

every day.<br />

<strong>Job</strong><br />

JOBA<br />

Criteria<br />

MON AND REQUESTED<br />

JOBA will be placed in the inactive queue every Monday.<br />

7.1.2.3 Example 3<br />

<strong>Job</strong><br />

JOBA<br />

Criteria<br />

MON OR REQUESTED<br />

7.1.2.4 Example 4<br />

The preceding example follows the same rules as MON when selected on<br />

Monday and treated as a normal job (meaning that on Mondays, it is placed in<br />

the active queue and it does not have to be requested). Any other day, it will<br />

be treated as a requested job.<br />

<strong>Job</strong><br />

JOBA<br />

JOBA1<br />

JOBB<br />

Criteria<br />

REQUESTED<br />

None<br />

JOBA OR JOBA1<br />

Chapter 7. Techniques 7-3

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

Saved successfully!

Ooh no, something went wrong!