1QMOVE(P)                   POSIX Programmer's Manual                  QMOVE(P)
2
3
4

NAME

6       qmove - move batch jobs
7

SYNOPSIS

9       qmove destination job_identifier ...
10

DESCRIPTION

12       To  move a batch job is to remove the batch job from the batch queue in
13       which it resides and instantiate the batch job in another batch  queue.
14       A  batch job is moved by a request to the batch server that manages the
15       batch job. The qmove utility is a  user-accessible  batch  client  that
16       requests the movement of one or more batch jobs.
17
18       The  qmove  utility  shall  move those batch jobs, and only those batch
19       jobs, for which a batch job_identifier is presented to the utility.
20
21       The qmove utility shall move batch jobs in the order in which the  cor‐
22       responding batch job_identifiers are presented to the utility.
23
24       If  the  qmove utility fails to process a batch job_identifier success‐
25       fully, the  utility  shall  proceed  to  process  the  remaining  batch
26       job_identifiers, if any.
27
28       The  qmove  utility shall move batch jobs by sending a Move Job Request
29       to the batch server that manages each  batch  job.  The  qmove  utility
30       shall  not exit before the batch jobs corresponding to all successfully
31       processed batch job_identifiers have been moved.
32

OPTIONS

34       None.
35

OPERANDS

37       The qmove utility shall accept one operand that conforms to the  syntax
38       for a destination (see Destination ).
39
40       The qmove utility shall accept one or more operands that conform to the
41       syntax for a batch job_identifier (see Batch Job Identifier ).
42

STDIN

44       Not used.
45

INPUT FILES

47       None.
48

ENVIRONMENT VARIABLES

50       The following environment  variables  shall  affect  the  execution  of
51       qmove:
52
53       LANG   Provide  a  default value for the internationalization variables
54              that are unset or null. (See  the  Base  Definitions  volume  of
55              IEEE Std 1003.1-2001,  Section  8.2,  Internationalization Vari‐
56              ables for the precedence of internationalization variables  used
57              to determine the values of locale categories.)
58
59       LC_ALL If  set  to a non-empty string value, override the values of all
60              the other internationalization variables.
61
62       LC_CTYPE
63              Determine the locale for  the  interpretation  of  sequences  of
64              bytes  of  text  data as characters (for example, single-byte as
65              opposed to multi-byte characters in arguments).
66
67       LC_MESSAGES
68              Determine the locale that should be used to  affect  the  format
69              and contents of diagnostic messages written to standard error.
70
71       LOGNAME
72              Determine the login name of the user.
73
74

ASYNCHRONOUS EVENTS

76       Default.
77

STDOUT

79       None.
80

STDERR

82       The standard error shall be used only for diagnostic messages.
83

OUTPUT FILES

85       None.
86

EXTENDED DESCRIPTION

88       None.
89

EXIT STATUS

91       The following exit values shall be returned:
92
93        0     Successful completion.
94
95       >0     An error occurred.
96
97

CONSEQUENCES OF ERRORS

99       In  addition  to  the  default behavior, the qmove utility shall not be
100       required to write a diagnostic message to standard error when the error
101       reply received from a batch server indicates that the batch job_identi‐
102       fier does not exist on the server. Whether or  not  the  qmove  utility
103       waits  to  output the diagnostic message while attempting to locate the
104       job on other servers is implementation-defined.
105
106       The following sections are informative.
107

APPLICATION USAGE

109       None.
110

EXAMPLES

112       None.
113

RATIONALE

115       The qmove utility allows users to move jobs between queues.
116
117       The alternative to using the qmove utility-deleting the batch  job  and
118       requeuing it-entails considerably more typing.
119
120       Since the means of selecting jobs based on attributes has been encapsu‐
121       lated in the qselect utility, the only option of the qmove utility con‐
122       cerns  authorization.  The  -u option provides the user with the conve‐
123       nience of changing the user identifier under which the batch  job  will
124       execute.   Minimalism and consistency have taken precedence over conve‐
125       nience; the -u option has been deleted because the equivalent  capabil‐
126       ity exists with the -u option of the qalter utility.
127

FUTURE DIRECTIONS

129       None.
130

SEE ALSO

132       Batch Environment Services , qalter , qselect
133
135       Portions  of  this text are reprinted and reproduced in electronic form
136       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
137       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
138       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
139       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
140       event of any discrepancy between this version and the original IEEE and
141       The  Open Group Standard, the original IEEE and The Open Group Standard
142       is the referee document. The original Standard can be  obtained  online
143       at http://www.opengroup.org/unix/online.html .
144
145
146
147IEEE/The Open Group                  2003                             QMOVE(P)
Impressum