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.

6.1 Commonly Asked Questions<br />

users in the SEND START MESSAGES TO list defined on the job's Message<br />

Definition panel.<br />

6.1.2.8 What Are My Options When a <strong>Job</strong> Abends?<br />

6.1.3 Analyzing the Database<br />

In the next chapter, the separate topic Restart/Recovery Of Scheduled <strong>Job</strong>s is<br />

devoted to this topic.<br />

This topic presents several questions you may have regarding analyzing the<br />

database and gives you difinitive answers.<br />

6.1.3.1 How Can I Prevent Predecessor Loops?<br />

Predecessor loops are also called predecessor deadlocks. A predecessor<br />

deadlock exists when two jobs end up requiring that the other execute first.<br />

For example:<br />

JOBA requires JOBX to run first.<br />

JOBB requires JOBA to run first.<br />

JOBX requires JOBB to run first.<br />

JOBX is a predecessor of JOBA, but cannot run until JOBB has ended. Since<br />

JOBB will not run until after JOBA has ended, there is a deadlock.<br />

Imagine how complicated this would be to resolve if there were a hundred<br />

jobs, each with many predecessors. It is difficult to detect a deadlock unless<br />

you use the Analyze Report.<br />

To obtain the Analyze Report, run the <strong>Unicenter</strong> <strong>CA</strong>-<strong>Scheduler</strong> Utility program<br />

(<strong>CA</strong>JUTIL0) with the batch command ANALYZE. You can check specific jobs<br />

or schedules or you can give a range of jobs or schedules. For example, you<br />

can analyze all schedules that begin with the first three characters PAY.<br />

Anytime you make significant changes to jobs or schedules, run this report to<br />

ensure that your changes have not introduced deadlocks. You should produce<br />

it any time the criteria <strong>for</strong> a job or schedule is changed.<br />

Instead of getting the comprehensive Analyze Report, you can use the<br />

LIST=NO operand to request that just the errors be reported.<br />

The ANALYZE command can also be issued online from any of these panels:<br />

■<br />

■<br />

■<br />

■<br />

<strong>Job</strong> Maintenance (SCHD-JM)<br />

<strong>Job</strong> Directory (SCHD-JD)<br />

Schedule Maintenance (SCHD-SM)<br />

Schedule Directory (SCHD-SD)<br />

6-10 <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!