<?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="Move a job to a different job queue" /> <meta name="abstract" content="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." /> <meta name="description" content="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." /> <meta name="DC.Relation" scheme="URI" content="rzaksmanagejobq1.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="rzaksmvjobtonwjobq" /> <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>Move a job to a different job queue</title> </head> <body id="rzaksmvjobtonwjobq"><a name="rzaksmvjobtonwjobq"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">Move a job to a different job queue</h1> <div><p>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. </p> <div class="p">You can use either the iSeries™ Navigator interface or the character-based interface to move a job from one queue to another.</div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksmanagejobq1.htm" title="As you manage the work on your system, you might find it necessary to manipulate jobs that are waiting in a job queue. Perhaps someone needs a job run immediately and the job is sitting in a queue at a low priority. Or maybe you need to perform some maintenance on a subsystem and want to move all of the jobs to a queue that is not associated with that particular subsystem.">Manage job queues</a></div> </div> </div><div class="nested1" xml:lang="en-us" id="navmovejobsfromjobq"><a name="navmovejobsfromjobq"><!-- --></a><h2 class="topictitle2">iSeries Navigator</h2> <div><div class="section">To use the iSeries Navigator, do the following:</div> <ol><li class="stepexpand"><span>In iSeries Navigator, expand <span class="menucascade"><span class="uicontrol">Work Management</span> > <span class="uicontrol">Job Queues</span> > <span class="uicontrol">All Job Queues</span></span>. </span></li> <li class="stepexpand"><span>Locate and open the queue that currently contains the job.</span></li> <li class="stepexpand"><span>Right-click the job that you want to move.</span> The Move window opens where you can specify the target queue.<div class="note"><span class="notetitle">Note:</span> 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 <span class="uicontrol">Move</span>.</div> </li> </ol> <div class="section"><ul><li>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).</li> <li>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). </li> <li>Jobs that are scheduled to run are moved to the target queue and their scheduled times remain unchanged.</li> </ul> </div> </div> <div class="nested2" xml:lang="en-us" id="cbimovejobsfromjobq"><a name="cbimovejobsfromjobq"><!-- --></a><h3 class="topictitle3">Character-based interface</h3> <div><div class="section"><strong>Command</strong>: Change Job (<span class="cmdname">CHGJOB</span>)</div> <div class="example"><strong>Example</strong>: The following example moves job JOBA to job queue JOBQB.<div class="p"><blockquote><pre>CHGJOB JOB(JOBA) JOBQ(LIBA/JOBQB)</pre> </blockquote> </div> </div> </div> </div> </div> </body> </html>