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.7 Summing Up 7.7 Summing Up The following is a review of the important principles outlined previously. 7.7.1 On-Request Schedules and Jobs Remember these subtleties when defining a criteria statement containing the keyword REQUESTED: ■ ■ A criteria statement of REQUESTED causes Unicenter CA-Scheduler to put that schedule or job and its successors in the inactive queue at autoscan. When OR REQUESTED occurs in a criteria statement, Unicenter CA-Scheduler will select that schedule or job daily. However, whether it is put in the inactive queue depends on the reason for selection. If selection occurs because of REQUESTED, that schedule or job is placed in the inactive queue. Therefore, the order of reasons in a criteria statement really matters a lot if one of the reasons is requested. When a schedule or job is selected because of REQUESTED, all its successors are put in the inactive queue. Issuing a REQUEST command moves a schedule or job and all its successors to 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 7.7.2 Backlogged Work If work is backlogged for more than 48 hours, it is likely that the second day's schedule will never run. Monitor your backlogged work carefully. 7.7.3 Online Commands in Batch The CAJUCMD0 program can process six types of batch transactions: Prefix CP MO SC CI Transaction Type Issue the following VM command. Send the following text to the operator console. Issue the following Unicenter CA-Scheduler operator command, which can include the conditional batch IF statement. CICS Transactions 7-34 Unicenter CA-Scheduler User Guide

7.7 Summing Up Prefix PW DM Transaction Type POWER commands Commands stored in the documentation library IF statements can include AND, OR and NOT keywords, test for major and minor status codes test the value of a global parameter 7.7.4 Recovery 7.7.5 Multi-CPU Considerations Jobs that may need recovery have a status of ABENDED, OPERATOR CANCLD, or FAILED. The ABEND field on a job base record controls what happens automatically if a job abends. If ABEND specifies a recovery schedule, that schedule could include a job that executes the program CAJUCMD0. Unicenter CA-Driver can automatically restart a job at different steps depending on the type of abend that occurred. Be sure to specify these values in the CAIJGEN macro when installing Unicenter CA-Scheduler: MCPU=YES SHARE=YES SYSID=(sysid1,2,...) INSRSYS=YES Run the program CAJUTIL0 with the keyword SHARE=YES in the FORMAT statements for the following files: CAIJMST CAIJTRK CAIJSTG CAIJDCM If Unicenter CA-Driver is installed at your site, run the program CARUINTA or CAJUTIL0 with the keyword SHARE=YES in the FORMAT statement for the Unicenter CA-Driver procedure library (CAIJDRV). If you have multiple CPUs in a POWER environment that is not shared spool, you must specify a SYSID for each schedule you define unless it is controlled from first SYSID in the list generated with the CAIJGEN macro. In this environment, it is not possible to have a schedule controlled by one CPU and have its jobs executed on another CPU. Chapter 7. Techniques 7-35

7.7 Summing Up<br />

Prefix<br />

PW<br />

DM<br />

Transaction Type<br />

POWER commands<br />

Commands stored in the documentation library<br />

IF statements can include AND, OR and NOT keywords, test <strong>for</strong> major and<br />

minor status codes test the value of a global parameter<br />

7.7.4 Recovery<br />

7.7.5 Multi-CPU Considerations<br />

<strong>Job</strong>s that may need recovery have a status of ABENDED, OPERATOR<br />

<strong>CA</strong>NCLD, or FAILED. The ABEND field on a job base record controls what<br />

happens automatically if a job abends. If ABEND specifies a recovery schedule,<br />

that schedule could include a job that executes the program <strong>CA</strong>JUCMD0.<br />

<strong>Unicenter</strong> <strong>CA</strong>-Driver can automatically restart a job at different steps<br />

depending on the type of abend that occurred.<br />

Be sure to specify these values in the <strong>CA</strong>IJGEN macro when installing<br />

<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong>:<br />

MCPU=YES SHARE=YES SYSID=(sysid1,2,...) INSRSYS=YES<br />

Run the program <strong>CA</strong>JUTIL0 with the keyword SHARE=YES in the FORMAT<br />

statements <strong>for</strong> the following files:<br />

<strong>CA</strong>IJMST <strong>CA</strong>IJTRK <strong>CA</strong>IJSTG <strong>CA</strong>IJDCM<br />

If <strong>Unicenter</strong> <strong>CA</strong>-Driver is installed at your site, run the program <strong>CA</strong>RUINTA<br />

or <strong>CA</strong>JUTIL0 with the keyword SHARE=YES in the FORMAT statement <strong>for</strong><br />

the <strong>Unicenter</strong> <strong>CA</strong>-Driver procedure library (<strong>CA</strong>IJDRV).<br />

If you have multiple CPUs in a POWER environment that is not shared spool,<br />

you must specify a SYSID <strong>for</strong> each schedule you define unless it is controlled<br />

from first SYSID in the list generated with the <strong>CA</strong>IJGEN macro. In this<br />

environment, it is not possible to have a schedule controlled by one CPU and<br />

have its jobs executed on another CPU.<br />

Chapter 7. Techniques 7-35

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

Saved successfully!

Ooh no, something went wrong!