Subroutines

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
swamiar
Participant
Posts: 7
Joined: Mon Feb 20, 2006 5:11 am
Location: india

Subroutines

Post by swamiar »

Hi,

When any before/after job subroutine fails, there is only a warning in the director. Is there any settings that can be made to abort the job when a subroutine fails?

Aravind.
balajisr
Charter Member
Charter Member
Posts: 785
Joined: Thu Jul 28, 2005 8:58 am

Re: Subroutines

Post by balajisr »

swamiar wrote:Hi,

When any before/after job subroutine fails, there is only a warning in the director. Is there any settings that can be made to abort the job when a subroutine fails?

Aravind.
If you have before job subroutine then the job runs only if before job subroutine returns a 0 value. You job does not run if before job subroutine fails.

If After job subroutine fails then warning is logged to director log. Set your warning limit to 1 to abort the job.
Post Reply