Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello
Am using this below format in job design
tfileinputdelimited => tmap => target
how can we get filename generated at run time by using tfileinputdelimted file in my job ?
Thanks In Advance
Manish
Hello Manish,
Could you please let us know how your passing FileName value to the tFileInputDelimited component.
Am just taking directly from my local like you shown in the picture on your post, but i want to get that filename in the run time
i took one csv file , wanted to to get the name of the file dynamically at run time and pass to output columns
tFileinputdelimited =>tMap => output
file name is manish , so in output column i need manish to be displayed
You will have to either store the file name in previous step to a context variable or you will have to use the tFileList as the first component so that its variable can be used in the existing subjob.
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
Hello Manish,
I did simple job similar to your use case. you can download code from this link talendJob .