Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I have a batch job which currently loads data from a list of files into a MySQL table. I'm trying to work out how to use tfileproperties to obtain the filename and attach it as an extra column to the exiting dataset via tmap?
Below is my current job which works. But not sure where to add in tfileproperties?
Hello,
You can get tFileProperties through iteration of tFileList and use the CURRENT_FILE globalMap value.
Best regards
Sabrina