|
If you have TAATOOLS installed, one of the commands is DLTOLDSPLF - it
deletes spooled files older than xx days. I wrote a quick CL and put
it on a job scheduler to run every day. The CL is:
PGM
ADDLIBLE LIB(TAATOOL)
MONMSG MSGID(CPF0000)
DLTOLDSPLF OUTQ(*LIBL/*ALL) RETAINDAYS(10) LIST((MTHEND +
QGPL))
MONMSG MSGID(CPF0000)
RMVLIBLE LIB(TAATOOL)
MONMSG MSGID(CPF0000)
ENDPGM
Regards,
Boris Goldenberg
--- MacWheel99@aol.com wrote:
> > From: jonleroi@napanet.net (Jon Le Roi)
>
> > We are running version 4.0.05CD
>
> We are also running version 4.0.05 CD
>
> > and have created a program that will purge
> > spool files based on a table of the spool file name and output
> queue. All
> > of our audit reports are sent to output queues without printers
> attached.
> > Then we read through the queues and delete entries matching our
> table. For
> > audit purposes we journal our files and then detach and save them
> on a
> > monthly basis. It is so much easier to search through a journal
> receiver
> > than to spin through multiple output files.
> >
> > Regards,
> > Jon Le Roi
>
> We had not been journalling because of disk space limitations.
> Currently we are at about 75% of disk space & it has been much
> higher.
>
> OS/400 questions -
>
> can you journal JUST print files?
>
> Is everything that is visible to us on WRKSPLF or WRKOUTQ
> addressable, such
> as user-name & date the report was generated, so for example
>
> we could delete all ORD500O regardless of user if it is 2 days old
> we could delete all shipping updates if it is 7 days old
> we could delete safety backups of other stuff based on age & user-id
>
> Al Macintyre
> +---
> | This is the BPCS Users Mailing List!
> | To submit a new message, send your mail to BPCS-L@midrange.com.
> | To subscribe to this list send email to BPCS-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
> BPCS-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner: dasmussen@aol.com
> +---
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
+---
| This is the BPCS Users Mailing List!
| To submit a new message, send your mail to BPCS-L@midrange.com.
| To subscribe to this list send email to BPCS-L-SUB@midrange.com.
| To unsubscribe from this list send email to BPCS-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: dasmussen@aol.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.