error handling for tmap

Six Stars

error handling for tmap

Hi,

how to handle error if it occurs on tmap? For instance, I have a job that has flow as below:

 

 tmomInput-->tjavaRow-->tmap-->tfileoutputdelimited

 

For every component , I am using onComponentError linked to another subjob to perform some processing. But what to do in case of tMap?


Accepted Solutions
Sixteen Stars

Re: error handling for tmap

I have covered this in the linked tutorial. I hope it helps....

https://www.rilhia.com/quicktips/quick-tip-how-debug-tmap-errors


All Replies
Sixteen Stars

Re: error handling for tmap

I have covered this in the linked tutorial. I hope it helps....

https://www.rilhia.com/quicktips/quick-tip-how-debug-tmap-errors

Six Stars

Re: error handling for tmap

Hi,
that is not what I need. I need tMap to be connected to another subjob when it fails just as in case of other components (eg: onComponentError). Is there any solution for it?
Sixteen Stars

Re: error handling for tmap

You could use this method, connect to a tJavaFlex (or similar...maybe a tSetGlobalVar) and use a tRunIf with logic which will identify a failure using the data that the tutorial method will give you. There is no OnComponentError for this component I am afraid.