Moving a job to a different job queue
There are many reasons why you might want to move a job to another queue. For example, sometimes jobs become backlogged in the queue because of a long running job. Perhaps the job's scheduled run time conflicts with a new job that has a higher priority. One way to manage this situation is to move the waiting jobs to another queue that is not as busy.
You can use either the iSeries™ Navigator interface or the character-based interface to move a job from one queue to another.
Parent topic:
Managing job queues
Related concepts
How jobs are taken from multiple job queues How jobs are taken from a job queue
iSeries Navigator
To use the iSeries Navigator, follow the following instructions:
- In iSeries Navigator,
expand Work Management > Job Queues > All Job Queues.
- Locate and open the queue that currently contains the job.
- Right-click the job that you want to move. The Move window opens where you can specify the target queue.
If you want to move more than one job from this queue, hold the CTRL key while you click each job. Then right-click and then click Move.
- Jobs that are waiting to run are moved to the same relative position on the target queue (for example, jobs with a job queue priority 3 are moved after any other priority 3 jobs that are waiting to run on the target queue).
- Jobs that are held remain held and are placed in the same relative position on the target queue (for example, held jobs with job queue priority 3 are moved after any other priority 3 held jobs on the target queue).
- Jobs that are scheduled to run are moved to the target queue and their scheduled times remain unchanged.
Character-based interface
Command: Change Job (CHGJOB)
Example: The following example moves job JOBA to job queue JOBQB.
CHGJOB JOB(JOBA) JOBQ(LIBA/JOBQB)