03.03.2015 Views

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

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

7.4 Restart/Recovery of Scheduled <strong>Job</strong>s<br />

To recover any job, its JCL is either in the staging library or can be placed<br />

there by the RESTAGE operator command. Once it is in the staging library,<br />

you can modify it and resubmit the job.<br />

7.4.2 Automatic Recovery Options<br />

When defining a job to the database, there is a field called ABEND, which can<br />

be used to aid in automatic recovery of a job. There are four options you can<br />

specify in this field. They include:<br />

Option<br />

ABORT<br />

CONT<br />

BACKOUT<br />

Schedule name<br />

Description<br />

Indicates that successors to this job will not have<br />

this predecessor satisfied. This is the default value.<br />

Indicates that successors to this job are to be<br />

handled as if the job terminated normally because<br />

this predecessor has been satisfied.<br />

Indicates that successors to this job will not be<br />

posted as satisfied if this job abends. A backout job<br />

will be submitted automatically if you specified a<br />

value <strong>for</strong> the BACKOUT installation option.<br />

<strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> adds a new job tracking<br />

record <strong>for</strong> the backout job.<br />

Indicates that the schedule name provided is to be<br />

processed. This is a predefined recovery schedule<br />

that will be automatically processed should the job<br />

abend and the abended job will follow the same<br />

process as ABORT.<br />

If a recovery schedule is defined, it could contain a job that executes the<br />

<strong>CA</strong>JUCMD0 program that allows you to interrogate various job's status<br />

through batch commands. Based on the job status, other jobs could be brought<br />

in with the RUN, REQUEST, or ADD operator commands <strong>for</strong> recovering the<br />

abended job. This technique is described in the preceding topic of this chapter.<br />

When you define a recovery schedule, you should attempt to use some sort of<br />

naming convention so that any recovery schedule can be recognized quickly.<br />

For example, begin all recovery schedule names with RR.<br />

Another way to be sure that jobs that need recovery do not go unnoticed is to<br />

use the message facility. That is, you can specify up to four users to send<br />

messages to if the job abends or fails. <strong>User</strong>s are defined on the schedule and<br />

job message records and can be operator consoles or the <strong>Unicenter</strong><br />

<strong>CA</strong>-<strong>Scheduler</strong> mailbox. (See the topics Defining A Schedule Message Record<br />

and Creating A <strong>Job</strong> Message Record in the chapter "Maintaining the Database"<br />

<strong>for</strong> more in<strong>for</strong>mation.) Keep in mind that JCL errors <strong>for</strong> a job are treated as if<br />

the job failed.<br />

Chapter 7. Techniques 7-17

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

Saved successfully!

Ooh no, something went wrong!