CLEAR.FILE RT_LOG while job still running

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
ukyrvd
Premium Member
Premium Member
Posts: 73
Joined: Thu Feb 10, 2005 10:59 am

CLEAR.FILE RT_LOG while job still running

Post by ukyrvd »

We have a job that is in running state for long time even though it is not processing anything. We have identified the reason as log file becoming huge (more than 2.5gb!!) and it started giving "... computed blink do not match .." error while trying to access director logs.


After identifying the casue of warning messages, We have tried to stop job but it did not stop.
Is there any harm if we do CLEAR.FILE on log file while it is still in running state. We are hoping it will go to aborted status once we clear it and let us reset/rerun the job.

thanks
thank you
- prasad
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

If you check "ps -ef|grep phantom" and don't see active threads, then the issue is that the STATUS file needs to be cleared. Your job is no longer running - it probably crashed when the log corrupted.

I suggest you using Director and do a Clear Status on the job, then of course the CLEAR.FILE RT_LOGnnnn will fix the corrupted log file.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Post Reply