sql - SSIS - Skip Missing Files -


I have an SSIS 2008 package that calls up to 25 other SSIS packages.

Each child's package loads a specific file into one table, but sometimes one or more of these input files will disappear.

How can I fail a child package (because a file is unavailable), but keep running the rest of the original package?

I have tried to increase the max error number on the parent package, the work in the original package which calls every child, and also in the child package itself. None of these results in this error even if I run it with a file:

SSIS warning code DTS_W_MAXIMUMERRORCOUNTREACHED execution method succeeded, but the number of errors increased ( 2) Maximum permission received (1); As a result of which failure occurs, the number of errors reaches the specified number in the MaximumErrorCount. Change MaximumErrorCount or Fix Errors.

Edit: failpackageonfailure and faulparentonfilure are already all false sets for everyone.

I have not tried to do this, but how will I do this. Create a variable for the file name and hair package name. Use for each loop container Whether it is known through the location of the files and pulls file names at once Use the filename to change the child's package name variable used to run the child's package in the container And the package name of the child is the dynamically set name based on the values ​​of the variable.

Then only the child should try to run the package,


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -