Page 1 of 1

Clearing Datastage Log RT_LOGnnn based on the no of runs

Posted: Tue Mar 29, 2011 11:48 pm
by suresh.angadi
Hi,

I want to clear the datastage log based on days or number of runs through the script.

$DSHOME/bin/uvsh 'CLEAR.FILE RT_LOG'$JobNo - This clears everthing from the log file, i want to clear based on the no of days or no of runs

Can anyone help on this.

Regards
Suresh Angadi

Posted: Wed Mar 30, 2011 12:30 am
by ray.wurlod
It's far more complex than you imagine.

To find out all the steps you need to take, first enable server side tracing (which you can do with the Administrator client or from TCL) and then effect a "number of runs" log purge from Director.

Disable server side tracing then inspect the trace file.