Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have 5 different packages to run. If I am calling this 5 package from a single SSIS package. Let the 5 package name be A, B, C, D and E.
Now suppose A,B, C package got completed and D package got failed. Now if i start the single package again then it will again start the execution of package A,B and C.
How can i start the execution of the remaining package D and E by ignoring A,B and C since those package were already executed.
Posted
Comments
virusstorm 30-Apr-15 11:58am    
You would need to add logic in your controlling package to know when the child packages fail. This means you either need to query the SSIS server to get package execution results or add logic in the child packages to show where a package has failed. Maybe create a "PackageRun" table with start and stop time. At the start of the package, you set the start time and upon successful completion, set the end time. Anything with a start time and NULL end time, you know that package failed and need to start there.
abhishek6555 30-Apr-15 12:29pm    
Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900