Changing a job compile order

You can change the order in which jobs are compiled. You swap one job number with another, so the command syntax requires that you supply two job numbers.

  1. Locate the job numbers of the job you want to swap.

    At the Qshell command line, specify this information:

    qstatus

  2. Swap the jobs.

    At the Qshell command line, specify this information:

    qcontrol -sjobnum1,jobnum2

Example

You have a compile queue with seven entries, where Job 2 has the highest position in the queue and Job 7 has the lowest. To swap the positions of Jobs 1 and 7, specify this information:

qcontrol -s7,1

This will execute Job 7 first and move Job 1 to the position formerly occupied by Job 7.