I would like to clear the RT_LOG file for a specified date/range of logs.
For example clear the previous all logs, except today's log from RT_LOG.
Is there anywayt to do this.
Thanks
Clear the RT_LOG file for a specified date logs
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 123
- Joined: Wed May 18, 2005 7:41 am
- Location: USA
Yes, it can be done. But it involves writing some DS/BASIC code. It is simpler and safer to use the auto-purge settings to let DataStage do this work for you automatically.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In Director, choose Job > Clear Log.
In the dialog that follows, select the Immediate purge option, but change the conditions in the selection frame so that, instead of purging all events, purge only those more than one day old.
In the dialog that follows, select the Immediate purge option, but change the conditions in the selection frame so that, instead of purging all events, purge only those more than one day old.
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.
-
- Participant
- Posts: 123
- Joined: Wed May 18, 2005 7:41 am
- Location: USA