From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: f7344,79e7a80d9510d336 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,79e7a80d9510d336 X-Google-Attributes: gid1164f8,public From: Ed.Wilts@gems1.gov.bc.ca (Ed Wilts) Subject: Re: REQ: Queue control? Date: 1997/10/02 Message-ID: #1/1 X-Deja-AN: 278563244 References: <875744917.16978@dejanews.com> <3432fd7e.10871857@nntp.ix.netcom.com> Organization: Information Technology Services Division, Province of British Columbia Newsgroups: comp.sys.dec,comp.os.vms In article <3432fd7e.10871857@nntp.ix.netcom.com>, Data64@usa.net (Data64) writes: > On Wed, 01 Oct 1997 17:36:30 -0600, sapporo_guy@usa.net wrote: > >>My nightly batch queue creates tons of .log files from our automated >>system, all of which print wasting TONS of paper. >> >>What i'd LIKE to do is Stop the queue & run a job that looks at my queue, >>finds anything that's .LOG and DELETEs the entry. However, my DCL >>needs work. >> >>Anyone know of something already around that does this? I can't find >>anything at the Decus site (at least nothing this specific). Ideas? >>Suggestions? >> > > The simplest method would be to define a logical print queue that is > not mapped to any printer device. When the batch jobs execute, the > Login.com should make the logical SYS$PRINT point to this logical > print que. This would cause all the unwanted print entries to get > submitted to this logical print que. Then it is just a matter of > deleting the print entries. > > BTW, I have never tried running a batch job with SYS$PRINT pointing to > a null string (" "). You might want to try that. You can't do this, but there are a couple of NULL symbionts available that take every job "printed" to the specified queue and through them into the bit bucket. We've got one of these running here. Mine was written by Arne Vajh�j back in 1991. It's written in Macro, but is easy to install - you don't need to know any Macro to install it. .../Ed -- Ed Wilts Information Technology Services Division, Province of BC mailto:Ed.Wilts@GEMS1.Gov.BC.CA Phone: (250) 387-5302 Fax: (250) 387-5231 Disclaimer: The opinions and statements contained in this posting are the sole responsibility of the author and have not in any way been reviewed or approved by my employer or any network service.