How to stop PX jobs

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
bsreenu
Participant
Posts: 22
Joined: Mon Aug 16, 2004 3:57 pm

How to stop PX jobs

Post by bsreenu »

We have a sequesncer which starts 10 PX datastage jobs at the same time. If any one of the PX job abends, we want to stop all the remaining running jobs. We have been using the routine "UtilityAbortToLog" for killing all the running jobs. But that doesn't seems to work as desired.
Can someone pls help me how the sequencer can stop PX jobs.
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

Post by T42 »

There are no internal method to kill jobs that are running concurrently, even with UtilityAbortToLog. It is generally understood that even if a job fails, other jobs should run to conclusion before closing gracefully.

You could develop a shell script to do the normal "kill" (kill -14) to shut down other jobs that are running concurrently with the aborted job for specific usernames.

This is a matter of designing your job sequencer to handle failure properly, following your business rules.
Post Reply