The Definitive Guide to Data Quality
Solved! Go to Solution.
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.
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?
There is a global variable that counts the total number of files are found in the directory.