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
Clearing Datastage Log RT_LOGnnn based on the no of runs
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 17
- Joined: Tue Jun 23, 2009 6:44 pm
Clearing Datastage Log RT_LOGnnn based on the no of runs
Suresh Angadi
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
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.
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.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.