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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
xrocq
Contributor III
Contributor III

Console print the job exit code

Hi,

 

I'm on windows and i need to print the job exit code in the cmd when executing the talend job from the .bat file

I can print what i want with tJava (System.out.print), so in my tPostjob im trying a tJava with System.out.println(globalMap.get( ))

But i dont know what to get to obtain the job exit code.

Labels (2)
1 Solution

Accepted Solutions
xrocq
Contributor III
Contributor III
Author

Resolved !

 

This at the end of the .bat :

echo %errorlevel%

 

Or in the studio with a tSystem component = > echo %errorlevel%

View solution in original post

1 Reply
xrocq
Contributor III
Contributor III
Author

Resolved !

 

This at the end of the .bat :

echo %errorlevel%

 

Or in the studio with a tSystem component = > echo %errorlevel%