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 command line, specify this information:

    qstatus

    - or -

    From the Compile Tools Menu (accessible through laenv), select Compile Queue Status.

  2. Swap the jobs.

    At the command line, specify this information:

    qcontrol -sjobnum1,jobnum2

    - or -

    From the Compile Tools Menu (accessible through laenv), select Compile Queue Control, specify the appropriate options:

    sjobnum1, jobnum2

    and press Enter.

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.