MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » February 2013

Re: Spool files



fixed

Both.


On Wed, Feb 20, 2013 at 9:10 AM, <rob@xxxxxxxxx> wrote:

By being careful, did you mean:

Create Printer File (CRTPRTF)
Days until file expires . . . . DAYS

Override with Printer File (OVRPRTF)
Days until file expires . . . . DAYS


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: Jeff Crosby <jlcrosby@xxxxxxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 02/20/2013 08:49 AM
Subject: Re: Spool files
Sent by: midrange-l-bounces@xxxxxxxxxxxx



If you happen to have the TAATOOLS, there is a DLTOLDSPLF command that is
very flexible.

Another approach is from the opposite end. There is a system command
DLTEXPSPLF that deletes expired spool files. We have a number of spool
files we create with SAVE(*YES) EXPDATE(*DAYS) DAYS(1). This way, we can
reprint a spool file if necessary. Each night, a job scheduler job runs
DLTEXPSPLF which deletes those past expiration. The DLTEXPSPLF command is
not as flexible, however, because it's for the whole ASP. Where you'd
have
to be flexible here is how you create the spool file. And this doesn't
help for system generated stuff.


On Wed, Feb 20, 2013 at 5:32 AM, John Mathew
<johnmathew400@xxxxxxxxx>wrote:


Hi,

How to delete the spool files which are older than 7 days from a
particular queue.
Can some one please send me some sample CL program code which would help
me to achieve this.

Thanks in advance.

John


--
Jeff Crosby
VP Information Systems
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
www.dilgardfoods.com

The opinions expressed are my own and not necessarily the opinion of my
company. Unless I say so.
--
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.


--
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