1QMOVE(1P) POSIX Programmer's Manual QMOVE(1P)
2
3
4
6 This manual page is part of the POSIX Programmer's Manual. The Linux
7 implementation of this interface may differ (consult the corresponding
8 Linux manual page for details of Linux behavior), or the interface may
9 not be implemented on Linux.
10
12 qmove — move batch jobs
13
15 qmove destination job_identifier...
16
18 To move a batch job is to remove the batch job from the batch queue in
19 which it resides and instantiate the batch job in another batch queue.
20 A batch job is moved by a request to the batch server that manages the
21 batch job. The qmove utility is a user-accessible batch client that
22 requests the movement of one or more batch jobs.
23
24 The qmove utility shall move those batch jobs, and only those batch
25 jobs, for which a batch job_identifier is presented to the utility.
26
27 The qmove utility shall move batch jobs in the order in which the cor‐
28 responding batch job_identifiers are presented to the utility.
29
30 If the qmove utility fails to process a batch job_identifier success‐
31 fully, the utility shall proceed to process the remaining batch
32 job_identifiers, if any.
33
34 The qmove utility shall move batch jobs by sending a Move Job Request
35 to the batch server that manages each batch job. The qmove utility
36 shall not exit before the batch jobs corresponding to all successfully
37 processed batch job_identifiers have been moved.
38
40 None.
41
43 The qmove utility shall accept one operand that conforms to the syntax
44 for a destination (see Section 3.3.2, Destination).
45
46 The qmove utility shall accept one or more operands that conform to the
47 syntax for a batch job_identifier (see Section 3.3.1, Batch Job Identi‐
48 fier).
49
51 Not used.
52
54 None.
55
57 The following environment variables shall affect the execution of
58 qmove:
59
60 LANG Provide a default value for the internationalization vari‐
61 ables that are unset or null. (See the Base Definitions vol‐
62 ume of POSIX.1‐2017, Section 8.2, Internationalization Vari‐
63 ables the precedence of internationalization variables used
64 to determine the values of locale categories.)
65
66 LC_ALL If set to a non-empty string value, override the values of
67 all the other internationalization variables.
68
69 LC_CTYPE Determine the locale for the interpretation of sequences of
70 bytes of text data as characters (for example, single-byte as
71 opposed to multi-byte characters in arguments).
72
73 LC_MESSAGES
74 Determine the locale that should be used to affect the format
75 and contents of diagnostic messages written to standard
76 error.
77
78 LOGNAME Determine the login name of the user.
79
81 Default.
82
84 None.
85
87 The standard error shall be used only for diagnostic messages.
88
90 None.
91
93 None.
94
96 The following exit values shall be returned:
97
98 0 Successful completion.
99
100 >0 An error occurred.
101
103 In addition to the default behavior, the qmove utility shall not be
104 required to write a diagnostic message to standard error when the error
105 reply received from a batch server indicates that the batch job_identi‐
106 fier does not exist on the server. Whether or not the qmove utility
107 waits to output the diagnostic message while attempting to locate the
108 job on other servers is implementation-defined.
109
110 The following sections are informative.
111
113 None.
114
116 None.
117
119 The qmove utility allows users to move jobs between queues.
120
121 The alternative to using the qmove utility—deleting the batch job and
122 requeuing it—entails considerably more typing.
123
124 Since the means of selecting jobs based on attributes has been encapsu‐
125 lated in the qselect utility, the only option of the qmove utility con‐
126 cerns authorization. The -u option provides the user with the conve‐
127 nience of changing the user identifier under which the batch job will
128 execute. Minimalism and consistency have taken precedence over conve‐
129 nience; the -u option has been deleted because the equivalent capabil‐
130 ity exists with the -u option of the qalter utility.
131
133 The qmove utility may be removed in a future version.
134
136 Chapter 3, Batch Environment Services, qalter, qselect
137
138 The Base Definitions volume of POSIX.1‐2017, Chapter 8, Environment
139 Variables
140
142 Portions of this text are reprinted and reproduced in electronic form
143 from IEEE Std 1003.1-2017, Standard for Information Technology -- Por‐
144 table Operating System Interface (POSIX), The Open Group Base Specifi‐
145 cations Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of
146 Electrical and Electronics Engineers, Inc and The Open Group. In the
147 event of any discrepancy between this version and the original IEEE and
148 The Open Group Standard, the original IEEE and The Open Group Standard
149 is the referee document. The original Standard can be obtained online
150 at http://www.opengroup.org/unix/online.html .
151
152 Any typographical or formatting errors that appear in this page are
153 most likely to have been introduced during the conversion of the source
154 files to man page format. To report such errors, see https://www.ker‐
155 nel.org/doc/man-pages/reporting_bugs.html .
156
157
158
159IEEE/The Open Group 2017 QMOVE(1P)