Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Streamlining user types in Qlik Cloud capacity-based subscriptions: Read the Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] send error code via tsendmail

Hi all
I wan to send the error code via a tsendmail componenet,but I don't know how to manage it .Someone says that if you press Ctrl and Space,you will get the list of variables,but in fact,it's seems no use.
Thank you for your suggestion in advance.A sample would be the best.
We are using TOS 4.1.1
Labels (2)
24 Replies
Anonymous
Not applicable
Author

Hello Joe,
i already do that
regards,
claudine
Anonymous
Not applicable
Author

hello claudine
Have you tried to use a tDie or tWarn at the end of your job by OnSubjobError,and then use a tcatchlog to catch it ?
Anonymous
Not applicable
Author

You're right, if i use a TDie, job will stop, and i can fetch message of tdie in mail.
I did'nt think about that before, thanks, i'll do that.
i'have to keep watch all bat jobs!
Anonymous
Not applicable
Author

Is "chemin" the variable name that you have defined?
Anonymous
Not applicable
Author

yes,
all the mail use context variable. except the sender
Anonymous
Not applicable
Author

I'll have a try tomorrow,as the server is in busy working now. Thanks for your suggestion
Anonymous
Not applicable
Author

hello,
i don't understand how to connect tLogCatcher,
why is it impossible to have a main line with a DbConnexion?
how this component works?
thanks
claudine
Anonymous
Not applicable
Author

Hi,
I don't know java...
i tried the Shong solution with mail and i have those error, and realy not understand,
can you help?
thanks
Anonymous
Not applicable
Author

Hi claudine,
I'm sorry that in fact, I don't know ,even alittle,about French. But , pls delete the ";"in your tsendmail first,it needn't.and then try it again.
Anonymous
Not applicable
Author

About tlogCatcher, you needn't to connect it to any component but tLogRow. And you can use a tDie connect with your main job with OnComponentError/OnSubjobError.
The tLogCatcher will catch the exeception automatic.