1pbs_orderjob(3B) PBS pbs_orderjob(3B)
2
3
4
6 pbs_orderjob - reorder pbs batch jobs in a queue
7
9 #include <pbs_error.h>
10 #include <pbs_ifl.h>
11
12 int pbs_orderjob(int connect, char *job_id1, char *job_id2,
13 char *extend)
14
16 Issue a batch request to swap the order of two jobs with a single
17 queue.
18
19 An Order Job batch request is generated and sent to the server over the
20 connection specified by connect which is the return value of pbs_con‐
21 nect().
22
23 The parameters job_id1 and job_id2 identify which jobs are to be
24 swapped. They are specified in the form: sequence_number.server.
25
26 The parameter, extend, is reserved for implementation defined exten‐
27 sions.
28
30 qorder(1B), qmove(1B), qsub(1M), and pbs_connect(3B)
31
33 When the batch request generated by pbs_orderjob() function has been
34 completed successfully by a batch server, the routine will return 0
35 (zero). Otherwise, a non zero error is returned. The error number is
36 also set in pbs_errno.
37
38
39
40
41Local pbs_orderjob(3B)