1 .\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
2 .TH "QDEL" P 2003 "IEEE/The Open Group" "POSIX Programmer's Manual"
5 qdel \- delete batch jobs
8 \fBqdel\fP \fIjob_identifier\fP \fB... \fP
11 A batch job is deleted by sending a request to the batch server that
12 manages the batch job. A batch job that has been deleted is
13 no longer subject to management by batch services.
15 The \fIqdel\fP utility is a user-accessible client of batch services
16 that requests the deletion of one or more batch jobs.
18 The \fIqdel\fP utility shall request a batch server to delete those
19 batch jobs for which a batch \fIjob_identifier\fP is
20 presented to the utility.
22 The \fIqdel\fP utility shall delete batch jobs in the order in which
23 their batch \fIjob_identifier\fPs are presented to the
26 If the \fIqdel\fP utility fails to process any batch \fIjob_identifier\fP
27 successfully, the utility shall proceed to process
28 the remaining batch \fIjob_identifier\fPs, if any.
30 The \fIqdel\fP utility shall delete each batch job by sending a \fIDelete
31 Job Request\fP to the batch server that manages the
34 The \fIqdel\fP utility shall not exit until the batch job corresponding
35 to each successfully processed batch
36 \fIjob_identifier\fP has been deleted.
42 The \fIqdel\fP utility shall accept one or more operands that conform
43 to the syntax for a batch \fIjob_identifier\fP (see \fIBatch Job Identifier\fP
51 .SH ENVIRONMENT VARIABLES
53 The following environment variables shall affect the execution of
57 Provide a default value for the internationalization variables that
58 are unset or null. (See the Base Definitions volume of
59 IEEE\ Std\ 1003.1-2001, Section 8.2, Internationalization Variables
61 the precedence of internationalization variables used to determine
62 the values of locale categories.)
65 If set to a non-empty string value, override the values of all the
66 other internationalization variables.
69 Determine the locale for the interpretation of sequences of bytes
70 of text data as characters (for example, single-byte as
71 opposed to multi-byte characters in arguments).
74 Determine the locale that should be used to affect the format and
75 contents of diagnostic messages written to standard
79 Determine the login name of the user.
81 .SH ASYNCHRONOUS EVENTS
86 An implementation of the \fIqdel\fP utility may write informative
87 messages to standard output.
90 The standard error shall be used only for diagnostic messages.
94 .SH EXTENDED DESCRIPTION
99 The following exit values shall be returned:
102 Successful completion.
107 .SH CONSEQUENCES OF ERRORS
109 In addition to the default behavior, the \fIqdel\fP utility shall
110 not be required to write a diagnostic message to standard
111 error when the error reply received from a batch server indicates
112 that the batch \fIjob_identifier\fP does not exist on the
113 server. Whether or not the \fIqdel\fP utility waits to output the
114 diagnostic message while attempting to locate the job on other
115 servers is implementation-defined.
117 \fIThe following sections are informative.\fP
118 .SH APPLICATION USAGE
126 The \fIqdel\fP utility allows users and administrators to delete jobs.
128 The \fIqdel\fP utility provides functionality that is not otherwise
129 available. For example, the \fIkill\fP utility of the operating system
130 does not suffice. First, to use the \fIkill\fP utility, the user might
131 have to log in on a remote node, because the \fIkill\fP utility does
132 not operate across the network. Second, unlike \fIqdel\fP, \fIkill\fP
133 cannot remove jobs from queues. Lastly, the arguments of the \fIqdel\fP
135 identifiers rather than process identifiers, and so this utility can
136 be passed the output of the \fIqselect\fP utility, thus providing
137 users with a means of deleting a list of jobs.
139 Because a set of jobs can be selected using the \fIqselect\fP utility,
141 utility has not been complicated with options that provide for selection
142 of jobs. Instead, the batch jobs to be deleted are
143 identified individually by their job identifiers.
145 Historically, the \fIqdel\fP utility has been a component of NQS,
146 the existing practice on which it is based. However, the
147 \fIqdel\fP utility defined in this volume of IEEE\ Std\ 1003.1-2001
148 does not provide an option for specifying a signal
149 number to send to the batch job prior to the killing of the process;
150 that capability has been subsumed by the \fIqsig\fP utility.
152 A discussion was held about the delays of networking and the possibility
153 that the batch server may never respond, due to a down
154 router, down batch server, or other network mishap. The DESCRIPTION
155 records this under the words "fails to process any job
156 identifier". In the broad sense, the network problem is also an error,
157 which causes the failure to process the batch job
159 .SH FUTURE DIRECTIONS
164 \fIBatch Environment Services\fP , \fIkill\fP() , \fIqselect\fP ,
167 Portions of this text are reprinted and reproduced in electronic form
168 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
169 -- Portable Operating System Interface (POSIX), The Open Group Base
170 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
171 Electrical and Electronics Engineers, Inc and The Open Group. In the
172 event of any discrepancy between this version and the original IEEE and
173 The Open Group Standard, the original IEEE and The Open Group Standard
174 is the referee document. The original Standard can be obtained online at
175 http://www.opengroup.org/unix/online.html .