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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Catch the return code and exception from talend in shell script

Hi,
I execute the talend shell script from a wrapper shell script.
After the talend shell script (job) is executed, how to check the return code from talend in the shell script and if the return code is > 0, then catch the java exception.
any example, will be highly helpful.
Thanks
Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hi
It is impossible to get the return code of job execution from wrapper shell, you should manage the log in the job, to do:
add a tLogCatcher to capture the Java exception once the job throws an error, it also has a column called code populates the return error of job execution.
Please read the component documentation and learn this component, let me know if you have any troubles.
alevy
Specialist
Specialist