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 Batch Job Identifier ).
48
50 Not used.
51
53 None.
54
56 The following environment variables shall affect the execution of qre‐
57 run:
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
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
103
105 In addition to the default behavior, the qrerun 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 qrerun 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
115 None.
116
118 None.
119
121 The qrerun utility allows users to cause jobs in the running state to
122 exit and rerun.
123
124 The qrerun utility is a new utility, vis-a-vis existing practice, that
125 has been defined in this volume of IEEE Std 1003.1-2001 to correct
126 user-perceived deficiencies in the existing practice.
127
129 None.
130
132 Batch Environment Services
133
135 Portions of this text are reprinted and reproduced in electronic form
136 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
137 -- Portable Operating System Interface (POSIX), The Open Group Base
138 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
139 Electrical and Electronics Engineers, Inc and The Open Group. In the
140 event of any discrepancy between this version and the original IEEE and
141 The Open Group Standard, the original IEEE and The Open Group Standard
142 is the referee document. The original Standard can be obtained online
143 at http://www.opengroup.org/unix/online.html .
144
145
146
147IEEE/The Open Group 2003 QRERUN(1P)