Path: utzoo!attcan!uunet!husc6!bbn!uwmcsd1!ig!agate!ucbvax!NAIF.JPL.NASA.GOV!PJS From: PJS@NAIF.JPL.NASA.GOV (Peter Scott) Newsgroups: comp.os.vms Subject: Re: STOP/QUEUE Message-ID: <880520112032.00000BDC0F1@naif.JPL.NASA.GOV> Date: 20 May 88 19:20:32 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 26 >unmvax!charon!sdowdy@ucbvax.Berkeley.EDU says: >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 > 2) pid = f$getdvi(,"PID") ! get symbiont PID > 3) Stop/Id='pid' ! Kill the symbiont > 4) Delete/Queue >i need to delete the queue to modify parameters on the spooled device via >SET TERM, or just to move the print queue to another device (having a >DZ blowup recently, and moving the line...) Well, first of all, STOP/QUEUE only "pauses" a queue. If you really want to clobber it, use STOP/QUEUE/RESET (the purpose of pausing a queue is to change ribbons, etc). Then you can delete the queue, which usually kills the symbiont anyway, although hopefully that won't happen if it's multiply threaded. The method you came up wilh above is novel, but perhaps with undesirable side-effects. However, I think there is a way to move all the jobs to a new queue using the ASSIGN/QUEUE command. Can't say for sure; haven't tried it. Peter Scott (pjs%grouch@jpl-mil.jpl.nasa.gov)