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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
lmit
Creator II
Creator II

File creations

Hi all,

I have a requirement where I need to process 20 files , so I used tfilelist I want to create 20 files as output but am able to create only one file
Can anyone please let me know how can i achieve this

Thanks in advance,
Lmit
Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@lmit , your job should be like below.

use dynamic of filenames for 

tfileinputDelimitted:- ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))

tfileoutputdelimitted:- "D:/test/"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))

tfilelist>>Iterate>>tfileInputDelimitted>>main>>row>>tFileOutputdelimitted.

 

 

View solution in original post

5 Replies
TRF
Champion II
Champion II

Can you share your job design?

manodwhb
Champion II
Champion II

@lmit , have you given a dynamic name for tfileoutputdelimitted?

lmit
Creator II
Creator II
Author

Hi TRF,

Thanks for replying,

Sorry I can can’t the screenshot of my job

But I used tfilelist , tflowtoiterate component

Can you please suggest your idea on the requirement I mentioned so that I will try your idea

Thanks,
Lmit
lmit
Creator II
Creator II
Author

Yes Manohar b I have given dynamic name in output file

Thanks,
Lmit
manodwhb
Champion II
Champion II

@lmit , your job should be like below.

use dynamic of filenames for 

tfileinputDelimitted:- ((String)globalMap.get("tFileList_1_CURRENT_FILEPATH"))

tfileoutputdelimitted:- "D:/test/"+((String)globalMap.get("tFileList_1_CURRENT_FILE"))

tfilelist>>Iterate>>tfileInputDelimitted>>main>>row>>tFileOutputdelimitted.