pbs_orderjob (3) - Linux Manuals
pbs_orderjob: reorder pbs batch jobs in a queue
pbs_orderjob - reorder pbs batch jobs in a queue
int pbs_orderjob(int connect, char
*job_id1, char *job_id2, char *extend)
DESCRIPTIONIssue a batch request to swap the order of two jobs with a single queue.
An Order Job batch request is generated and sent to the server over the connection specified by which is the return value of pbs_connect().
The parameters and identify which jobs are to be swapped. They are specified in the form:
DIAGNOSTICSWhen the batch request generated by pbs_orderjob() function has been completed successfully by a batch server, the routine will return 0 (zero). Otherwise, a non zero error is returned. The error number is also set in pbs_errno.