I have a for each loop container which is processing flat files. A few of the files may have junk data. I want to ignore those files and process the other files without package failure.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What I have done in the past is to use a flatfile destination in the
foreachloopcontainer as an error output, so that any bad data in my sourcefile is sent there and the package does not fail.What you do is to insert the
flatfile destinationinto theforechloopand connect it to flatfile source.After you have done this edit the
Flatfile destinationand point it to theerror.txtand map the columns to error output columns. This is what works for me to get rid of bad data.