Search This Blog

Thursday 24 March 2016

IBM Infosphere Datastage : Exception Handler Activity in Sequence Jobs


When does the Exception Handler Activity gets executed?
    There is a possibility of misunderstanding that Exception Handler handles Job failures and job exceptions.
    Exception Handler does not handle the job failures and job exceptions. Job failures and job exceptions should be handled with trigger "Failed - (Conditional)"
    Exception Handler gets triggered only when any of the activities in sequence job failed to run. For example, if Job Activity is trying to execute a job that is not yet compiled. Then Job Activity would not be able to trigger the job , therefore will raise an exception.
   Similarly, when  Execute Command trying to execute a invalid command, then execute command activity will raise an exception that will trigger Exception Handler activity.

No comments:

Post a Comment