1QRERUN(1P) POSIX Programmer's Manual QRERUN(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
11
13 qrerun — rerun batch jobs
14
16 qrerun job_identifier...
17
19 To rerun a batch job is to terminate the session leader of the batch
20 job, delete any associated checkpoint files, and return the batch job
21 to the batch queued state. A batch job is rerun by a request to the
22 batch server that manages the batch job. The qrerun utility is a user-
23 accessible batch client that requests the rerunning of one or more
24 batch jobs.
25
26 The qrerun utility shall rerun those batch jobs for which a batch
27 job_identifier is presented to the utility.
28
29 The qrerun utility shall rerun batch jobs in the order in which their
30 batch job_identifiers are presented to the utility.
31
32 If the qrerun utility fails to process any batch job_identifier suc‐
33 cessfully, the utility shall proceed to process the remaining batch
34 job_identifiers, if any.
35
36 The qrerun utility shall rerun batch jobs by sending a Rerun Job
37 Request to the batch server that manages each batch job.
38
39 For each successfully processed batch job_identifier, the qrerun util‐
40 ity shall have rerun the corresponding batch job at the time the util‐
41 ity exits.
42
44 None.
45
47 The qrerun utility shall accept one or more operands that conform to
48 the syntax for a batch job_identifier (see Section 3.3.1, Batch Job
49 Identifier).
50
52 Not used.
53
55 None.
56
58 The following environment variables shall affect the execution of qre‐
59 run:
60
61 LANG Provide a default value for the internationalization vari‐
62 ables that are unset or null. (See the Base Definitions vol‐
63 ume of POSIX.1‐2008, Section 8.2, Internationalization Vari‐
64 ables the precedence of internationalization variables used
65 to determine the values of locale categories.)
66
67 LC_ALL If set to a non-empty string value, override the values of
68 all the other internationalization variables.
69
70 LC_CTYPE Determine the locale for the interpretation of sequences of
71 bytes of text data as characters (for example, single-byte as
72 opposed to multi-byte characters in arguments).
73
74 LC_MESSAGES
75 Determine the locale that should be used to affect the format
76 and contents of diagnostic messages written to standard
77 error.
78
79 LOGNAME Determine the login name of the user.
80
82 Default.
83
85 None.
86
88 The standard error shall be used only for diagnostic messages.
89
91 None.
92
94 None.
95
97 The following exit values shall be returned:
98
99 0 Successful completion.
100
101 >0 An error occurred.
102
104 In addition to the default behavior, the qrerun utility shall not be
105 required to write a diagnostic message to standard error when the error
106 reply received from a batch server indicates that the batch job_identi‐
107 fier does not exist on the server. Whether or not the qrerun utility
108 waits to output the diagnostic message while attempting to locate the
109 job on other servers is implementation-defined.
110
111 The following sections are informative.
112
114 None.
115
117 None.
118
120 The qrerun utility allows users to cause jobs in the running state to
121 exit and rerun.
122
123 The qrerun utility is a new utility, vis-a-vis existing practice, that
124 has been defined in this volume of POSIX.1‐2008 to correct user-per‐
125 ceived deficiencies in the existing practice.
126
128 The qrerun utility may be removed in a future version.
129
131 Chapter 3, Batch Environment Services
132
133 The Base Definitions volume of POSIX.1‐2008, Chapter 8, Environment
134 Variables
135
137 Portions of this text are reprinted and reproduced in electronic form
138 from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
139 -- Portable Operating System Interface (POSIX), The Open Group Base
140 Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
141 cal and Electronics Engineers, Inc and The Open Group. (This is
142 POSIX.1-2008 with the 2013 Technical Corrigendum 1 applied.) In the
143 event of any discrepancy between this version and the original IEEE and
144 The Open Group Standard, the original IEEE and The Open Group Standard
145 is the referee document. The original Standard can be obtained online
146 at http://www.unix.org/online.html .
147
148 Any typographical or formatting errors that appear in this page are
149 most likely to have been introduced during the conversion of the source
150 files to man page format. To report such errors, see https://www.ker‐
151 nel.org/doc/man-pages/reporting_bugs.html .
152
153
154
155IEEE/The Open Group 2013 QRERUN(1P)