|
Dean,
I would think it would work for QPJOBLOG.
Try this:
CHGPRTF FILE(QPJOBLOG) EXPDATE(*DAYS) DAYS(14)
which will keep _every_ QPJOBLOG on the system for 14 days. Since you're
changing an IBM supplied object, remember that a release update or possibly
a PTF could change it back to EXPDATE(*NONE). To remedy that, have a job
scheduler job run every night that sets the print file QPJOBLOG to whatever
you want.
On Wed, Feb 27, 2013 at 3:14 PM, Dean Eshleman
<Dean.Eshleman@xxxxxxxxxxxx>wrote:
Jeff,
Reviving an old thread here.
Does this method work for job logs? I would like to keep the last couple
of job logs for each production job around. Right now, we keep job logs
for 2 weeks and then they are purged. This doesn't work very well for jobs
that run less frequently than every week.
I tried doing a OVRPRTF EXPDATE(*DAYS) DAYS(10) on QPJOBLOG within the
job, but that didn't work. I tried with the Override scope set to *JOB and
*ACTGRPDFN. The expiration date on the job log was blank in both cases.
Any ideas on how to get this to work for job logs?
Dean Eshleman
Software Development Architect
Everence Financial
1110 North Main Street
PO Box 483
Goshen, IN 46527
Phone: (574) 533-9515 x3528
www.everence.com<http://www.everence.com>
As an Amazon Associate we earn from qualifying purchases.
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.