Exception Handler in build ops

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
ramabbm
Participant
Posts: 15
Joined: Wed Nov 17, 2004 12:04 pm

Exception Handler in build ops

Post by ramabbm »

I would like to handle exception in build ops. If any exception the abort the job with custom error message (similarly like calling DSLogFatel function in basic routines).

I have seen "failstep()" macro in ds documents. Is this macro accepts the custom error message?.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Posting on the parallel forum would have been a good first step.

You can download the Orchestrate v7.0 manuals from Ascential Developer Net - among these is a manual describing all the operators.

Or, if your C++ is good enough, you can set up your own signal handlers. All exceptions are notified by signal. If you do take this route, make very certain that you preserve and reinstate the DataStage signal handlers - these are not the operating system's default signal handlers, and you can break the product by not doing so.
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