Sequence Job to abort in case of any warnings

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
Arpanakhade2009
Participant
Posts: 30
Joined: Tue Sep 08, 2009 4:24 am

Sequence Job to abort in case of any warnings

Post by Arpanakhade2009 »

Hi All,
There is a sequence job which has multiple parallel jobs running in multiple series. There is an exception handler within the sequence to abort in case any of the parll job aborts.
I have modified the trigger in parll jobs dng custom handling to execute the next parallel job only in case of 'Executed OK'
I want the sequence to abort in case of any warnings within parallel jobs.
Can i modify the trigger command in parll job ? like If Jobname.$JobStatus = 1 then ... Else call the Eception handler
If yes plz let me know
There are already a lot of posts related to the topic but i guess doesnt provide the solution apart from attaching terminator stage to each job.

Thanks
Arpana
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Mostly that's because that *is* the solution.
-craig

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