VMS Help  —  SHOW  QUEUE  Examples
    1.$ SHOW QUEUE/ALL/BY_JOB_STATUS=pending

      Printer queue KLEE$LCA0, stopped, mounted form DEFAULT
        /BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=ELITE (stock=DEFAULT))
        /OWNER=[SYSTEM] /PROTECTION=(S:M,O:D,G:R,W:S)

        Entry     Jobname         Username        Blocks  Status
        -----     -------         --------        ------  ------
         2045     APPLICA         MARTIN             102  Pending

      Batch queue SYS_TEX, available, on NODE22::
        /BASE_PRIORITY=3 /JOB_LIMIT=25 /OWNER=[SYSTEM]
        /PROTECTION=(S:M,O:D,G:R,W:S)

        Entry     Jobname         Username                Status
        -----     -------         --------                ------
         1388     CHAPTER1.JOB    MARTIN                  Pending

      Generic batch queue CLUSTER_BATCH
        /GENERIC=(HMSCMS_BATCH,NODE22_BATCH) /OWNER=[SYSTEM]
        /PROTECTION=(S:M,O:D,G:R,W:S)

        Entry     Jobname         Username                Status
        -----     -------         --------                ------
          936     no privilege                            Pending
         .
         .
         .

      The SHOW QUEUE command in this example displays only the
      queues in which jobs are currently pending. The /ALL qualifier
      requests the display of all pending jobs. Notice that you
      cannot see job information for entry 936. You must have GROUP
      privilege to show all jobs in your group or OPER privilege to
      show all jobs in all groups.

    2.$ SHOW QUEUE/FULL ARMADA*

      Batch queue ARMADA_BATCH, idle, on ARMADA::
        /AUTO_START_ON=(ARMADA::) /BASE_PRIORITY=3 /JOB_LIMIT=3
        /OWNER=[SYSTEM] /PROTECTION=(S:M,O:D,G:R,W:S)

      Printer queue ARMADA$PRINT, stopped, on ARMADA::LPA0,
       mounted form DEFAULT
        /BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=ELITE (stock=DEFAULT))
        /OWNER=[SYSTEM] /PROTECTION=(S:E,O:D,G:R,W:W)

        Entry  Jobname         Username     Blocks  Status
        -----  -------         --------     ------  ------
          605  SET             DUDSON          140  Pending (queue stopped)
               Submitted 21-DEC-2001 16:14 /FORM=ELITE (stock=DEFAULT)
               /PRIORITY=200
               File: _$5$DUA1:[DUDSON]SET.CLD;5

          606  CLOSE           DUDSON          140  Pending (queue stopped)
               Submitted 21-DEC-2001 16:16 /FORM=DEFAULT /PRIORITY=200
               File: _$5$DUA1:[DUDSON]CLOSE.TXT;2

      Printer queue ARMADA$PRINTER_1, idle, on ARMADA::TTA3,
       mounted form DEFAULT
        <Printer queue on node ARMADA for a LN03R printer>
        /BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) /LIBRARY=SMU$DEVCTL
        Lowercase /OWNER=[SYSTEM] /PROCESSOR=CPS$SMB
        /PROTECTION=(S:M,O:D,G:R,W:S) /SEPARATE=(FLAG)

      The SHOW QUEUE command in this example lists information on
      all of your current job entries. Complete information about
      the queues, the jobs contained in those queues, and the files
      associated with the jobs is displayed.

    3.$ SHOW QUEUE/SUMMARY

      Batch queue HMSCMS_BATCH, available, on HMSCMS::

          Job summary:  1 executing,  5 holding

      Server queue NM$QUE01, available, on NODE22::, mounted form DEFAULT

          Job summary:  2 executing

      Generic server queue NM$QUEUE

          Job summary:  1 timed release

      Batch queue PIZZA_BATCH, idle, on PIZZA::

          Job summary:  queue is empty

      Batch queue NODE22_BATCH, available, on NODE22::

          Job summary:  1 executing,  1 timed release

      Printer queue ARMADA$PRINT, stopped, on ARMADA::LPA0, mounted
        form DEFAULT

          Job summary:  8 pending (565 blocks)

      Terminal queue ALLBQ, stopped, on KATYA::TTA2, mounted form DEFAULT

          Job summary:  2 pending (445 blocks)
         .
         .
         .

      The SHOW QUEUE command in this example lists all queues and
      displays the total number of jobs on the queues.

    4.$ SHOW QUEUE DOC$LN03

      Server queue DOC$LN03, stopped, on NEWTON::, mounted form DEFAULT

       Entry  Jobname   Username  Blocks  Status
       -----  -------   --------  ------  ------
         436  DOCPLAN   HERSHEY        8  Retained until 11-JAN-2001 16:56
            %JBC-F-JOBABORT, job aborted during execution
              Completed  11-JAN-2001 15:56 on queue DOC$LN03

      This SHOW QUEUE display includes the date and time at which a
      retained job completed and the queue on which it executed. You
      can specify the /RETAIN qualifier with the PRINT, SUBMIT, or
      SET ENTRY command to specify the circumstances under which you
      want your job to be retained in a queue. In this example, the
      user set job retention to be one hour after job completion.
      Depending on the queue's job retention policy, the job might be
      deleted from the queue at 16:56. (See the PRINT, SUBMIT, or SET
      ENTRY command descriptions for more information on the /RETAIN
      qualifier.)
Close Help