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

PROLOG

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

NAME

12       qmove - move batch jobs
13

SYNOPSIS

15       qmove destination job_identifier ...
16

DESCRIPTION

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

OPTIONS

40       None.
41

OPERANDS

43       The  qmove utility shall accept one operand that conforms to the syntax
44       for a destination (see Destination ).
45
46       The qmove utility shall accept one or more operands that conform to the
47       syntax for a batch job_identifier (see Batch Job Identifier ).
48

STDIN

50       Not used.
51

INPUT FILES

53       None.
54

ENVIRONMENT VARIABLES

56       The  following  environment  variables  shall  affect  the execution of
57       qmove:
58
59       LANG   Provide a default value for the  internationalization  variables
60              that  are  unset  or  null.  (See the Base Definitions volume of
61              IEEE Std 1003.1-2001, Section  8.2,  Internationalization  Vari‐
62              ables  for the precedence of internationalization variables used
63              to determine the values of locale categories.)
64
65       LC_ALL If set to a non-empty string value, override the values  of  all
66              the other internationalization variables.
67
68       LC_CTYPE
69              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 error.
76
77       LOGNAME
78              Determine the login name of the user.
79
80

ASYNCHRONOUS EVENTS

82       Default.
83

STDOUT

85       None.
86

STDERR

88       The standard error shall be used only for diagnostic messages.
89

OUTPUT FILES

91       None.
92

EXTENDED DESCRIPTION

94       None.
95

EXIT STATUS

97       The following exit values shall be returned:
98
99        0     Successful completion.
100
101       >0     An error occurred.
102
103

CONSEQUENCES OF ERRORS

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

APPLICATION USAGE

115       None.
116

EXAMPLES

118       None.
119

RATIONALE

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

FUTURE DIRECTIONS

135       None.
136

SEE ALSO

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