Clearing Datastage Log RT_LOGnnn based on the no of runs

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
suresh.angadi
Participant
Posts: 17
Joined: Tue Jun 23, 2009 6:44 pm

Clearing Datastage Log RT_LOGnnn based on the no of runs

Post 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
Suresh Angadi
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply