Page 1 of 1

How to delete a huge log

Posted: Mon Apr 07, 2008 12:10 pm
by gpbarsky
Hi forumerssssss.......

I have a HUGE log (greater than 2Gb), and I want to delete it. When I try from the Director, my machine hangs on.

How can I do to clear the job log ?

I'm in DS 7.5.

Thanks in advance.
:)

Posted: Mon Apr 07, 2008 12:26 pm
by chulett
One suggestion would be patience. Clear it from the Status view, not the log view and then... wait. That or CLEAR.FILE RT_LOGnnnn if you know the job nnnnumber, but then you'll need to reestablish the auto-purge settings afterwards.

Posted: Mon Apr 07, 2008 12:33 pm
by DSguru2B
Or, export the job, delete it and then re-import it.

Posted: Tue Apr 08, 2008 8:31 am
by gpbarsky
Thanks to everybody.

Finally, I could delete the job and recover it from a backup that I had taken.

I will try the CLEAR.FILE when I can do it.

Thanks again.
:D

Posted: Tue Apr 08, 2008 8:49 am
by sunayan_pal
chulett wrote:One suggestion would be patience. Clear it from the Status view, not the log view and then... wait. That or CLEAR.FILE RT_LOGnnnn if you know the job nnnnumber, but then you'll need to reestabl ...
as mentioned how to find the job nnnnumber so that i can use it in
CLEAR.FILE RT_LOGnnnn

Posted: Tue Apr 08, 2008 8:50 am
by chulett
Or just export it first so you don't need to futz with a backup after the delete.