HELPLIB.HLB  —  STOP  /QUEUE  /NEXT
    Stops the specified queue after all executing jobs have completed
    processing. No new jobs are initiated. For autostart queues, also
    marks the queue as inactive for autostart.

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

    Requires manage (M) access to the queue.

    Format

      STOP/QUEUE/NEXT  queue-name[:]

1  –  Parameter

 queue-name[:]

    Specifies the name of the queue that you want to stop.

2  –  Examples

    1.$ STOP/QUEUE/NEXT LASER_PRINT

      In this example, the STOP/QUEUE/NEXT command prepares to stop
      the queue LASER_PRINT. The currently printing job is allowed
      to complete, but no new job is allowed to initiate. Once the
      current job has finished, the queue is stopped.

      If LASER_PRINT is an autostart queue, it will not be
      automatically started until you enter the START/QUEUE command.

    2.$ STOP/QUEUE/NEXT BATCH_1
      $ SHOW QUEUE/ALL BATCH_1
      Batch queue BATCH_1, stopped, on JADE::
      $ DELETE/QUEUE BATCH_1

      This example shows how to delete the batch queue BATCH_
      1. First, the STOP/QUEUE/NEXT command is entered, which
      stops the queue after jobs currently executing on the
      queue are completed. Second, the SHOW QUEUE/ALL command is
      entered to ensure that no jobs are pending in the queue. The
      screen display shows that no jobs are pending. Finally, the
      DELETE/QUEUE command is entered to delete the queue BATCH_1.
Close Help