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

The criteria language uses three types of yearly calendar mechanisms: Absolute Gregorian Calendar Defines specific keywords that have absolute dates associated with them. For example, the DAILY keyword causes a job to be selected every day including weekends and holidays; WEEK-DAY causes selection on Monday through Friday including holidays; and so forth. This mechanism is determined by the system and you do not have to define anything; only use the keywords. Datetables Calendars Defines workdays, holidays, accounting days, and accounting periods. This is the most flexible calendar mechanism to use and is the one recommended. It also provides the easiest transition at year end. Define daily, weekly, and monthly calendars to select schedules and jobs. When using calendars, only the calendar name determines selection. For example, you cannot also select based on a criteria statement: with calendars, criteria statements only define predecessors. To use this mechanism, you must define several different calendars. The following topics explain the criteria vocabulary and calendar mechanisms. 5-2 Unicenter CA-Scheduler User Guide

5.1 Criteria Vocabulary 5.1 Criteria Vocabulary The criteria vocabulary consists of a set of reserved words broken into the following categories: ■ ■ ■ Boolean expressions Selection of schedules and jobs Predecessor conditions on schedules and jobs The following discusses these categories in more detail and contains some examples. 5.1.1 Reserved Words for Use in Boolean Expressions OR and AND expressions are used with selection and predecessor keywords. The NOT expression is used with selection keywords only. Parentheses can be used to logically group these expressions. The examples following show how these reserved words can be used to handle real scheduling situations. 5.1.2 Reserved Words Used for Selection The following discusses reserved words that cause schedules and jobs to be selected on a given day. Gregorian Calendar keywords include such words as DAILY, WEEK-DAY, WEEK-END, SUN, MON, JAN, DEC, 1ST, 31ST, and so forth. Workday keywords include such words as WDAY, HDAY, WDOW1, WDOW7, WDOW-1, WDOM1, HDAY1, HDAY31, HDAY-1, RD01=+nn, RD31=-nn, and so forth. Accounting period keywords include such words as xDAY, xDOM1, xDOM40, xDOM-1, xMOY1, xWOF1, and so forth, where x is a one-character prefix that you define when you set up a datetable. Datetables are discussed in more detail later in this chapter. A schedule or job can be used to determine selection. When it is used, it automatically becomes a predecessor as well. Although the schedule or job name itself causes selection to occur, there are a couple of reserved words that can be used with them. One of these keywords is SCD, which identifies the next name as being a schedule name. Otherwise, it is always assumed to be a job name. The other keyword is START. Although the schedule or job name causes selection, START means that the predecessor is the starting of the schedule or Chapter 5. Criteria Language 5-3

5.1 Criteria Vocabulary<br />

5.1 Criteria Vocabulary<br />

The criteria vocabulary consists of a set of reserved words broken into the<br />

following categories:<br />

■<br />

■<br />

■<br />

Boolean expressions<br />

Selection of schedules and jobs<br />

Predecessor conditions on schedules and jobs<br />

The following discusses these categories in more detail and contains some<br />

examples.<br />

5.1.1 Reserved Words <strong>for</strong> Use in Boolean Expressions<br />

OR and AND expressions are used with selection and predecessor keywords.<br />

The NOT expression is used with selection keywords only. Parentheses can be<br />

used to logically group these expressions.<br />

The examples following show how these reserved words can be used to handle<br />

real scheduling situations.<br />

5.1.2 Reserved Words Used <strong>for</strong> Selection<br />

The following discusses reserved words that cause schedules and jobs to be<br />

selected on a given day.<br />

Gregorian Calendar keywords include such words as DAILY, WEEK-DAY,<br />

WEEK-END, SUN, MON, JAN, DEC, 1ST, 31ST, and so <strong>for</strong>th.<br />

Workday keywords include such words as WDAY, HDAY, WDOW1,<br />

WDOW7, WDOW-1, WDOM1, HDAY1, HDAY31, HDAY-1, RD01=+nn,<br />

RD31=-nn, and so <strong>for</strong>th.<br />

Accounting period keywords include such words as xDAY, xDOM1, xDOM40,<br />

xDOM-1, xMOY1, xWOF1, and so <strong>for</strong>th, where x is a one-character prefix that<br />

you define when you set up a datetable. Datetables are discussed in more<br />

detail later in this chapter.<br />

A schedule or job can be used to determine selection. When it is used, it<br />

automatically becomes a predecessor as well. Although the schedule or job<br />

name itself causes selection to occur, there are a couple of reserved words that<br />

can be used with them. One of these keywords is SCD, which identifies the<br />

next name as being a schedule name. Otherwise, it is always assumed to be a<br />

job name.<br />

The other keyword is START. Although the schedule or job name causes<br />

selection, START means that the predecessor is the starting of the schedule or<br />

Chapter 5. Criteria Language 5-3

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

Saved successfully!

Ooh no, something went wrong!