Page 1 of 1

Auto Purge Log Project Property Change in Production

Posted: Tue Mar 29, 2011 7:05 pm
by suresh.angadi
Hi,

I need one clarification about Auto Purge Log project propery, I have some 2000 jobs running daily in production and some jobs run with multipule instance (Same invocation id is used for every run so logs keep on appending). Auto purge Propery was set to 40 days.

I want to change Auto Purge Propery to 7 runs, and this chnage in property should be applied to all the existing jobs in production including the logs with multipule instance.

Can anyone please suggest.

Regards
Suresh Angadi

Posted: Tue Mar 29, 2011 7:46 pm
by ray.wurlod
There's nothing out of the box for you. You might Search DSXchange for examples of how to go about automating this task - essentially a routine that runs through all jobs changing their purge settings. The auto-purge settings only affect subsequently-created jobs.

Posted: Thu Apr 05, 2012 9:41 am
by qt_ky
To apply auto-purge settings to existing jobs, you have to export and import all the existing jobs.

Posted: Thu Apr 05, 2012 4:35 pm
by ray.wurlod
This makes them "subsequently created" jobs.

Posted: Thu Apr 05, 2012 7:30 pm
by qt_ky
Exactly. :wink: