× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



In TAATOOL there is a command called DLTOLDSPLF. It may do some of what you need. You will have to modify it to use the max number of spooled files your output queues can handle though.

Delete Old Spooled Files - TAA (DLTOLDSPLF)

Type choices, press Enter.

Output queue for SPLF dlt . . . Name, *ALL
Library name . . . . . . . . . Name, *LIBL
Days to retain spooled files . . 14 0-999
Days to retain QPJOBLOG . . . . *RETAINDAYS 0-999, *RETAINDAYS
Days to retain QPSRVDMP . . . . *RETAINDAYS 0-999, *RETAINDAYS
Move to OUTQ instead of DLT . . *NONE Name, *NONE
Library name . . . . . . . . . *LIBL Name, *LIBL
Bypass OUTQs:
Output queue . . . . . . . . . Name
Library . . . . . . . . . . . Name
+ for more values



Gary Monnier


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Wednesday, September 05, 2012 10:04 AM
To: Midrange Systems Technical Discussion
Subject: Re: Delete all but latest spool file member

I do not know of such a utility. And I can see the purpose of it. It shouldn't be too hard to write by utilizing either the List Spool Files API or the Open List of Spool Files API. I've used those.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: "Tim Adair" <tadair@xxxxxxxxxxxxxxxx<mailto:tadair@xxxxxxxxxxxxxxxx>>
To: midrange-l@xxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxx>,
Date: 09/05/2012 12:06 PM
Subject: Delete all but latest spool file member
Sent by: midrange-l-bounces@xxxxxxxxxxxx<mailto:midrange-l-bounces@xxxxxxxxxxxx>



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<mailto: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<mailto:MIDRANGE-L-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx<mailto: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<mailto:MIDRANGE-L-request@xxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.