October 2013
Beginner to intermediate
270 pages
5h 41m
English
Often, when running a schedule, it is necessary to execute a mixture of Talend and non-Talend objects, such as database scripts, batch files, or shell scripts. This exercise shows how this is easily achieved using Talend.
Note that this exercise is for Windows only.
Open the job jo_cook_ch11_0080_systemCalls.
tSystem component onto the canvas."cmd /c"+context.cookbookData+"/batchFiles/jo_cook_ch11_0080_batchFile.bat"
tJava component, and add the following code:System.out.println("Return code"+((Integer)globalMap.get("tSystem_1_EXIT_VALUE")));onSubjobOk trigger and then run the job. ...Read now
Unlock full access