Page 1 of 1

How to abort the job when condition fails?

Posted: Wed Sep 10, 2008 7:03 am
by mallikharjuna
Hi All,

How to abort the job when condition fails without using server transformer in parallel jobs. i have to abort the job by displaying fatal error in the log.

ex: if a>0 then "1" else abort.

Posted: Wed Sep 10, 2008 3:14 pm
by ray.wurlod
Reject link with maximum rows = 1.

How to abort the job when condition fails?

Posted: Wed Sep 10, 2008 10:17 pm
by mallikharjuna
ray.wurlod wrote:Reject link with maximum rows = 1. ...

Hi,

i also want to display the custom message in job log, how to do?

Posted: Wed Sep 10, 2008 10:39 pm
by ray.wurlod
Detect the failure in your job sequence and use a Routine activity to invoke UtilityFatalToLog() or UtilityWarningToLog().

How to abort the job when condition fails?

Posted: Thu Sep 18, 2008 4:18 am
by mallikharjuna
we are not having any rotine in c++ for using the above said utility and we also not able to use server transformer stage

Posted: Thu Sep 18, 2008 7:12 am
by ray.wurlod
So write one.