After Job Subroutine

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
via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

After Job Subroutine

Post by via »

Hi,
If we set an After job subroutine in any DS job, it will be executed even if that job aborts.
Is there any way to make that after job subroutine to be executed only after successfull completion of job?

Thanks..
Via
-------------------------------------
Learn all the way, as you Grow each Second
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

When you choose 'After Job Subroutine', is'nt there an option in version 8.x that says 'Only run after-job subroutine on successful job completion'. That option should tell you all.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
via
Premium Member
Premium Member
Posts: 118
Joined: Fri Sep 23, 2005 3:10 pm

Post by via »

Hi,
There is an option, i overlooked it..

Thanks.
Via
-------------------------------------
Learn all the way, as you Grow each Second
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Great. I believe thats what you were looking for. You can mark the post as "Resolved" then.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

That option (check box) also exists in version 7.5.
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