Hi,<br> <br>    I have experimented with both qmove and qorder commands. Internally qorder uses pbs_movejob function and qorder is just exchanging two jobs within two different queues. I mean to say it is not really swapping two jobs and this can be done with the help of qmove.<br>
<br>    My question is what is there a separate command &#39;qorder&#39; if &#39;qmove&#39; does the same function? qorder doesn&#39;t behave as per what its man page says.<br><br>Scenario:<br>$qstat<br>Job id                    Name             User            Time Use S Queue<br>
------------------------- ---------------- --------------- -------- - -----<br>263.n0                     STDIN            root            00:00:00 C abc            <br>264.n0                     STDIN            root            00:00:00 C batch          <br>
265.n0                     STDIN            root                   0 R batch          <br>266.n0                     STDIN            root                   0 R batch          <br>267.n0                     STDIN            root                   0 Q batch          <br>
268.n0                     STDIN            root                   0 Q batch          <br>269.n0                     STDIN            root                   0 Q batch          <br>270.n0                     STDIN            root                   0 Q batch          <br>
271.n0                     STDIN            root                   0 Q abc  <br><br>I want to exchange 268 with 271.<br><br>$qorder 268 271<br>$qstat<br>Job id                    Name             User            Time Use S Queue<br>
------------------------- ---------------- --------------- -------- - -----<br>264.n0                     STDIN            root            00:00:00 C batch          <br>265.n0                     STDIN            root            00:00:00 R batch          <br>
266.n0                     STDIN            root            00:00:00 R batch          <br>267.n0                     STDIN            root                   0 Q batch          <br>268.n0                     STDIN            root                   0 Q abc            <br>
269.n0                     STDIN            root                   0 Q batch          <br>270.n0                     STDIN            root                   0 Q batch          <br>271.n0                     STDIN            root                   0 Q batch  <br>
<br>but actually expected result is as follows:<br>Job id                    Name             User            Time Use S Queue<br>
------------------------- ---------------- --------------- -------- - -----<br>
264.n0                     STDIN            root            00:00:00 C batch          <br>
265.n0                     STDIN            root            00:00:00 R batch          <br>
266.n0                     STDIN            root            00:00:00 R batch          <br>
267.n0                     STDIN            root                   0 Q batch  <br>271.n0                     STDIN            root                   0 Q abc          <br>269.n0                     STDIN            root                   0 Q batch          <br>
270.n0                     STDIN            root                   0 Q batch<br>268.n0                     STDIN            root                   0 Q batch<br> <br><br>Before and after &#39;qorder&#39;, I checked the output of &#39;qstat -f 268&#39; and &#39;qstat -f 271,&#39; the only difference was with queue, qtime and queue_rank and qmove does the same job.<br>
( I have tried here with the two jobs(268 &amp; 271) which reside in two different queues. I also tried with two jobs within the same queue but doesn&#39;t show desired output).<br><br><br>Is there any solution to get the expected result?<br>
<br>Thanks in advance.<br><br>     <br clear="all"><br>-- <br><br>Thanks &amp; Regards,<br>Jayavant Ningoji Patil<br>