Thanks for your reply, But while writing from tFileList to tFileoutputdelimited, it writes only last file from directory. Please give the solution to writes all files data from dir to target. Please ref image attahced
Hi,
Could you please give us more descriptions about your job design?
We see the work flow:
tfileinputregex_1-->tfileouputdelimited_1(split your 100000 lines into 100 lines each? )-->oncomponentOk-->tfilelist-->iterate-->tfileinputregex_2-->tmap-->tfileoutputdelimited_2.
What's the purpose for subjob2? How did you set filemask on tfilelist component?
I didn't use any file masking, I just want to split file to dir, add all files using tFileList to target by adding new columns(I didn't used it now) using tMap.
Hi,
I've similar job to pull 100000 from db into an outputfile to split each file with 1000 records. When the job generates a file it writes 100 files in 2 mins but it keeps writing again and again starts with file1 till file100 and continues for 1 hour. I dont understand why it is doing so...
When i write single file it completes in 5 mins... but when i split because of this over writing it is running for 1 hour. Can yu please help me why it is happening and how to fix it.
thanks