|
On Thursday 28 August 2003 20:56, David A Parnin wrote: > Greetings, > > As part of our nightly backup we have several OUTQ's that we clear out. > We've discussed the possibility of deleting spool files older than two > days so that we could reference recent activity. Is there an easy way > to accomplish this (system values, shareware, etc)? I could do a > WRKOUTQ OUTQ (*ALL) OUTPUT(*PRINT) then a CPYSPLF to a database file, > read through it looking for the desired output queues, then do a > DSPSPLFA to get the date, and delete it if it's too old. That just > seems like a lot of work and I'd rather not reinvent the wheel if it's > already been done. Any suggestions would be appreciated. Hi David There are quite a few tools - free, shareware & commercial that do that and a google search on clean/purge outq should find some of them. I have an open source utility on my site that does the job fine on our development box - we use OS Director on our production machine which handles that function amongst its other duties. My PRGOUTQ utility - http://www.dbg400.net/extras.html#prgoutq OS Director - http://www.os-solutions.com/director.htm Regards, Martin -- martin@xxxxxxxxxx AIM/Gaim: DBG400dotNet http://www.dbg400.net /"\ DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open \ / Source free test environment tools and others (file/spool/misc) X Debian GNU/Linux | ASCII Ribbon Campaign against HTML mail & news / \
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.