<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Empty out a VMS print queue in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885019#M79577</link>
    <description>Jorgem&lt;BR /&gt;did you do a STOP/QUE/NEXT? perhaps this is an execution queue with a generic queue pointing to it? Then you have to stop/delete the generic queue 1st.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
    <pubDate>Mon, 23 Oct 2006 10:27:28 GMT</pubDate>
    <dc:creator>Karl Rohwedder</dc:creator>
    <dc:date>2006-10-23T10:27:28Z</dc:date>
    <item>
      <title>Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885016#M79574</link>
      <description>Greetings,&lt;BR /&gt;&lt;BR /&gt;Is there a easier way to empty out a VMS queue with one (1) command line?  I have hundreds of entries in this queue and it would take a good 1 hour to empty it by a simgle del/entry=xxx&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;Jorge</description>
      <pubDate>Mon, 23 Oct 2006 09:58:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885016#M79574</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-10-23T09:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885017#M79575</link>
      <description>Jorge,&lt;BR /&gt;&lt;BR /&gt;note the queue configuration (SHO QUE/FULL) and delete the queue with: DELETE/QUEUE queue-name. Then re-create the queue with the previously documented settings.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 23 Oct 2006 10:03:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885017#M79575</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-10-23T10:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885018#M79576</link>
      <description>I get an error deleting the queue.  And yes, I did stopped the queue prior deleting it.</description>
      <pubDate>Mon, 23 Oct 2006 10:23:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885018#M79576</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-10-23T10:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885019#M79577</link>
      <description>Jorgem&lt;BR /&gt;did you do a STOP/QUE/NEXT? perhaps this is an execution queue with a generic queue pointing to it? Then you have to stop/delete the generic queue 1st.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Mon, 23 Oct 2006 10:27:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885019#M79577</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-10-23T10:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885020#M79578</link>
      <description>Hi Jorge,&lt;BR /&gt;&lt;BR /&gt;I had a little .COM file once that did what you are after, since I couldn't find a way to do it from a single command.&lt;BR /&gt;&lt;BR /&gt;I think it worked with a bit of F$GETQUI in a loop.&lt;BR /&gt;&lt;BR /&gt;I'll have a hunt around and see if I can find it, can't promise it's still about though it was a few years ago.&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 23 Oct 2006 10:40:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885020#M79578</guid>
      <dc:creator>Jefferson Humber</dc:creator>
      <dc:date>2006-10-23T10:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885021#M79579</link>
      <description>Can't find my version, but there is one here on comp.os.vms&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://groups.google.co.uk/group/comp.os.vms/browse_frm/thread/85cdd2ec23acad70/0ace51f857bfc431?lnk=st&amp;amp;q=delete+print+queue+entries+vms&amp;amp;rnum=11&amp;amp;hl=en#0ace51f857bfc431" target="_blank"&gt;http://groups.google.co.uk/group/comp.os.vms/browse_frm/thread/85cdd2ec23acad70/0ace51f857bfc431?lnk=st&amp;amp;q=delete+print+queue+entries+vms&amp;amp;rnum=11&amp;amp;hl=en#0ace51f857bfc431&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Jeff</description>
      <pubDate>Mon, 23 Oct 2006 10:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885021#M79579</guid>
      <dc:creator>Jefferson Humber</dc:creator>
      <dc:date>2006-10-23T10:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885022#M79580</link>
      <description>Jeff - Works like a charm in 7.3-2&lt;BR /&gt;&lt;BR /&gt;~Many thanks!!&lt;BR /&gt;&lt;BR /&gt;J</description>
      <pubDate>Mon, 23 Oct 2006 11:06:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885022#M79580</guid>
      <dc:creator>Jorge Cocomess</dc:creator>
      <dc:date>2006-10-23T11:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885023#M79581</link>
      <description>&lt;BR /&gt;I think this one is a bit more efficient than the one at the search link, since it doesn't have to loop to find the correct print queue.  If you have lots of queues, this might make a noticable difference.&lt;BR /&gt;&lt;BR /&gt;It also checks only printer and terminal queues so you can't acidentally clean out an execution queue with a typo.  The I/O syntax might not be as clean, though:-)&lt;BR /&gt;&lt;BR /&gt;$ If (P1.NES."")&lt;BR /&gt;$   THEN&lt;BR /&gt;$     WHICH_Q = P1&lt;BR /&gt;$   ELSE&lt;BR /&gt;$     READ/END=DONE/PROMPT="Enter the name of the queue you wish to clean: " -&lt;BR /&gt;                                                        SYS$COMMAND WHICH_Q&lt;BR /&gt;$     IF WHICH_Q .EQS. "" THEN GOTO DONE&lt;BR /&gt;$   ENDIF&lt;BR /&gt;$&lt;BR /&gt;$! check queue existence and set context&lt;BR /&gt;$ Q_NAME = F$GETQUI("DISPLAY_QUEUE","QUEUE_NAME","''which_q'","PRINTER,TERMINAL,WILDCARD")&lt;BR /&gt;$ IF Q_NAME .EQS. "" THEN GOTO NO_QUEUE&lt;BR /&gt;$ STOP/QUEUE/RESET 'Q_NAME'&lt;BR /&gt;$&lt;BR /&gt;$LOOP:&lt;BR /&gt;$! get the next entry number and delete it from the queue&lt;BR /&gt;$ ENTRY == F$GETQUI("DISPLAY_JOB","ENTRY_NUMBER",,"ALL_JOBS,WILDCARD")&lt;BR /&gt;$ IF (ENTRY.EQS."") THEN GOTO DONE&lt;BR /&gt;$ DELETE/ENTRY='ENTRY' 'Q_NAME'&lt;BR /&gt;$ GOTO LOOP&lt;BR /&gt;$&lt;BR /&gt;$NO_QUEUE:&lt;BR /&gt;$ WRITE SYS$OUTPUT "Queue ''which_q' does not exist."&lt;BR /&gt;$&lt;BR /&gt;$DONE:&lt;BR /&gt;$! clear queue context&lt;BR /&gt;$ Q_NAME = F$GETQUI("")&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Oct 2006 16:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885023#M79581</guid>
      <dc:creator>Gregg Parmentier</dc:creator>
      <dc:date>2006-10-23T16:24:03Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885024#M79582</link>
      <description>The easiest way to empty out a batch or print queue takes 3 lines of DCL:&lt;BR /&gt;&lt;BR /&gt;$ INIT /QUEUE JUNKQ !add /BATCH or /DEVICE&lt;BR /&gt;$ ASSIGN/MERGE JUNKQ the_real_q&lt;BR /&gt;$ DELETE/QUEUE JUNKQ</description>
      <pubDate>Mon, 23 Oct 2006 18:32:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885024#M79582</guid>
      <dc:creator>Jess Goodman</dc:creator>
      <dc:date>2006-10-23T18:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885025#M79583</link>
      <description>Attached is a small procedure, that moves queue entries to/from a 'dummy' queue, in order to allow maintenance on the original queue.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Mon, 23 Oct 2006 23:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885025#M79583</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-10-23T23:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885026#M79584</link>
      <description>I like the solution of Jess. Didn't think of it (esp. when you are without your toolkit).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 24 Oct 2006 01:47:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885026#M79584</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-10-24T01:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885027#M79585</link>
      <description>In 20+ years with VMS I don't recall coming across Jess's solution ever before (but my memory is pretty bad these days.) It is efficient, clever, and elegant (in a sort of mathematical sense.)</description>
      <pubDate>Tue, 24 Oct 2006 06:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885027#M79585</guid>
      <dc:creator>Galen Tackett</dc:creator>
      <dc:date>2006-10-24T06:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Empty out a VMS print queue</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885028#M79586</link>
      <description>My solution, which lets select jobs by user,by name, or by queue name:&lt;BR /&gt;&lt;BR /&gt;  &lt;A href="http://wwwvms.mppmu.mpg.de/util_root/com/abojob.com" target="_blank"&gt;http://wwwvms.mppmu.mpg.de/util_root/com/abojob.com&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Oct 2006 07:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/empty-out-a-vms-print-queue/m-p/3885028#M79586</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2006-10-24T07:02:00Z</dc:date>
    </item>
  </channel>
</rss>

