Exception Handler

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
lory
Participant
Posts: 21
Joined: Tue Apr 13, 2004 9:05 am

Exception Handler

Post by lory »

Is there any way to handle exceptions in datastage job sequence? How can I use Exception Handler in my job sequence?

Thank you
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Hi,
You can use Expression Type and associate Triggers with them.

Ketfos
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Most activities support multiple outputs.

For example, a Job Activity might have three outputs, triggered by "Run OK", "Run with Warnings" and "Otherwise".

You can use Custom triggers anywhere.

The Exception handler is a stand-alone component that is triggered if something goes wrong (read "aborts") anywhere in the job sequence. It's a sledgehammer (some would say "catch all") approach.
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