Director log clear

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
logic
Participant
Posts: 115
Joined: Thu Feb 24, 2005 10:48 am

Director log clear

Post by logic »

Hi,
I had a job running which created a error log of more than 800000 entries. :lol:
Now the error is fixed ,job running fine etc. Can i use the cleanup resouces tab to just clear the log entries before the last run.
was curious to know of a way to clear the director log entries without opening the director.
when i try opening the director to view entries its hanging up..maybe because of the number of entries in the repository table for log. I am able to open and view entries for all other jobs except the one for which these entries were logged.
Thanks
Ash.
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

Are you sure its hanging? Because it will take a while to display those 800000 logs. It will take around 10 mins. Try waiting for 10 mins and see what happens.

Naveen.
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

Also, you can try deleting RT_LOGnn file for that job in the following directory:

[/code]
C:\Ascential\DataStage\Projects\dev

Code: Select all


Naveen.
logic
Participant
Posts: 115
Joined: Thu Feb 24, 2005 10:48 am

Post by logic »

Thanks naveen,
I will try deleting the Rt_LOGnn file...better than waiting for 10 mins i guess.
thanks,
Ash.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Not a good idea. If you get to TCL then CLEAR.FILE RT_LOGnnn. That would be much better.
Mamu Kim
I_Server_Whale
Premium Member
Premium Member
Posts: 1255
Joined: Wed Feb 02, 2005 11:54 am
Location: United States of America

Post by I_Server_Whale »

Yes! Like Duke says, clearing the RT_LOGnnn file would be better. Certainly, deleting is not a good idea. Kim, thanks for correcting me.

Naveen.
logic
Participant
Posts: 115
Joined: Thu Feb 24, 2005 10:48 am

Post by logic »

ok..thanx..got it.
kollurianu
Premium Member
Premium Member
Posts: 614
Joined: Fri Feb 06, 2004 3:59 pm

Post by kollurianu »

by the way what is TCL ? excuse if it is a Basic question.

Thank you all.
pnchowdary
Participant
Posts: 232
Joined: Sat May 07, 2005 2:49 pm
Location: USA

Post by pnchowdary »

Hi Anu,

Code: Select all

TCL stands for Terminal Control Language
as Craig pointed out in one of his earlier posts.
Thanks,
Naveen
garthmac
Charter Member
Charter Member
Posts: 55
Joined: Tue Oct 21, 2003 9:17 am
Location: UK

Post by garthmac »

You can also clear the log from Director without viewing the log itself - select the job and then in the job menu, select clear log. I just had to do that for 400,000 entries
Garth
Post Reply