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

Announcements
Learn how to migrate to Qlik Cloud Analytics™: On-Demand Briefing!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Talend global variable

I have a job that changes a flat file to another flat file using the data mapper, I have problem the outgoing file name needs something that is in the file. So what I did was set that value as a global variable using jjavarow. That works and I print out the correct value but I am using the toutputraw component and i use the get method for global map but it returns a null.

Labels (2)
3 Replies
fdenis
Master
Master

use a temp file or start by setting global value. then fill your file .

conponet are defined in 3 step initial main end. ÿou are using your global variable in initial part(creating file with file name) but you set it in main.
Anonymous
Not applicable
Author

I am not fully understanding you, how do I use a temp file or start by setting global value.

Anonymous
Not applicable
Author

This is my job layout tFileLis --->tFileInputRaw---->tjavaRow---->tHMap---->tFileOutputRaw i set global variable in tjavaRow and use it in tFileOutputRaw