HELPLIB.HLB  —  STOP  /QUEUE  /ENTRY
    Aborts one or more jobs that are executing on a batch queue or
    printing on an output queue, deletes them from the queue, and
    begins processing the first pending job in the queue. The /QUEUE
    qualifier is optional, but the /ENTRY qualifier is required.

    Requires delete (D) access to the specified job.

    Format

      STOP/QUEUE/ENTRY=(entry-number[,...]) [queue-name[:]]

1  –  Parameters

 entry-number[,...]

    Specifies the entry number (or a list of entry numbers) of jobs
    to be deleted. If you specify only one entry number, you can
    omit the parentheses. If you do not specify a queue name, you can
    delete entries from multiple queues.

    The system assigns a unique entry number to each queued print
    or batch job in the system. By default, the PRINT and SUBMIT
    commands display the entry number when they successfully queue
    a job for processing. These commands also create or update the
    local symbol $ENTRY to reflect the entry number of the most
    recently queued job. To find a job's entry number, enter the
    SHOW ENTRY or the SHOW QUEUE command.

 queue-name[:]

    Specifies the name of the queue that contains the jobs that you
    want to abort. The queue name can refer either to the queue
    to which the job was submitted or to the queue where the job
    is executing. The queue-name parameter is optional syntax;
    however, when you specify a queue name, the OpenVMS system uses
    it to verify an entry in the specific queue before stopping and
    deleting the entry.

2  –  Example

  $ STOP/QUEUE/ENTRY=365 SYS$BATCH

      The STOP/QUEUE/ENTRY command in this example aborts batch
      job number 365 currently executing on the SYS$BATCH queue and
      begins the first pending job in the queue.
Close Help