1QRLS(1P)                   POSIX Programmer's Manual                  QRLS(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
11

NAME

13       qrls — release batch jobs
14

SYNOPSIS

16       qrls [−h hold_list] job_identifier...
17

DESCRIPTION

19       A batch job might have one or more holds, which prevent the  batch  job
20       from  executing. A batch job from which all the holds have been removed
21       becomes eligible for execution and is said to  have  been  released.  A
22       batch job hold is removed by sending a request to the batch server that
23       manages the batch job. The qrls utility is a user-accessible client  of
24       batch  services  that  requests holds be removed from one or more batch
25       jobs.
26
27       The qrls utility shall remove one or more holds from those  batch  jobs
28       for which a batch job_identifier is presented to the utility.
29
30       The  qrls  utility  shall  remove holds from batch jobs in the order in
31       which their batch job_identifiers are presented to the utility.
32
33       If the qrls utility fails to process a  batch  job_identifier  success‐
34       fully,  the  utility  shall  proceed  to  process  the  remaining batch
35       job_identifiers, if any.
36
37       The qrls utility shall remove holds on each  batch  job  by  sending  a
38       Release Job Request to the batch server that manages the batch job.
39
40       The  qrls utility shall not exit until the holds have been removed from
41       the batch  job  corresponding  to  each  successfully  processed  batch
42       job_identifier.
43

OPTIONS

45       The  qrls  utility  shall  conform  to  the  Base Definitions volume of
46       POSIX.1‐2008, Section 12.2, Utility Syntax Guidelines.
47
48       The following option shall be supported by the implementation:
49
50       −h hold_list
51                 Define the types of holds to be removed from the batch job.
52
53                 The qrls −h option shall accept a  value  for  the  hold_list
54                 option-argument  that  is a string of alphanumeric characters
55                 in the portable character set (see the Base Definitions  vol‐
56                 ume of POSIX.1‐2008, Section 6.1, Portable Character Set).
57
58                 The  qrls  utility  shall  accept  a  value for the hold_list
59                 option-argument that is a string of one or more of the  char‐
60                 acters 'u', 's', or 'o', or the single character 'n'.
61
62                 For  each  unique character in the hold_list option-argument,
63                 the  qrls  utility  shall  add  a  value  to  the  Hold_Types
64                 attribute  of  the  batch job as follows, each representing a
65                 different hold type:
66
67                 u     USER
68
69                 s     SYSTEM
70
71                 o     OPERATOR
72
73                 If any of these characters are duplicated  in  the  hold_list
74                 option-argument, the duplicates shall be ignored.
75
76                 An  existing  Hold_Types attribute can be cleared by the fol‐
77                 lowing hold type:
78
79                 n     NO_HOLD
80
81                 The qrls utility shall consider it an error if any hold  type
82                 other than 'n' is combined with hold type 'n'.
83
84                 Strictly  conforming applications shall not repeat any of the
85                 characters 'u', 's', 'o', or 'n' within the hold_list option-
86                 argument.  The  qrls  utility  shall permit the repetition of
87                 characters, but shall not assign additional  meaning  to  the
88                 repeated characters.
89
90                 An  implementation  may  define other hold types. The confor‐
91                 mance document for an implementation shall describe any addi‐
92                 tional  hold  types,  how  they are specified, their internal
93                 behavior, and how they affect the behavior of the utility.
94
95                 If the −h option is not presented to the  qrls  utility,  the
96                 implementation  shall  remove the USER hold in the Hold_Types
97                 attribute.
98

OPERANDS

100       The qrls utility shall accept one or more operands that conform to  the
101       syntax for a batch job_identifier (see Section 3.3.1, Batch Job Identi‐
102       fier).
103

STDIN

105       Not used.
106

INPUT FILES

108       None.
109

ENVIRONMENT VARIABLES

