I have to process N number of files 2 in parallel and 10 can be in queue

Four Stars BN
Four Stars

I have to process N number of files 2 in parallel and 10 can be in queue

I have to process N number of files from directory and I have to do  2 files processing in parallel. How do I make sure that every time different files are picked up from directory for processing, when I process these files in parallel.

Seven Stars

Re: I have to process N number of files 2 in parallel and 10 can be in queue

by Debug Run-->Traces Run.

Regards
Aashish
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Thirteen Stars

Re: I have to process N number of files 2 in parallel and 10 can be in queue

@BN,in tFileList, you can specify filemask and get the n. number of files to iterate the next process by taking the global map current filename from tFileList.

Manohar B
Eight Stars

Re: I have to process N number of files 2 in parallel and 10 can be in queue

If you use tFileList and iterate through each file, on the iterate connection between the tFileList and the next component, click the "Enable parallel execution" and set the number to 2.

Regards

David

Don't forget to give Kudos when an answer is helpful or the solution.
Four Stars BN
Four Stars

Re: I have to process N number of files 2 in parallel and 10 can be in queue

Thanks David,

   For some reason my "Enable parallel execution" is greyed out. Have to check why.

 

Eight Stars

Re: I have to process N number of files 2 in parallel and 10 can be in queue

Maybe check the job parameters tab, Extra, Multi thread execution.

Regards

David

Don't forget to give Kudos when an answer is helpful or the solution.