184 lines
9.5 KiB
HTML
184 lines
9.5 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="task" />
|
|||
|
<meta name="DC.Title" content="My job is hung" />
|
|||
|
<meta name="abstract" content="This topic discusses possible reasons why a job might be hung." />
|
|||
|
<meta name="description" content="This topic discusses possible reasons why a job might be hung." />
|
|||
|
<meta name="DC.Relation" scheme="URI" content="rzakstroubleshoot.htm" />
|
|||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2004-2006" />
|
|||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004-2006" />
|
|||
|
<meta name="DC.Format" content="XHTML" />
|
|||
|
<meta name="DC.Identifier" content="rzaksjobhung" />
|
|||
|
<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>My job is hung</title>
|
|||
|
</head>
|
|||
|
<body id="rzaksjobhung"><a name="rzaksjobhung"><!-- --></a>
|
|||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|||
|
<h1 class="topictitle1">My job is hung</h1>
|
|||
|
<div><p>This topic discusses possible reasons why a job might be hung.</p>
|
|||
|
<div class="section">
|
|||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th colspan="3" valign="top" id="d0e20">Job is waiting to get a lock on an object</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody><tr><td rowspan="2" valign="top" width="12.5%" headers="d0e20 "> </td>
|
|||
|
<td valign="top" width="12.5%" headers="d0e20 ">How to diagnose:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e20 ">View the status of the job in iSeries™ Navigator; see <a href="rzaksdetstatjob.htm">Determine
|
|||
|
the status of a job</a>. A job that is waiting to get a lock will have
|
|||
|
a status of <var class="varname">Waiting for lock</var>.</td>
|
|||
|
</tr>
|
|||
|
<tr><td valign="top" width="12.5%" headers="d0e20 ">Recovery:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e20 ">View the list of locked objects for the job to determine which object
|
|||
|
the job is waiting to get a lock on. Then use the Lock Holders action against
|
|||
|
the object to determine which job already holds the lock. You then need to
|
|||
|
determine why this job is holding the lock, and what can be done to release
|
|||
|
the lock. </td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th colspan="3" valign="top" id="d0e51">Job is held</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody><tr><td rowspan="2" valign="top" width="12.5%" headers="d0e51 "> </td>
|
|||
|
<td valign="top" width="12.5%" headers="d0e51 ">How to diagnose:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e51 ">View the status of the job in iSeries Navigator; see <a href="rzaksdetstatjob.htm">Determine
|
|||
|
the status of a job</a></td>
|
|||
|
</tr>
|
|||
|
<tr><td valign="top" width="12.5%" headers="d0e51 ">Recovery:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e51 ">Right-click the job and click <span class="uicontrol">Release</span>.</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<p>The following are possible reasons why a job on a job queue might
|
|||
|
be hung:</p>
|
|||
|
|
|||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th colspan="3" valign="top" id="d0e83">Job queue is held</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody><tr><td rowspan="2" valign="top" width="12.5%" headers="d0e83 "> </td>
|
|||
|
<td valign="top" width="12.5%" headers="d0e83 ">How to diagnose:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e83 ">View the status of the job queue in iSeries Navigator;</td>
|
|||
|
</tr>
|
|||
|
<tr><td valign="top" width="12.5%" headers="d0e83 ">Recovery:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e83 "> <ol><li>Move the job to a job queue that is not held, see <a href="rzaksmvjobtonwjobq.htm">Move
|
|||
|
jobs to different job queues</a>.</li>
|
|||
|
<li>Release the job queue. To do so, right-click the job and click <span class="uicontrol">Release</span>.</li>
|
|||
|
</ol>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th colspan="3" valign="top" id="d0e120">Job queue has not been allocated by an
|
|||
|
active subsystem</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody><tr><td rowspan="2" valign="top" width="12.5%" headers="d0e120 "> </td>
|
|||
|
<td valign="top" width="12.5%" headers="d0e120 ">How to diagnose:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e120 ">View the status of the job queue in iSeries Navigator.</td>
|
|||
|
</tr>
|
|||
|
<tr><td valign="top" width="12.5%" headers="d0e120 ">Recovery:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e120 "> <ol><li>Move the job to a job queue that is allocated by an active subsystem,
|
|||
|
see <a href="rzaksmvjobtonwjobq.htm">Move jobs to different job queues</a>.</li>
|
|||
|
<li>Start a subsystem which contains a job queue entry for this job queue,
|
|||
|
see <a href="rzaksstartsbs.htm">Start a subsystem</a>.</li>
|
|||
|
<li>Add a job queue entry for this job queue to an active subsystem using
|
|||
|
the Add Job Queue Entry (ADDJOBQE) command.</li>
|
|||
|
</ol>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th colspan="3" valign="top" id="d0e159">Subsystem maximum has been reached</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody><tr><td rowspan="2" valign="top" width="12.5%" headers="d0e159 "> </td>
|
|||
|
<td valign="top" width="12.5%" headers="d0e159 ">How to diagnose:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e159 ">View the maximum active jobs value for the subsystem in iSeries Navigator.
|
|||
|
To do so, right-click the subsystem and click <span class="uicontrol">Properties</span>.</td>
|
|||
|
</tr>
|
|||
|
<tr><td valign="top" width="12.5%" headers="d0e159 ">Recovery:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e159 "> <ol><li>Move the job to a different job queue, see <a href="rzaksmvjobtonwjobq.htm">Move
|
|||
|
jobs to different job queues</a>.</li>
|
|||
|
<li>Increase the maximum value. To do so, use the Change Subsystem Description
|
|||
|
(<span class="cmdname">CHGSBSD</span>) command.</li>
|
|||
|
</ol>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th colspan="3" valign="top" id="d0e199">Job queue maximum has been reached</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody><tr><td rowspan="2" valign="top" width="12.5%" headers="d0e199 "> </td>
|
|||
|
<td valign="top" width="12.5%" headers="d0e199 ">How to diagnose:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e199 ">View the maximum active jobs value for the job queue in iSeries Navigator.
|
|||
|
To do so, right-click the job queue and click <span class="uicontrol">Properties</span>.
|
|||
|
Then select the <span class="uicontrol">Activity</span> tab.</td>
|
|||
|
</tr>
|
|||
|
<tr><td valign="top" width="12.5%" headers="d0e199 ">Recovery:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e199 "> <ol><li>Move the job to a different job queue; see <a href="rzaksmvjobtonwjobq.htm">Move
|
|||
|
jobs to different job queues</a>.</li>
|
|||
|
<li>Increase the maximum value. To do so, use the Change Job Queue Entry (<span class="cmdname">CHGJOBQE</span>)
|
|||
|
command.</li>
|
|||
|
</ol>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" frame="void" border="0" rules="none"><thead align="left"><tr><th colspan="3" valign="top" id="d0e242">Maximum value for the priority level has
|
|||
|
been reached</th>
|
|||
|
</tr>
|
|||
|
</thead>
|
|||
|
<tbody><tr><td rowspan="2" valign="top" width="12.5%" headers="d0e242 "> </td>
|
|||
|
<td valign="top" width="12.5%" headers="d0e242 ">How to diagnose:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e242 ">Determine the job queue priority of the job by viewing its properties.
|
|||
|
Then view the maximum active jobs by job priority values for the job queue
|
|||
|
in iSeries Navigator.
|
|||
|
To do so, right-click the job queue and click <span class="uicontrol">Properties</span>.
|
|||
|
Then select the Activity tab and click the <span class="uicontrol">Advanced</span> button.</td>
|
|||
|
</tr>
|
|||
|
<tr><td valign="top" width="12.5%" headers="d0e242 ">Recovery:</td>
|
|||
|
<td valign="top" width="75%" headers="d0e242 "> <ol><li>Move the job to a different job queue; see <a href="rzaksmvjobtonwjobq.htm">Move
|
|||
|
jobs to different job queues</a>.</li>
|
|||
|
<li>Change the job queue priority of the job; see <a href="rzaksspecifyqueuepriority.htm">Specify
|
|||
|
the priority of a job within a job queue</a>.</li>
|
|||
|
<li>Increase the maximum value. To do so, use the Change Job Queue Entry (<span class="cmdname">CHGJOBQE</span>)
|
|||
|
command.</li>
|
|||
|
</ol>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</tbody>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<div class="familylinks">
|
|||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzakstroubleshoot.htm" title="Use the information in this topic to help you troubleshoot some of the most common problems that occur in work management.">Troubleshooting</a></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html>
|