Hi All,
I want to know the difference between reseting a job and clear the status file using datastage director.
--if a job is in running status. we want to stop that job . should we use stop job or clear status file.
what does it means to claer a status file and reseting a job .
because when we reset a job it usually show some messages.
when we clear status file it also set the job in reset mode. but dont show any message axcept one message "clearing file RT_STATUSxx"
Can any one tell me something more about RESETING AND CLEARING STATUS FILE.
SINGHAL
What is the difference between Reset and Clear Status file
Moderators: chulett, rschirm, roy
What is the difference between Reset and Clear Status file
Regards,
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
Deepak Singhal
Everything is okay in the end. If it's not okay, then it's not the end.
A job is responsible for updating its own internal status, config, and log file during execution. If the job dies tragically, those files remain in their last state. Clearing the status is ONLY used to cleanup a job that didn't die gracefully. You can clear the status file while a job is running, which is a bad idea. Using kill -9 on a main job process is one way to cause this situation.
Resetting is used to put a job in a runnable state after it has gracefully "died". Not finding a file or bad SQL or bad connection or too many errors are still conditions that are handled by the job.
Resetting is used to put a job in a runnable state after it has gracefully "died". Not finding a file or bad SQL or bad connection or too many errors are still conditions that are handled by the job.
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
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
Clearing the status would be more dangerous than reseting. By CLEARing the status, the status might have turned to Reset, but at background the process would still be running or still have the connection open. Which will be one of the cause for a zombie process to be created. Which will inturn create cumbursome while restarting the server.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: