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
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
- Page 165 and 166: 3.13 Automatic Console Replies for
- Page 167 and 168: 3.13 Automatic Console Replies for
- Page 169 and 170: 3.14 Summary of Job Maintenance 3.1
- Page 171: 3.14 Summary of Job Maintenance To
- Page 174 and 175: 4.1 Online Monitoring Panel 4.1 Onl
- Page 176 and 177: 4.1 Online Monitoring Panel This ch
- Page 178 and 179: 4.2 Displaying Status Schedules and
- Page 180 and 181: 4.2 Displaying Status The table fol
- Page 182 and 183: 4.2 Displaying Status To Restrict T
- Page 184 and 185: 4.2 Displaying Status 4.2.4.1 Defau
- Page 186 and 187: 4.2 Displaying Status SCHD-CP SCHE
- Page 188 and 189: 4.2 Displaying Status If the schedu
- Page 190 and 191: 4.2 Displaying Status or backlogged
- Page 192 and 193: 4.2 Displaying Status The last two
- Page 194 and 195: 4.2 Displaying Status WAITING FOR S
- Page 196 and 197: 4.3 Handling Messages If your messa
- Page 198 and 199: 4.4 Handling Predecessor Conditions
- Page 200 and 201: 4.5 Handling Global Parameters 4.5.
- Page 202 and 203: 4.7 Displaying Data Set Mask Names
- Page 204 and 205: 4.9 Controlling Schedules 4.9 Contr
- Page 206 and 207: 4.10 Controlling Jobs 4.10 Controll
- Page 208 and 209: 4.10 Controlling Jobs Enter RELE CA
- Page 210 and 211: 4.10 Controlling Jobs SCHD-DADP D
- Page 212 and 213: 4.11 Summing Up To Specify Abbrevia
- Page 214 and 215: 4.11 Summing Up This Command Affect
- Page 218 and 219: 5.1 Criteria Vocabulary job. Normal
- Page 220 and 221: 5.1 Criteria Vocabulary Example SCD
- Page 222 and 223: 5.1 Criteria Vocabulary Given the e
- Page 224 and 225: 5.2 Calendar Mechanisms 5.2 Calenda
- Page 226 and 227: 5.2 Calendar Mechanisms 5.2.2.1 Wor
- Page 228 and 229: 5.2 Calendar Mechanisms Suppose you
- Page 230 and 231: 5.2 Calendar Mechanisms datetable o
- Page 232 and 233: 5.2 Calendar Mechanisms The panel f
- Page 234 and 235: 5.3 Some Examples 5.3 Some Examples
- Page 236 and 237: 5.3 Some Examples Example 7 A payro
- Page 238 and 239: 5.3 Some Examples ■ ■ If the la
- Page 240 and 241: 5.4 What Is Wrong with These Exampl
- Page 242 and 243: 5.4 What Is Wrong with These Exampl
- Page 245 and 246: Chapter 6. Tips This topic of the m
- Page 247 and 248: 6.1 Commonly Asked Questions 6.1.1.
- Page 249 and 250: 6.1 Commonly Asked Questions Keep i
- Page 251 and 252: 6.1 Commonly Asked Questions 6.1.2.
- Page 253 and 254: 6.1 Commonly Asked Questions To all
- Page 255 and 256: 6.1 Commonly Asked Questions For de
- Page 257 and 258: 6.1 Commonly Asked Questions use of
- Page 259 and 260: 6.1 Commonly Asked Questions 6.1.4
- Page 261 and 262: 6.1 Commonly Asked Questions If the
- Page 263 and 264: 6.1 Commonly Asked Questions Status
- Page 265 and 266: 6.2 Pitfalls predecessor criteria o
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