Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi ,
You can do it ,it is pretty simple .
tfilelist > tfileinputdelimited>tmap > tfileout >tjava
In tjava component , you can use the global variable ,which will help you to print the filename and row count of file ,which is being processed by tfilelist.Below are the screenshots for the same.
195095/mini_blob_20170104-0939.png
195095/mini_blob_20170104-0940.png
Dear Shong,
In this job , if there are 10 files in the directory , how will i find the count of files in the same job ?
any global variable function ?
Can you suggest?
Thanks