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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

printing processed records when we run talend job as executable jar file

I want to run talend job as executable jar file..After  running that jar file  i want to print no of records processed in command prompt..how to achieve that ?

Labels (2)
6 Replies
manodwhb
Champion II
Champion II

@lavan524 ,in the job you can print the processed records using print command in java and those all information you can log to log file and there you can check the processed records.

Anonymous
Not applicable
Author

may i know how to log the info after job completion...

Anonymous
Not applicable
Author

i have tried this but i haven't get any log file in destination

 

0683p000009M2cW.png

Anonymous
Not applicable
Author

Hi,

 

   Coming to your original query, you can create Talend commands as standalone executable JAR files by below method.

 

https://help.talend.com/reader/v1kB1bHrWOxIQmz31voF5A/Nanx_kJqdrMx6tPW3hfyrQ

 

   Also when you can print the details from Talend job itself, why you are trying to print it from command prompt?

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂

manodwhb
Champion II
Champion II

@lavan524 ,on subjob ok you can add tjava componet and you can specify global variable to print

 

system.out.println(((Integer)globalMap.get("tSalesforceOutput_1_NB_SUCCESS")))