how to abort a job inside a transformer

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
vinodhraj
Participant
Posts: 53
Joined: Mon Sep 12, 2005 6:51 am

how to abort a job inside a transformer

Post by vinodhraj »

Hi,

How can I abort a job inside a transformer?

Shall I can use UtilityAbortToLog routine to stop the job?

Vinod
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post 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
anupam
Participant
Posts: 172
Joined: Fri Apr 04, 2003 10:51 pm
Location: India

Post by anupam »

What do u mean by aborting a Job. There needs some logical reason for stopping the Job.

Pls describe the requirement ....
----------------
Rgds,
Anupam
----------------
The future is not something we enter. The future is something we create.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
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