Hi all...
Can anybody tell how t o use exception handler activity in seequence.
And what is the main purpose of it?
and is it link to the job activity,which handles the aborted job?
and i am seeing only general tab in its properties....is it right???
thanks and regards
GS saravanan
how to use exception handler in seequence
Moderators: chulett, rschirm, roy
What exact version of DataStage?
You do not link to it from any object, but rather it stands alone and waits for Something Bad to happen. In earlier versions, that 'something bad' was exceptions in the Sequence job itself - job wasn't runnable, bad parameter names, etc.
In 7.5.x it can handle all exceptions. For example, if a Job Activity only has an 'OK' trigger and finishes in a non-OK status, control will transfer to the Exception Handler.
In either case, you can then handle the exception - send emails, abort the job, whatever. The stage should have a 'Help' button. It is also dicussed in the pdf documentation installed with your client.
You do not link to it from any object, but rather it stands alone and waits for Something Bad to happen. In earlier versions, that 'something bad' was exceptions in the Sequence job itself - job wasn't runnable, bad parameter names, etc.
In 7.5.x it can handle all exceptions. For example, if a Job Activity only has an 'OK' trigger and finishes in a non-OK status, control will transfer to the Exception Handler.
In either case, you can then handle the exception - send emails, abort the job, whatever. The stage should have a 'Help' button. It is also dicussed in the pdf documentation installed with your client.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Re: how to use exception handler in seequence
When some stage in a Sequence aborts or throws some warning you can use the exception handler and a notification activity to trigger mails.It will have only the general tab and it will not have any triggers.GSSaru wrote:Hi all...
Can anybody tell how t o use exception handler activity in seequence.
And what is the main purpose of it?
and is it link to the job activity,which handles the aborted job?
and i am seeing only general tab in its properties....is it right???
thanks and regards
GS saravanan
Serach with the string as exception handler you have all answers to your questions