How to Abort/Fail PX job

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
spallam
Participant
Posts: 7
Joined: Thu Mar 29, 2007 5:48 am
Location: nellore

How to Abort/Fail PX job

Post by spallam »

Hi All,

Please guide me about how to abort or fail a PX job based on particular condition not mets in the source file data while job is running .

As in server jobs we have facility to useUtilityWarningToLog . Same way is there any facility available in PX jobs?



regards
Sai
Sai
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Moderator: please move to parallel forum

I believe that you should always strive to create jobs that do not abort. There is no direct equivalent to UtilityAbortToLog() in parallel jobs. But you could write your own using the C-callable DataStage API.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
spallam
Participant
Posts: 7
Joined: Thu Mar 29, 2007 5:48 am
Location: nellore

How to Abort/Fail PX job

Post by spallam »

Thanks Ray.world..

As u said we always strive to create jobs that do not abort , but unfortunately our requirement is quite opposite for a particular(single job).



Once again thanks for your helpul guidence.....


regards
Sai
Sai
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Resist stupid requirements.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Resistance is futile.

:wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

If you're a Vogon guard, the adjective is "useless", and it has to be shouted.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Ah, yes... but the Borg don't shout.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply