Terminator stage in Sequence job

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
probal
Participant
Posts: 24
Joined: Sun Oct 25, 2009 10:17 am
Location: kolkata

Terminator stage in Sequence job

Post by probal »

I have 3 job activities which are to be run in a sequence..........one of the simplest jobs...
The problem is that 'm in a dilemma where to use the terminator stage?

with the exception hanler
or with the job activities?
or both?

Is there any sense in using terminator stage twice in a job?
Is exception hanler is capable of catching all the reasons of job fail/abort?
|
Probal
behrouz
Participant
Posts: 41
Joined: Tue Oct 28, 2008 4:13 am

Post by behrouz »

in fact all your jobs activitis failture link has to be linked to a sequencer condition
and then from your sequencer u have to linke to abort terminator,
then it will get all fail/abort as you need

Arash.
datisaq
Participant
Posts: 154
Joined: Wed May 14, 2008 4:34 am

Post by datisaq »

It depend on your requirement.
If your purpose is to just raise an exception and abort the job then go with the
exception handler and terminator stage.
Else if you want to do some other thing then disable the automatically handle activities that fail in properties tab and then use the terminator stage for every job activity dont use exception handler here.
IBM Certified - Information Server 8.1
Post Reply