sdowdy@charon.unm.edu (Stephen Dowdy) (05/16/88)
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> If i don't kill the symbiont, VMS will say "queue must be stopped", which i have already done in step 1. I don't want to kill the symbiont, since that's not very nice to do to a multi-threaded process driving multiple print queues. I don't know offhand if this is only for spooled print queues, or not, but 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...) I'd really appreciate a "nice" way to do this, since i make changes to queues fairly regularly (or have been forced to). Thanks, --stephen dowdy -- $!####################################################################### $! stephen dowdy (UNM CIRT) Albuquerque, New Mexico, 87131 (505) 277-8044 $! Usenet: {convex,ucbvax,gatech,csu-cs,anl-mcs}!unmvax!charon!sdowdy $! BITNET: sdowdy@unmb $! Internet: sdowdy@ariel.unm.edu $! Team SPAM in '88! SPAAAAAAAAAAAAAAAAAAAAMMMMMMM! $!#######################################################################
howells@pioneer.arpa (John Howells) (05/18/88)
In article <3107@charon.unm.edu> sdowdy@charon.unm.edu (Stephen Dowdy) 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> > I have always had good results with $STOP/QUE/RESET and then $DELE/QUEUE <queue>. ___ _ , _ _ ( > / ' ) / // // --- __/______/_ ____ /--/ ____, , , _ // // _ / / (_) / /_/ / <_ / (_(_) (_(_/_</_</_</_/_)_ <_/
carl@CITHEX.CALTECH.EDU (Carl J Lydick) (05/22/88)
> 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> > > If i don't kill the symbiont, VMS will say "queue must be stopped", which > i have already done in step 1. I don't want to kill the symbiont, since > that's not very nice to do to a multi-threaded process driving multiple > print queues. You might try stopping the queue before you try deleting it, instead of pausing it. To do this, use the command $ stop/next <queue>
rang@CPS45X.CPS.MSU.EDU (Anton Rang) (05/22/88)
I think that the 'stop/queue/next' command will do what you want. The 'stop/queue' command puts the queue in 'paused' state, not 'stopped' state (maybe another one would stop it). At least, that's what it did last I checked (last year). Anton Rang
LEICHTER@VENUS.YCC.YALE.EDU ("Jerry Leichter ", LEICHTER-JERRY@CS.YALE.EDU) (05/22/88)
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> Stopping the symbiont is really not the way to go.... If i don't kill the symbiont, VMS will say "queue must be stopped", which i have already done in step 1. I don't want to kill the symbiont, since that's not very nice to do to a multi-threaded process driving multiple print queues. Try doing a STOP/QUEUE/NEXT on the queue. (Yes, it's all in the manuals, but no, this stuff is NOT obvious.) -- Jerry
art@MITRE.ARPA (Art McClinton) (05/23/88)
You did not expand the command that you are using to stop the Queue. The correct command is $STOP/QUE/NEXT <queue_name>. If you do not include the "/NEXT", the queue is only paused to allow you to correct a problem with the printer. The /NEXT allows the present queue task to complete an the queue is then fully stopped. At this point you can delete the queue. If you accidentally "pause" the queue, you must restart it before "stopping" it correctly. I will not go into the many possible problems you can cause by deleteing the symbiont. * *---Art * *Arthur T. McClinton Jr. ARPA: ART@MITRE.ARPA *Mitre Corporation MS-Z305 Phone: 703-883-6356 *1820 Dolley Madison Blvd Internal Mitre: ART@MWVMS or M10319@MWVM *McLean, Va. 22102 DECUS DCS: MCCLINTON * =-=- This note is in response to yours which follows -=-= 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> If i don't kill the symbiont, VMS will say "queue must be stopped", which i have already done in step 1. I don't want to kill the symbiont, since that's not very nice to do to a multi-threaded process driving multiple print queues. I don't know offhand if this is only for spooled print queues, or not, but 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...) I'd really appreciate a "nice" way to do this, since i make changes to queues fairly regularly (or have been forced to). Thanks, --stephen dowdy -- $!####################################################################### $! stephen dowdy (UNM CIRT) Albuquerque, New Mexico, 87131 (505) 277-8044 $! Usenet: {convex,ucbvax,gatech,csu-cs,anl-mcs}!unmvax!charon!sdowdy $! BITNET: sdowdy@unmb $! Internet: sdowdy@ariel.unm.edu $! Team SPAM in '88! SPAAAAAAAAAAAAAAAAAAAAMMMMMMM! $!#######################################################################
craig@csdgwy.csd.unsw.oz (05/24/88)
In article <3107@charon.unm.edu>, sdowdy@charon.unm.edu (Stephen Dowdy) 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> The way to stop the symbiont is: $ STOP/NEXT <queue_name> There should be no need to actually delete the queue if you simply wish to modify parameters on the spooled device (SET TERM). However if the device has been spooled, you will have to $ SET DEVICE/NOSPOOL <queue_device> before you can do a SET TERM (remembering to set it back to spooled after altering the terminal characteristics). Craig McGregor
info-vax-request%kl.sri.COM%KL.SRI.COM%lbl%sfsu1.hepnet@LBL.GOV (05/28/88)
Received: from KL.SRI.COM by LBL.Gov with INTERNET ; Fri, 27 May 88 15:17:11 PDT Received: from ucbvax.Berkeley.EDU by KL.SRI.COM with TCP; Thu 26 May 88 02:36:17-PDT Received: by ucbvax.Berkeley.EDU (5.59/1.28) id AA14760; Wed, 25 May 88 19:54:27 PDT Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 24 May 88 09:23:14 GMT From: munnari!otc!metro!basser!usage!csdgwy!craig@uunet.uu.net Organization: University of New South Wales Subject: Re: $ Delete/Queue ; help needed Message-Id: <403@csdgwy.csd.unsw.oz> References: <3107@charon.unm.edu> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com In article <3107@charon.unm.edu>, sdowdy@charon.unm.edu (Stephen Dowdy) 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> The way to stop the symbiont is: $ STOP/NEXT <queue_name> There should be no need to actually delete the queue if you simply wish to modify parameters on the spooled device (SET TERM). However if the device has been spooled, you will have to $ SET DEVICE/NOSPOOL <queue_device> before you can do a SET TERM (remembering to set it back to spooled after altering the terminal characteristics). Craig McGregor