Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
ankit7359
Creator II
Creator II

Looping over a files

Hi Community,

 

i am trying to design a talend job for which the requirements are -

i have about 20 files_names which are to be loaded on to db, but instead od building a complex job i thought of simpler way. What if we pass the context parameters with file_names dynamically and then write a check condition whether the file_name was passed previously or not and also to check for null file_names. each file_name would iterate over a tloop component and after a iteration it would take the next file name..

I am still not sure how to build or design this job? also how do i write the check condition for file names?

Can anyone help me with this?

 

Any help,hint etc. would be appreciated.

Thanks,

Ankit

Labels (4)
3 Replies
TRF
Champion II
Champion II

Did you check at tFileList?
ankit7359
Creator II
Creator II
Author

Hi @TRF ,

Thanks for your suggestion,

but what concerns me is the check condition.

How do you suggest i tackle it?

 

Thanks,

Ankit

TRF
Champion II
Champion II

If you want to avoid to process the same file twice when your job start again, rename or move it as soon as it has been processing using tFileCopy. This is the simplest solution.