how can i Kill/abort the job running more than ten minutes

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
dsisbank
Premium Member
Premium Member
Posts: 50
Joined: Fri Aug 11, 2006 4:53 am

how can i Kill/abort the job running more than ten minutes

Post by dsisbank »

although some jobs seem running, actualy they don't run.I want to stop like these jobs automatically.
example
If the job runs more than ten minutes,the system kill/abort the sequence.
How can i do this?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Don't even think about automating this until you have determined the reason that jobs might be running over time. It might be something serious that requires attention.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sri.cbv
Participant
Posts: 6
Joined: Tue Nov 06, 2007 3:01 am
Location: chennai

Re: how can i Kill/abort the job running more than ten minut

Post by sri.cbv »

dsisbank wrote:although some jobs seem running, actualy they don't run.I want to stop like these jobs automatically.
example
If the job runs more than ten minutes,the system kill/abort the sequence.
How can i do this?
Hi ,
if u want to kill that perticular job ,u can use kill command in unix,first u find the processid
SRINIVAS
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

And if you do, you deserve everything you get.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
srinivas143
Participant
Posts: 30
Joined: Tue Feb 19, 2008 11:02 pm

Re: how can i Kill/abort the job running more than ten minut

Post by srinivas143 »

U can use the command (ps -ef | pm dtm) and execute the command in the unix box from there u can find the process id and use the processid to kill the job
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

A parallel job consists of LOTS of processes, not just one. There's a conductor, some section leaders, and quite a few player processes. Which one are you going to kill?
:roll:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply