1QRERUN(P) POSIX Programmer's Manual QRERUN(P)
2
3
4
6 qrerun - rerun batch jobs
7
9 qrerun job_identifier ...
10
12 To rerun a batch job is to terminate the session leader of the batch
13 job, delete any associated checkpoint files, and return the batch job
14 to the batch queued state. A batch job is rerun by a request to the
15 batch server that manages the batch job. The qrerun utility is a user-
16 accessible batch client that requests the rerunning of one or more
17 batch jobs.
18
19 The qrerun utility shall rerun those batch jobs for which a batch
20 job_identifier is presented to the utility.
21
22 The qrerun utility shall rerun batch jobs in the order in which their
23 batch job_identifiers are presented to the utility.
24
25 If the qrerun utility fails to process any batch job_identifier suc‐
26 cessfully, the utility shall proceed to process the remaining batch
27 job_identifiers, if any.
28
29 The qrerun utility shall rerun batch jobs by sending a Rerun Job
30 Request to the batch server that manages each batch job.
31
32 For each successfully processed batch job_identifier, the qrerun util‐
33 ity shall have rerun the corresponding batch job at the time the util‐
34 ity exits.
35
37 None.
38
40 The qrerun utility shall accept one or more operands that conform to
41 the syntax for a batch job_identifier (see Batch Job Identifier ).
42
44 Not used.
45
47 None.
48
50 The following environment variables shall affect the execution of qre‐
51 run:
52
53 LANG Provide a default value for the internationalization variables
54 that are unset or null. (See the Base Definitions volume of
55 IEEE Std 1003.1-2001, Section 8.2, Internationalization Vari‐
56 ables for the precedence of internationalization variables used
57 to determine the values of locale categories.)
58
59 LC_ALL If set to a non-empty string value, override the values of all
60 the other internationalization variables.
61
62 LC_CTYPE
63 Determine the locale for the interpretation of sequences of
64 bytes of text data as characters (for example, single-byte as
65 opposed to multi-byte characters in arguments).
66
67 LC_MESSAGES
68 Determine the locale that should be used to affect the format
69 and contents of diagnostic messages written to standard error.
70
71 LOGNAME
72 Determine the login name of the user.
73
74
76 Default.
77
79 None.
80
82 The standard error shall be used only for diagnostic messages.
83
85 None.
86
88 None.
89
91 The following exit values shall be returned:
92
93 0 Successful completion.
94
95 >0 An error occurred.
96
97
99 In addition to the default behavior, the qrerun utility shall not be
100 required to write a diagnostic message to standard error when the error
101 reply received from a batch server indicates that the batch job_identi‐
102 fier does not exist on the server. Whether or not the qrerun utility
103 waits to output the diagnostic message while attempting to locate the
104 job on other servers is implementation-defined.
105
106 The following sections are informative.
107
109 None.
110
112 None.
113
115 The qrerun utility allows users to cause jobs in the running state to
116 exit and rerun.
117
118 The qrerun utility is a new utility, vis-a-vis existing practice, that
119 has been defined in this volume of IEEE Std 1003.1-2001 to correct
120 user-perceived deficiencies in the existing practice.
121
123 None.
124
126 Batch Environment Services
127
129 Portions of this text are reprinted and reproduced in electronic form
130 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
131 -- Portable Operating System Interface (POSIX), The Open Group Base
132 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
133 Electrical and Electronics Engineers, Inc and The Open Group. In the
134 event of any discrepancy between this version and the original IEEE and
135 The Open Group Standard, the original IEEE and The Open Group Standard
136 is the referee document. The original Standard can be obtained online
137 at http://www.opengroup.org/unix/online.html .
138
139
140
141IEEE/The Open Group 2003 QRERUN(P)