HELPLIB.HLB  —  STOP  /QUEUE  /RESET
    Abruptly stops the queue and returns control to the system.
    Any jobs that cannot be restarted are aborted immediately. For
    autostart queues, also marks the queue as inactive for autostart.

    The /QUEUE qualifier is optional, but you must specify the /RESET
    qualifier.

    Requires manage (M) access to the queue.

    Format

      STOP/QUEUE/RESET  queue-name[:]

1  –  Parameter

 queue-name[:]

    Specifies the name of the queue you want to reset.

2  –  Examples

    1.$ INITIALIZE/QUEUE/AUTOSTART_ON=MYNODE::LPAO/START LPA0
      $ENABLE AUTOSTART/QUEUES/ON_NODE=MYNODE
         .
         .
         .
      $STOP/QUEUE/RESET LPA0
      $START/QUEUE LPA0

      THE INITIALIZE/QUEUE command in this example creates an
      autostart output queue named LPA0. The /START qualifier
      activates the queue for autostart, and the ENABLE
      AUTOSTART/QUEUES command causes the queue to begin executing.

      Suppose the printer LPA0:: runs out of paper. The
      STOP/QUEUE/RESET command abruptly stops the queue LPA0. The
      current print job stops immediately and is requeued. The
      STOP/QUEUE/RESET command also makes the queue inactive for
      autostart, so it will not be restarted while the printer's
      paper is being resupplied.

      After the printer is loaded with paper, the START/QUEUE command
      makes the queue active for autostart and allows the queue
      manager to automatically start it again.

    2.$ STOP/QUEUE/RESET TEXBATCH

      The STOP/QUEUE/RESET command in this example stops the batch
      queue TEXBATCH. Any current jobs that were submitted with the
      /RESTART qualifier are requeued for processing when the queue
      is restarted. Users might want to resubmit current jobs that
      were not originally submitted with the /RESTART qualifier.
Close Help