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 SCHD-JRR RESOURCE DEFINITION Scheduler ===> MASTER - WR CONNECT : 4 JOB NAME : IH7D2 PROTOTYPE JOB: JNO: STN: JOB NUMBER : 1 PROTOTYPE JOB IN SCHEDULE : STATION ID : 4 SCHEDULE NAME : BACKUP MAX CPU TIME : ROUTE DELAY : SEPARATE DSNAME: SEPARATE JOBS LIST: DASD1 : 338,2 DASD2 : DASD3 : DASD4 : DASD VOLSERS : DASD EXCPS : TAPE1 : 348,1 TAPE2 : TAPE3 : TAPE4 : TAPE EXCPS: UNIT1 : UNIT2 : UNIT3 : UNIT4 : UNIT EXCPS: RECS= JBR: Y JCR: Y JRC: Y JIR: Y JMR: Y JRR: N JNR: N PF1=HELP First, let us focus on three fields that affect when jobs are actually processed: SEPARATE DSNAME Identifies a data set that can only be used by one job at a time. That means while this job is running, all other jobs are prevented from using that data set. Unicenter CA-Scheduler accepts up to 44 characters for a SEPARATE DSNAME. For this option to be effective, you must also define this data set as a SEPARATE DSNAME for every job that uses this data set. SEPARATE JOBS LIST Accepts up to eight entries that identify jobs that are submitted or started or that cannot run on this CPU while this job is running. If JOBA cannot run with JOBB, then JOBB cannot run with JOBA which means every job mentioned here also needs a JRR of its own that names this job in its SEPARATE JOBS LIST. When specifying more than one job name, use commas between them, or use mask characters. Mask characters identify a group of jobs by defining the characters that these job names have in common. The chart following gives several examples of how to use mask characters. To Separate All Jobs That Specify Start with PAY PAY* End with 0100 0100 3-86 Unicenter CA-Scheduler User Guide

3.9 Defining Jobs To Separate All Jobs That Somewhere contain the string QUEL Start with PAY and end with 00 Start with P and the third character is Y Specify *QUEL* PAY*00 P?Y* For more information about mask characters, see the definition in the Glossary. DASD VOLSERS Specifies up to eight DASD volumes that must be mounted before this job can be submitted. Specifying them here does not get the devices mounted. Instead, it causes Unicenter CA-Scheduler to set job status to WAITING FOR RESOURCES until all of the DASD VOLSERs listed here are mounted. When Unicenter CA-Scheduler sees that those resources are available, it then submits the job. When specifying more than one DASD VOLSER, use commas between them. To refine the accuracy of your simulations, define values where appropriate for the fields described preceding as well as the following: ■ ■ Identify how many of each type of DASD, tape and unit record devices this job uses. The DASD types entered here must match resources listed for the CPU's station record. Unicenter CA-Scheduler has allocated room for up to four different entries for each type of device. For example, if this job uses two 3380s, set DASD01 = 3380,2. That tells Unicenter CA-Scheduler that it should not simulate processing until: – Start time has been reached – All predecessor conditions have been satisfied – Those defined resources are available If this job is processed at several workstations, you may need to define a ROUTE DELAY. Estimate how long it takes this job to get to this station from the preceding one. This routing delay could take minutes or even days. The chart following shows your options for specifying ROUTE DELAY: Chapter 3. Maintaining the Database 3-87

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

<br />

SCHD-JRR RESOURCE DEFINITION <strong>Scheduler</strong><br />

===> MASTER - WR<br />

CONNECT : 4<br />

<br />

JOB NAME : IH7D2 PROTOTYPE JOB: JNO: STN:<br />

JOB NUMBER : 1 PROTOTYPE JOB IN SCHEDULE :<br />

STATION ID : 4<br />

SCHEDULE NAME : BACKUP<br />

MAX CPU TIME : ROUTE DELAY :<br />

SEPARATE DSNAME:<br />

SEPARATE JOBS<br />

LIST:<br />

DASD1 : 338,2 DASD2 :<br />

DASD3 : DASD4 :<br />

DASD VOLSERS :<br />

DASD EXCPS :<br />

TAPE1 : 348,1 TAPE2 :<br />

TAPE3 : TAPE4 :<br />

TAPE EXCPS:<br />

UNIT1 : UNIT2 :<br />

UNIT3 : UNIT4 :<br />

UNIT EXCPS:<br />

<br />

RECS= JBR: Y JCR: Y JRC: Y JIR: Y JMR: Y JRR: N JNR: N<br />

PF1=HELP<br />

<br />

First, let us focus on three fields that affect when jobs are actually processed:<br />

SEPARATE DSNAME<br />

Identifies a data set that can only be used by one<br />

job at a time. That means while this job is<br />

running, all other jobs are prevented from using<br />

that data set. <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> accepts up<br />

to 44 characters <strong>for</strong> a SEPARATE DSNAME. For<br />

this option to be effective, you must also define<br />

this data set as a SEPARATE DSNAME <strong>for</strong> every<br />

job that uses this data set.<br />

SEPARATE JOBS LIST<br />

Accepts up to eight entries that identify jobs that<br />

are submitted or started or that cannot run on this<br />

CPU while this job is running. If JOBA cannot<br />

run with JOBB, then JOBB cannot run with JOBA<br />

which means every job mentioned here also needs<br />

a JRR of its own that names this job in its<br />

SEPARATE JOBS LIST. When specifying more<br />

than one job name, use commas between them, or<br />

use mask characters. Mask characters identify a<br />

group of jobs by defining the characters that these<br />

job names have in common. The chart following<br />

gives several examples of how to use mask<br />

characters.<br />

To Separate All <strong>Job</strong>s That<br />

Specify<br />

Start with PAY<br />

PAY*<br />

End with 0100 0100<br />

3-86 <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> <strong>User</strong> <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!