A site about Talend
The tSetGlobalVar Component is a convenient method for adding Gobal Variables to globalMap.
In the following screenshot, you can see that a simple Job has been created to define two new Global Variables which are added to globalMap using tSetGlobalVar.This is equivalent to using a tJava component to make the following assignments.
globalMap.put("myString", "Hello World!");
The tJava Component shown in this example simply prints the values of the newly created variables.
System.out.println("myString=" + globalMap.get("myString"));
System.out.println("myInteger=" + globalMap.get("myInteger"));
comments powered by Disqus