111       The following environment variables shall affect the execution of qrls:
112
113       LANG      Provide a default value for  the  internationalization  vari‐
114                 ables  that are unset or null. (See the Base Definitions vol‐
115                 ume of POSIX.1‐2008, Section 8.2, Internationalization  Vari‐
116                 ables  the  precedence of internationalization variables used
117                 to determine the values of locale categories.)
118
119       LC_ALL    If set to a non-empty string value, override  the  values  of
120                 all the other internationalization variables.
121
122       LC_CTYPE  Determine  the  locale for the interpretation of sequences of
123                 bytes of text data as characters (for example, single-byte as
124                 opposed to multi-byte characters in arguments).
125
126       LC_MESSAGES
127                 Determine the locale that should be used to affect the format
128                 and contents  of  diagnostic  messages  written  to  standard
129                 error.
130
131       LOGNAME   Determine the login name of the user.
132

ASYNCHRONOUS EVENTS

134       Default.
135

STDOUT

137       None.
138

STDERR

140       The standard error shall be used only for diagnostic messages.
141

OUTPUT FILES

143       None.
144

EXTENDED DESCRIPTION

146       None.
147

EXIT STATUS

149       The following exit values shall be returned:
150
151        0    Successful completion.
152
153       >0    An error occurred.
154

CONSEQUENCES OF ERRORS

156       In  addition  to  the  default  behavior, the qrls utility shall not be
157       required to write a diagnostic message to standard error when the error
158       reply received from a batch server indicates that the batch job_identi‐
159       fier does not exist on the server. Whether  or  not  the  qrls  utility
160       waits  to  output the diagnostic message while attempting to locate the
161       job on other servers is implementation-defined.
162
163       The following sections are informative.
164

APPLICATION USAGE

166       None.
167

EXAMPLES

169       None.
170

RATIONALE

172       The qrls utility allows users, operators, and administrators to  remove
173       holds from jobs.
174
175       The qrls utility does not support any job selection options or wildcard
176       arguments. Users may acquire a list  of  jobs  selected  by  attributes
177       using  the  qselect  utility.  For  example, a user could select all of
178       their held jobs.
179
180       The −h option allows the user to specify the type of hold that is to be
181       removed. This option allows for USER, SYSTEM, OPERATOR, and implementa‐
182       tion-defined hold types. The batch server that manages  the  batch  job
183       will verify whether the user is authorized to remove the specified hold
184       for the batch job. If more than one type of hold has been placed on the
185       batch job, a user may wish to remove only some of them.
186
187       Mail is not required on release because the administrator has the tools
188       and libraries to build this option if required.
189
190       The qrls utility is a new utility vis-a-vis existing practice;  it  has
191       been  defined  in this volume of POSIX.1‐2008 as the natural complement
192       to the qhold utility.
193

FUTURE DIRECTIONS

195       The qrls utility may be removed in a future version.
196

SEE ALSO

198       Chapter 3, Batch Environment Services, qhold, qselect
199
200       The Base Definitions volume  of  POSIX.1‐2008,  Section  6.1,  Portable
201       Character  Set, Chapter 8, Environment Variables, Section 12.2, Utility
202       Syntax Guidelines
203
205       Portions of this text are reprinted and reproduced in  electronic  form
206       from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
207       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
208       Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
209       cal and Electronics Engineers,  Inc  and  The  Open  Group.   (This  is
210       POSIX.1-2008  with  the  2013  Technical Corrigendum 1 applied.) In the
211       event of any discrepancy between this version and the original IEEE and
212       The  Open Group Standard, the original IEEE and The Open Group Standard
213       is the referee document. The original Standard can be  obtained  online
214       at http://www.unix.org/online.html .
215
216       Any  typographical  or  formatting  errors that appear in this page are
217       most likely to have been introduced during the conversion of the source
218       files  to  man page format. To report such errors, see https://www.ker
219       nel.org/doc/man-pages/reporting_bugs.html .
220
221
222
223IEEE/The Open Group                  2013                             QRLS(1P)
Impressum