Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

To Kill a process

Status
Not open for further replies.

PramodSudhindra

Programmer
Jan 29, 2003
1
IN
hello, i am very new to DS. I am running a job from DS Director. The job has gone in a loop. I tried stopping the job , but the process still continues after showing two dialog boxes, saying the stop mesg will be sent to server.
any help will be appreciated. "Imagination is More important than Knowledge"
 
Looking for Datastage resource on contract basis.
Pelase advise.
 
Hi,

I havent looked at DataStage for a while, but there is a menu in Director which contains an item like 'Cleanup Resources'. If you choose this, a dialog box of all the job resources will be brought up (Locks and processes). From here, if you click on your the process you want to release and click the 'Logout' button, your job should be cancelled.

This doesnt always work, and you may have to actually clear the job's status file, and re-compile it - but this is the 'in case of emergency' option.

Stopping jobs and batches where the stop button didnt work properly was always a little dodgy in my experiences, and it generally paid to make sure that you recompile jobs / batches that havent stopped properly, and sometimes we even needed to clear the job's status file before recompiling.

Hope this helps.
J
 
you can go to unix background, and run the unix command (I can't remember it, ask your unix administrator), then find the jobid at unix, then type kill jobid, then it should be ok.
 
Hi,


You can connect to Telnet (for your DS server) and give a clean command. (this will clean all the existing logs of the job too)
 
When you connect to telnet, run DS.TOOLS

There is a whole heap of process admin stuff in here that you can use to kill a process. In my experience, I always found even thought the processes have been logged out, in Director, the job still appears to be running (ie. status = Running"), however, the reset button for the job is available, and you need to reset the job.

Cheers
J
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top