MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » September 2012

RE: Delete all but latest spool file member



fixed

If you don't have TASATOOL, I have a routine called PURGESPLF. Anybody is
welcome to it.

Paul Nelson
Cell 708-670-6978
Office 512-392-2577
nelsonp@xxxxxxxxxxxxx

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Monnier, Gary
Sent: Wednesday, September 05, 2012 12:14 PM
To: Midrange Systems Technical Discussion
Subject: RE: Delete all but latest spool file member

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.







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