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