My job is hung

These tables list the 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 IBM® Navigator for i; see Determining 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 IBM Navigator for i; see Determining 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 IBM Navigator for i;
Recovery:
  1. Move the job to a job queue that is not held, see Moving a job to a different job queue.
  2. 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 IBM Navigator for i.
Recovery:
  1. Move the job to a job queue that is allocated by an active subsystem, see Moving a job to a different job queue.
  2. Start a subsystem which contains a job queue entry for this job queue, see Starting a subsystem.
  3. 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 IBM Navigator for i. To do so, right-click the subsystem and click Properties.
Recovery:
  1. Move the job to a different job queue, see Moving a job to a different job queue.
  2. 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 IBM Navigator for i. To do so, right-click the job queue and click Properties. Then select the Activity tab.
Recovery:
  1. Move the job to a different job queue; see Moving a job to a different job queue.
  2. 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 IBM Navigator for i. To do so, right-click the job queue and click Properties. Then select the Activity tab and click the Advanced button.
Recovery:
  1. Move the job to a different job queue; see Moving a job to a different job queue.
  2. Change the job queue priority of the job; see Specifying the priority for the job queue.
  3. Increase the maximum value. To do so, use the Change Job Queue Entry (CHGJOBQE) command.