Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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 ?
@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.
may i know how to log the info after job completion...
i have tried this but i haven't get any log file in destination
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 🙂
@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")))