# qrerun

## PROLOG



           This manual page is part of the POSIX Programmer's Manual.  The
           Linux implementation of this interface may differ (consult the
           corresponding Linux manual page for details of Linux behavior), or
           the interface may not be implemented on Linux.
    


## NAME



           qrerun — rerun batch jobs
    


## SYNOPSIS



           qrerun _job_identifier_...
    


## DESCRIPTION



           To rerun a batch job is to terminate the session leader of the
           batch job, delete any associated checkpoint files, and return the
           batch job to the batch queued state. A batch job is rerun by a
           request to the batch server that manages the batch job. The _qrerun_
           utility is a user-accessible batch client that requests the
           rerunning of one or more batch jobs.
    
           The _qrerun_ utility shall rerun those batch jobs for which a batch
           _job_identifier_ is presented to the utility.
    
           The _qrerun_ utility shall rerun batch jobs in the order in which
           their batch _job_identifier_ s are presented to the utility.
    
           If the _qrerun_ utility fails to process any batch _job_identifier_
           successfully, the utility shall proceed to process the remaining
           batch _job_identifier_ s, if any.
    
           The _qrerun_ utility shall rerun batch jobs by sending a _Rerun Job_
           _Request_ to the batch server that manages each batch job.
    
           For each successfully processed batch _job_identifier_ , the _qrerun_
           utility shall have rerun the corresponding batch job at the time
           the utility exits.
    


## OPTIONS



           None.
    


## OPERANDS



           The _qrerun_ utility shall accept one or more operands that conform
           to the syntax for a batch _job_identifier_ (see _Section 3.3.1_ , _Batch_
           _Job Identifier_).
    


## STDIN



           Not used.
    


## INPUT FILES



           None.
    


## ENVIRONMENT VARIABLES



           The following environment variables shall affect the execution of
           _qrerun_ :
    
           _LANG_      Provide a default value for the internationalization
                     variables that are unset or null. (See the Base
                     Definitions volume of POSIX.1‐2017, _Section 8.2_ ,
                     _Internationalization Variables_ the precedence of
                     internationalization variables used to determine the
                     values of locale categories.)
    
           _LC_ALL_    If set to a non-empty string value, override the values
                     of all the other internationalization variables.
    
           _LC_CTYPE_  Determine the locale for the interpretation of sequences
                     of bytes of text data as characters (for example,
                     single-byte as opposed to multi-byte characters in
                     arguments).
    
           _LC_MESSAGES_
                     Determine the locale that should be used to affect the
                     format and contents of diagnostic messages written to
                     standard error.
    
           _LOGNAME_   Determine the login name of the user.
    


## ASYNCHRONOUS EVENTS



           Default.
    


## STDOUT



           None.
    


## STDERR



           The standard error shall be used only for diagnostic messages.
    


## OUTPUT FILES



           None.
    


## EXTENDED DESCRIPTION



           None.
    


## EXIT STATUS



           The following exit values shall be returned:
    
            0    Successful completion.
    
           >0    An error occurred.
    


## CONSEQUENCES OF ERRORS



           In addition to the default behavior, the _qrerun_ utility shall not
           be required to write a diagnostic message to standard error when
           the error reply received from a batch server indicates that the
           batch _job_identifier_ does not exist on the server. Whether or not
           the _qrerun_ utility waits to output the diagnostic message while
           attempting to locate the job on other servers is implementation-
           defined.
    
           _The following sections are informative._
    


## APPLICATION USAGE



           None.
    


## EXAMPLES



           None.
    


## RATIONALE



           The _qrerun_ utility allows users to cause jobs in the running state
           to exit and rerun.
    
           The _qrerun_ utility is a new utility, _vis-a-vis_ existing practice,
           that has been defined in this volume of POSIX.1‐2017 to correct
           user-perceived deficiencies in the existing practice.
    


## FUTURE DIRECTIONS



           The _qrerun_ utility may be removed in a future version.
    


* * *