This topic discusses possible reasons why a job might be hung.
Job is waiting to get a lock on an object |
|
How to diagnose: |
View the status of the job in iSeries™ Navigator; see Determine
the status of a job. A job that is waiting to get a lock will have
a status of Waiting for lock. |
Recovery: |
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. |
Job is held |
|
How to diagnose: |
View the status of the job in iSeries Navigator; see Determine
the status of a job |
Recovery: |
Right-click the job and click Release. |
The following are possible reasons why a job on a job queue might
be hung:
Job queue is held |
|
How to diagnose: |
View the status of the job queue in iSeries Navigator; |
Recovery: |
- Move the job to a job queue that is not held, see Move
jobs to different job queues.
- Release the job queue. To do so, right-click the job and click Release.
|
Job queue has not been allocated by an
active subsystem |
|
How to diagnose: |
View the status of the job queue in iSeries Navigator. |
Recovery: |
- Move the job to a job queue that is allocated by an active subsystem,
see Move jobs to different job queues.
- Start a subsystem which contains a job queue entry for this job queue,
see Start a subsystem.
- Add a job queue entry for this job queue to an active subsystem using
the Add Job Queue Entry (ADDJOBQE) command.
|
Subsystem maximum has been reached |
|
How to diagnose: |
View the maximum active jobs value for the subsystem in iSeries Navigator.
To do so, right-click the subsystem and click Properties. |
Recovery: |
- Move the job to a different job queue, see Move
jobs to different job queues.
- Increase the maximum value. To do so, use the Change Subsystem Description
(CHGSBSD) command.
|
Job queue maximum has been reached |
|
How to diagnose: |
View the maximum active jobs value for the job queue in iSeries Navigator.
To do so, right-click the job queue and click Properties.
Then select the Activity tab. |
Recovery: |
- Move the job to a different job queue; see Move
jobs to different job queues.
- Increase the maximum value. To do so, use the Change Job Queue Entry (CHGJOBQE)
command.
|
Maximum value for the priority level has
been reached |
|
How to diagnose: |
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 Properties.
Then select the Activity tab and click the Advanced button. |
Recovery: |
- Move the job to a different job queue; see Move
jobs to different job queues.
- Change the job queue priority of the job; see Specify
the priority of a job within a job queue.
- Increase the maximum value. To do so, use the Change Job Queue Entry (CHGJOBQE)
command.
|