MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2012

Re: Delete all but latest spool file member



fixed

As an alternative, how about expiring spool files?

I don't know exactly what you may be after, but you can do either OVRPRTF
EXPDATE(thedate) or OVRPRTF EXPDATE(*DAYS) DAYS(1). Then use a job
scheduler job to run once a day and run the DLTEXPSPLF command. It gets
rid of all expired spool files.

I use the DAYS() example a lot. Some reports 1 day, some 3 days, some 30
days, etc. There are different logs or registers that I create, never
intending to print, but may want to look at if an issue arises.


On Wed, Sep 5, 2012 at 12:06 PM, Tim Adair <tadair@xxxxxxxxxxxxxxxx> wrote:

This is a longshot but...

Does anyone know of a utility (preferably free) that will delete all but
the
latest version of each spool file member in an OutQ?

As in - all spool file members with the same spool ID, forms ID and user
data are considered the same, and the utility needs to delete all but the
latest version of each group in the OutQ.

Any possibilities?

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.









Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact