[comp.os.vms] $ DELETE/QUEUE

JMS@MIS.ARIZONA.EDU ("That ain't no VAX; that's an 1840") (05/22/88)

unmvax!charon!sdowdy@ucbvax.Berkeley.EDU writes:

>Does anyone know of a way to *really* delete a print queue on a spooled
>device?

>Up to this point the only way i can get the queue deleted is by:
>	1) $ stop <queue>
>	2) pid = f$getdvi(<queue_device>,"PID")	! get symbiont PID
>	3) Stop/Id='pid'			! Kill the symbiont
>	4) Delete/Queue <queue>

Don't do that.  Do this:
	1) $ stop/que/next <queue>
	2) $ delete/que    <queue>

You have to do a stop/que/next, not just a stop/que.  I don't
remember if this is a RTFM, but it's been that way as long as I
can remember (for reasons which I'm sure Jerry Leichter will 
explain in greater detail than I care to).

+----------------------------+ BITNET: jms@arizmis.BITNET
|Joel M Snyder               | Inter: jms@mis.arizona.edu     
|Univ of Arizona Dep't of MIS| Phone: 602.621.2748   ICBM: 32 13 N / 110 58 W
|Tucson, AZ 85721            | Quote: "Design is everything. 
+----------------------------+         Implementation is trivial."