ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaih_5.4.0.1/rzaksajstroubleshoot.htm

101 lines
6.4 KiB
HTML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Troubleshoot the Advanced Job Scheduler" />
<meta name="abstract" content="When a job does not run at the scheduled time, find out what you can do." />
<meta name="description" content="When a job does not run at the scheduled time, find out what you can do." />
<meta name="DC.Relation" scheme="URI" content="rzaksajsmanage2.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzaksajstroubleshoot" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Troubleshoot the Advanced Job Scheduler</title>
</head>
<body id="rzaksajstroubleshoot"><a name="rzaksajstroubleshoot"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Troubleshoot the Advanced Job Scheduler</h1>
<div><p>When a job does not run at the scheduled time, find out what you
can do.</p>
<p>To troubleshoot the Advanced Job Scheduler, first view the <a href="http://www-1.ibm.com/servers/eserver/iseries/jscheduler/faqs.htm" target="_blank">Job
Scheduler frequently asked questions</a> <img src="www.gif" alt="Link outside Information Center" /> Web page. Read about commonly asked questions that
identify how to do certain functions with Advanced Job Scheduler.</p>
<p>Also, here are a list of items that you can review when a job does not
run at the scheduled time:</p>
<dl><dt class="dlterm">Current<sup>®</sup> fix
level</dt>
<dd>The first thing you should verify is that your fixes are current. When
you request fixes, be sure to request a list of all fixes. Not all fixes are
included in the <a href="../rzam8/rzam8fixcumpack.htm">cumulative
packages</a>.</dd>
<dt class="dlterm">Check job monitor</dt>
<dd><ul><li>Job QIJSSCD should be active in the QSYSWRK subsystem. If it is not, process
the Start Job Scheduler (<span class="cmdname">STRJS</span>) command.</li>
<li>The job monitor can be in a loop if the status of the job is RUN for over
ten minutes. If it is in a loop, end the job with *IMMED, and start the job
monitor again (<span class="cmdname">STRJS</span>).</li>
<li>If there is a message to answer, reply with a C (Cancel). The job monitor
will go into a 90-second delay and then start monitoring again. Print the
job log for the monitor job. This will contain the error messages.</li>
</ul>
</dd>
<dt class="dlterm">Check the Advanced Job Scheduler log</dt>
<dd>Process the Display Log for Job Scheduler (<span class="cmdname">DSPLOGJS</span>)
command for the job. Press F18 to go to the end of the list. Entries exist
to explain why the job did not run. Examples of the entries include a resource
failure, active or job dependency situation, or submission error.</dd>
<dt class="dlterm">Dependency on another job</dt>
<dd>If the job is dependent on another job, take option 10 from the Work with
Jobs display to display job dependencies. Press F8 to list all predecessor
jobs. A dependent job cannot run unless all the predecessor jobs show *YES
in the <span class="uicontrol">Complete</span> column.</dd>
<dt class="dlterm">Track a job's progress</dt>
<dd>If a job is not functioning properly, you can use the Set Step using Job
Scheduler (<span class="cmdname">SETSTPJS</span>) command before or after a step in
your CL program to help determine what the problem is. Specify the command
along with description text in your CL program. Use this command as many times
as necessary. The text description that is associated with the current command
is displayed in the Command step field on the Last Run page of the scheduled
job properties. In addition, you can view the Command step field on the Status
window of an active job. The Command step field is automatically updated every
time the job encounters the <span class="cmdname">SETSTPJS</span> command. Use this
command to help determine the progress of a job.</dd>
</dl>
<p>Collecting these data samples will help in your problem analysis:</p>
<dl><dt class="dlterm">Error message conditions</dt>
<dd>Print the job log for the interactive session, monitor job or scheduled
job, depending where the error occurred.</dd>
<dt class="dlterm">Job schedule date is not correct</dt>
<dd>Process the <span class="cmdname">DSPJOBJS</span> command for the job with OUTPUT(*PRINT).
Print a calendar report if a calendar is used within the job. Print a holiday
calendar report if a holiday calendar is used within the job. Press the Print
key to print the display of each fiscal calendar entry for the fiscal calendar
used within the job.</dd>
<dt class="dlterm">Advanced Job Scheduler log</dt>
<dd>Always print the Advanced Job Scheduler log for the time period in question.</dd>
<dt class="dlterm">Files QAIJSMST and QAIJSHST</dt>
<dd>Files QAIJSMST and QAIJSHST in library QUSRIJS might need to be journaled
before trying to reproduce the problem. Also, the QUSRIJS library may be needed
by IBM<sup>®</sup> support.</dd>
</dl>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksajsmanage2.htm" title="The following information will help you manage the Advanced Job Scheduler. You first need to install the licensed program, and then read about the tasks that allow you to customize the Advanced Job Scheduler. Finally, the remainder of the tasks allow you to work with and manage this scheduler.">Schedule jobs with Advanced Job Scheduler</a></div>
</div>
</div>
</body>
</html>