i want to kill a job which is running on windows machine. There is nothing wrong in the job.......but i have made some mistake in transformation....so instead of allowing the whole job to run.......i want kill it and recompile then run the job again. even i hit the stop button in director....it is not stopping. Is there any other way to overcome it?
thanks in advance.......
how to kill a parallel job in windows
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 315
- Joined: Tue Oct 31, 2006 3:38 pm
In windows the datastage STOP command or kill job command (in Director->Job->Cleanup resources) doesn't seem to do much. It takes just as long to stop the job as it does to let it run to completion.
What I do is I use the windows command TASKKILL to kill the OSH.exe processes that are running under my windows authentication name. If you are not using windows authentication then it is hard to see which processes are from your job. If you set APT_SHOW_PID then that would make it easier. You can also see them in Director->Job->Cleanup resources to see the process id's. Otherwise you can just kill all OSH.EXE processes if you are the only person using datastage on that Server.
What I do is I use the windows command TASKKILL to kill the OSH.exe processes that are running under my windows authentication name. If you are not using windows authentication then it is hard to see which processes are from your job. If you set APT_SHOW_PID then that would make it easier. You can also see them in Director->Job->Cleanup resources to see the process id's. Otherwise you can just kill all OSH.EXE processes if you are the only person using datastage on that Server.
Mike
-
- Premium Member
- Posts: 315
- Joined: Tue Oct 31, 2006 3:38 pm
Go to datastage administrator and inside your project directory, go to properties and check the box that says "Enable job adminstration in Director"
Last edited by DSguru2B on Tue Mar 06, 2007 3:59 pm, edited 1 time in total.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA