Page 1 of 1

how to abort a job inside a transformer

Posted: Tue Jan 10, 2006 3:27 am
by vinodhraj
Hi,

How can I abort a job inside a transformer?

Shall I can use UtilityAbortToLog routine to stop the job?

Vinod

Posted: Tue Jan 10, 2006 3:37 am
by kumar_s
Hi,
The only clean option available is to use the constraints "Abort after n rows"
But aborting via transformer it self is not a clean option :wink:

-Kumar

Posted: Tue Jan 10, 2006 5:32 am
by anupam
What do u mean by aborting a Job. There needs some logical reason for stopping the Job.

Pls describe the requirement ....

Posted: Tue Jan 10, 2006 4:08 pm
by ray.wurlod
You should never need to abort jobs.

Create jobs that never abort or generate warnings, control them through job sequences. Communicate to the job sequence via exit status (warnings will be genuine warnings), routines (for example row count from rejects link), files and/or jobs' user status areas.