VMS Help  —  ASSIGN  /QUEUE
    Assigns, or redirects, a logical queue to a single execution
    queue. The ASSIGN/QUEUE command can be used only with printer or
    terminal queues.

    Requires manage (M) access to both queues.

    Format

      ASSIGN/QUEUE  queue-name[:] logical-queue-name[:]

1  –  Parameters

 queue-name[:]

    Specifies the name of the execution queue. The queue cannot be a
    logical queue, a generic queue, or a batch queue.

 logical-queue-name[:]

    Specifies the name of the logical queue.

2  –  Examples

    1.$ INITIALIZE/QUEUE/DEFAULT=FLAG=ONE/START LPA0
      $ INITIALIZE/QUEUE TEST_QUEUE
      $ ASSIGN/QUEUE LPA0 TEST_QUEUE
      $ START/QUEUE TEST_QUEUE

      This example first initializes and starts the printer queue
      LPA0. The LPA0 queue is set to have a flag page precede each
      job. The second INITIALIZE/QUEUE command creates the logical
      queue TEST_QUEUE. The ASSIGN/QUEUE command assigns the logical
      queue TEST_QUEUE to the printer queue LPA0. The START/QUEUE
      command starts the logical queue.

    2.$ INITIALIZE/QUEUE/START LPB0

      The ASSIGN/QUEUE command is not needed in this example because
      a logical queue is not being initialized. A printer queue is
      being initialized; LPB0 is the name of a line printer. After
      you enter the INITIALIZE/QUEUE/START command, jobs can be
      queued to LPB0 for printing.
Close Help