Am reading files from tfilelist, and in the output file i do a column filename ,and am able to print file name in that column by using this code in tMap corresponding to column "((String)globalMap.get("tFileList_1_CURRENT_FILE")) " it works and am able to a file name but , if i use same thing in tfileouputdelimited to get that file i used
below in the component at outputdelimited
"C:/Users/"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))+TalendDate.formatDate("yyyyMMddHHmmss", new Date()) +".csv",
But am getiing the file as null followed by timestamp , how i resolve this issue. "null20191017160704"
Talend named a Leader.
Kickstart your first data integration and ETL projects.
Watch the recorded webinar!
Learn how to do cool things with Context Variables
Find out how to migrate from one database to another using the Dynamic schema
Pick up some tips and tricks with Context Variables