Call child package x number of times from parent package

I have a child package that I need to call x (10 or less) number of times and have those all run at the same time. The parent package should kick them off either simultaneously or one after the other, but the parent package should not complete until all
child packages have completed. I will be sending a different parameter value to the child package for each process.
How can I do this in SSIS without hard-coding several Execute Package Tasks with the same package but different parameter values?

This is an odd distributed computing with SSIS, but I think you can try placing the children package into a ForLoop. But it will run sequentially. Another option is to generate/start Agent jobs with SSIS step(s) that runs the package(s), but then there is
no master package as such and it all completes whenever.
PS: In my experience this design/approached is more often ends with hands thrown out into the air after all the hair is pulled than it actually works.
Arthur
MyBlog
Twitter

Similar Messages

  • Error running child packages from parent package - Error 0xC0011008

    Hey...
    I am running a parent SSIS package (running sp2, 9.0.3042) that calls several child packages.
    On our development server, we now cannot run this because we get 1 or more of these errors:
    "Error 0x80004003 while preparing to load the package. Invalid pointer  .  "
    "Error 0xC0011008 while preparing to load the package. Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.  .  "
    It is not occuring on the same packages.  It varies every time it is run.
    I can run every one of the child packages individually, using the same login ID that the parent is executed under.
    The parent package works fine on my local machine and other servers running the same version of SSIS.  Just not on this server.
    Does anyone have any ideas???
    Thanks
    BobP

    I have the same error with no parent child package relationship. I have changed the "Max Concurrent Executables" in each package from -1 to 10 and got  no change.  My code is below:
    List
    <string> fileList = new List<string>();
    private
    void checkedListBox1_SelectedIndexChanged(object sender, EventArgs e)
    //this.fileList.Add(checkedListBox1.SelectedValue.ToString().Trim());
    this.fileList.Add("name");
    private
    void button1_Click(object sender, EventArgs e)
    string @fileName;
    foreach (string str in fileList)
    @fileName = str;
    string pkgLocation;
    Microsoft.SqlServer.Dts.Runtime.
    Application app;
    DTSExecResult pkgResults_Sql;
    pkgLocation =
    @"C:\" + @fileName + ".dtsx";
    app =
    new Microsoft.SqlServer.Dts.Runtime.Application();
    Package pkgIn = new Package();
    pkgIn = app.LoadPackage(pkgLocation,
    null);
    pkgResults_Sql = pkgIn.Execute();

  • Child package cannot read param value from parent ssis package

    Hi all,
    I think I must be crazy !! i have a big problem in my ssis project .
    i have more than 40 package one parent and 39 childs 
    i use configuration method to get variable values from parent to child packages and it work well .. but when i copy my ssis project
    to the production server i face the following problem .. childs package didn't read the variables values from the parent package 
    i revised the configuration many times i can't find any missing !!
    any help please ...
    Thanks,

    Do not copy the packages from the projet to the production server, but you must generate the manifest installation including your configuration, and deploy them.
    Note : not forget to include the configuration.
    To learn more about how to install the package :
    Lesson 1:
    http://msdn.microsoft.com/en-us/library/ms365332(v=sql.105).aspx
    Lesson 2 :
    http://msdn.microsoft.com/en-us/library/ms365329(v=sql.105).aspx
    Lesson 3 :
    http://msdn.microsoft.com/en-us/library/ms365321(v=sql.105).aspx

  • How do I call a Mac computer with Face Time from my iPhone 4?

    I just upgraded my iMac to OS X Lion and I now have Face Time on my desktop computer. I figured out how to MAKE a call from my desktop to someone's iPhone. But, I can't figure out how to call my desktop computer FROM my iPhone 4? I tapped the phone icon. Then, selected my house from my contact list. When I selected my home e-mail address, it just loaded a blank e-mail. There was no option to call that e-mail address with Face Time. Help? Oh, and I'm running iOS 4.2.10 on my Verizon iPhone 4, so I know I have the required version on my phone.
    Any helpful tips would be greatly appreciated!
    Thanks!

    Oh, and by the way, I also just tried calling my iPhone 4 from my iMac with Face Time and my iPhone didn't even ring. Also, I've read through posts in other forums and everyone is talking about a Face Time camera icon that appears next to a contact's name. I don't have that at all. So, maybe I don't actually have the right versions of the software?

  • I have called the customer service number 4 times and got hung up on 4 times

    Well, great customer service! I called to speak with a rep regarding my account. Here are the exact details: Call #1  7/29/15 5:24 Pm hung up on after 2 minute 12 secondsCall #2  7/29/15 5:26 Pm hung up on after 5 minutes 2 secondsCall #3  7/29/15 5:31 Pm hung up on after 26 minutes 17 secondsCall #4  7/29/15 6:41 Pm hung up on after 24 minutes 13 seconds So i have just wasted an entire hour of MY time uselessly waiting for these idiots to resolve an issue. This is the worst I have ever seen. Rediculous!

    tacoman2005 wrote:
    Well, great customer service! I called to speak with a rep regarding my account. Here are the exact details: Call #1  7/29/15 5:24 Pm hung up on after 2 minute 12 secondsCall #2  7/29/15 5:26 Pm hung up on after 5 minutes 2 secondsCall #3  7/29/15 5:31 Pm hung up on after 26 minutes 17 secondsCall #4  7/29/15 6:41 Pm hung up on after 24 minutes 13 seconds So i have just wasted an entire hour of MY time uselessly waiting for these idiots to resolve an issue. This is the worst I have ever seen. Rediculous!You can try online chat here if it helps you:  https://www.comcastsupport.com/ChatEntry/Protected.aspx

  • Hello.  I need help.  I use Photoshop Elements 10 on my MAC but it no longer reads discs.  Can I download it from the internet with my original package serial number?

    Hello.  I need help.  I use Photoshop Elements 10 on my MAC but it no longer reads discs.  Can I download it from the internet with my original package serial number?  thanks

    Yes, from here:
    Download Photoshop Elements products | 13, 12, 11, 10

  • Parent package shouldn't fail irrespective of that child package fails of success..

    Hi friends,
    I have a small requirement here.
    we have 10 child packages and one parent package. Calling the child packages from parent.
    irrespective of that child package fails of success , parent package should pick the next package..
    EX.. Parent package calling the 5th child package, due to some error it got failed. Now parent package shouldn't fail it will skip the 5th child package and  call the next 6th child package ...
    if the child package success parent should have to call the next one..
    if the child package fails parent package shouldn't fail and it calls the next child package..
    How we can implement in this in ssis..

    See how you can apply logic as discussed here
    The key is to set propagate variable to false within OnError event handler
    The logic would be like this with the only exception being you need to use execute package task inside loop
    http://visakhm.blogspot.in/2013/03/error-handling-in-ssis-loops.html
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • TFS 2010 Branching - Is it possible to create a child branch with latest version of specific code alone from parent branch?

    Hi,
    QUERY:
    I've  'MAIN' code base as parent branch.
    From 'MAIN' parent branch, I need to create multiple child 'Development' branches (Dev1, Dev2,etc..) for consecutive releases. 
    I don't want Child branch creating with entire code from Parent branch. i.e Each DEVELOPMENT branch should not be a full branch of MAIN.
    Is it possible to create child branches with specific code from Parent.
    For example:
    MAIN  -> Parent branch contain Project1, Project2,...........Project10.
    DEV1  -> Child branch which contains Project2 and Project3 alone.
    DEV2  -> Child branch which contains Project2, Project5, Project6, Project7, Project8 alone.
    NOTE:
    I'm trying to create a 'Basic branching Plan' to maintain the Source Code in TFS, for consecutive release with concurrent development.
    i.e  
    MAIN   <--- FI & RI ----->  Dev1, Dev2, Dev3
    MAIN  <------- RI alone ---| Release1, Release2, Release3
    I'm new to TFS, please advice for the above mentioned branching specific query.
    Also, if possible, please suggest me the best branching strategy according to my need.
    Regards,
    Riswan Babu

    Hi Riswan,
    It's unavailable to branch a folder or team project partly, it always copying the same source code from its parent when you create a branch in your team project. For you requirement, you might try the methods below to see if it works for you:
    1. Since the DEV1 and DEV2 have different, you can have two folders(like MAIN) in your team project and each folder include the projects/solutions you need. No need to create two branches that include different projects
    2. Create two branches from Main, and delete the additional projects that you want to keep. Then develop with the branches separately.
    3. Or create the branches from Main but keep all the content, just modify the projects you need in each branch. The difference will merge back in root branch if you need to merge back finally.
    For release, you can create sub-branches from the two branches you created as you requirement. And you can check the links below for more information about branching and merging:
    http://msdn.microsoft.com/en-us/magazine/gg598921.aspx
    http://vsarbranchingguide.codeplex.com/
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Parent package are getting failed

    hi
    i have parent package , which is calling child package using execute package task.
    i have error handling in on of the data flow task in child package, so if error comes , the parent package still continue run for another files.
    now the issue is , even if child package successful (with  handling error inside), the parent package is logging failed,
    ideally, it should be success, as we already handling error ,when task gets failed in child package.
    i tried to set propagate , on error to false, still getting error on parent package.
    how  to solve it

    If a child package is failing, but handled then the parent will still fail.
    Here is a workaround for that. You need to add an event handler on the Execute Package Task with Propagate set to False.
    Please mark the post as answered if it answers your question | My SSIS Blog:
    http://microsoft-ssis.blogspot.com |
    Twitter

  • Issue in using SQL Authentication in child SSIS packages from Parent SSIS package.

    I am trying to provide SQL Authentication mode and credentials at parent package and I am using some child pachnages been called from this package.
    How can I resolve this to use SQL authentication.
    I am using 2008 Version
    Thanks
    Sreenath
    Sreenath G V

    Hi Sreenath,
    What issue did you encounter when run the parent package? It should work properly if the SQL Server Authentication is already enabled on the target SQL Server instance and the SQL account credentials are input correctly in the child package.
    You may encounter issue if you have enabled Package Configurations for the child pages that use SQL Server authentication and selected to expose the UserName and Password for the SQL Server connection. In this situation, the password won’t be exposed to
    the package configurations explicitly, hence, the Dtexec utility cannot fetch the password for the connection and fails the package execution. If it is the issue, you have to specify the password for the SQL Server account in the package configurations file.
    Regards,
    Mike Yin
    TechNet Community Support

  • Calling a function in child window from parent window

    Hi,
    How can I call a method in child window from parent window in adobe air using javascript. In the following example I need to call mytest() function in
    child.html from parent.html file.
    Thanks,
    ASM
    //parent.html
    <HTML><HEAD>
    <script>
    var initOptions = new air.NativeWindowInitOptions();
    initOptions.type = air.NativeWindowType.NORMAL;
    initOptions.systemChrome = air.NativeWindowSystemChrome.STANDARD;
    var bounds = new air.Rectangle(300, 300, 600, 500);
    var html2 = air.HTMLLoader.createRootWindow(false, initOptions, false, bounds);
    var urlReq2 = new air.URLRequest("child.html");
    html2.load(urlReq2);
    html2.stage.nativeWindow.activate();
    html2.window.mytest();       //NOT WORKING
    </script>
    </HEAD><body></body></HTML> 
    // child.html
    <HTML><HEAD>
    <script>
    function mytest()
      air.trace("in child window");
    </script>
    </HEAD> <body></body></HTML>

    I suspect your problem is that the child window hasn't been created by the time you call the function in the parent.Loading the content is an asynchronous processes -- AIR doesn't stop executing your code until the window has finished loading child.html. So, you will need to add an eventlistener to html2 and call the function from there:
    html2.addEventListener( "complete", onChildLoaded );
    function onChildLoaded( event )
         html2.window.mytest();

  • I just upgraded to 9.1.4, and am being asked for the serial number from my packaging, which unfortunately is 1000 miles away at the moment. Any way I can get it from Apple or something? Thanks.

    Just upgraded to 9.1.4, now being asked for a serial number from my packaging, which is 1000 miles away at the moment. Any way out of this? Thanks.

    Add me to the list. This is a nuisance.
    Fortunately, if i click on cancel, Logic will start the next time i run it without asking me. (But it asks again the third time i run it, and so forth - really strange!)
    Please report this bug to Apple! http://www.apple.com/feedback/logicpro.html
    Fox

  • How to find the number of times method being called.....

    hi,
    can any one pls tell me how to find the number of times the method being called......herez the example....
    Refrence ref = new Refrence();
    for(int i = 0;i < arr.length; i++){
    if(somecondition){
    ref.getMethod();
    here i want to know how many times the getMethod() is calling...Is there any method to do this.. i have seen StrackTraceElement class..but not sure about that....pls tell me the solution....

    can any one pls tell me how to find the number of times the method being called......
    herez the example.... http://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • When my lightroom opens up I keep getting an error message that states, "Lightroom encountered an error whne reading from its preview  cache and needs to quit" I have relaunched it a number of times and keep getting the same message.

    when my lightroom opens up I keep getting an error message that states, "Lightroom encountered an error whne reading from its preview  cache and needs to quit" I have relaunched it a number of times and keep getting the same message. Any thoughts on how to fix this?

    You need to delete your preview cache and have Lightroom rebuild it.   Cache location can be found here.
    https://helpx.adobe.com/lightroom/kb/preference-file-locations-lightroom-41.html
    Why And How To Clear Your Lightroom Cache - Lightroom Fanatic

  • I am trying to delete a large number of songs from my Itunes library without having to delete them one at a time.  How do I do that?

    I am trying to delete a large number of songs from my itunes library without having to do it one at a time.  How can I do this.  All of my songs have check marks by them.  Help!

    Then I suspect you do not have iTunes Match enabled. Using that "delete all" command in the Settings does not remove the music from the cloud, nor does it disable iTunes Match. With iTunes Match enabled you will still see all the music.
    So go to Settings > iTunes and App Store and make sure iTunes Match is set to ON (green).

Maybe you are looking for

  • Saving a .pdf as a landscape view

    I have a xerox documate 632 scanner that scans and saves the document into a .pdf format. I use these files for presentations and so i need to know how to save the file as a landscape view so it can be opened at read that way.

  • Automatic MIDI track record engaging.. is there a way to toggle?

    I'm talking about how a midi track goes into record once its selected and it receives midi info. Is there a way of turning this 'feature' off?? I would like total control over whether or not I'm going into record... There's a keystroke I don't mind m

  • BaseTableName blank when calling GetSchema on a query with multiple tables

    I am using ODP.NET 11.2.0.3.0 and when calling GetSchemaTable on a DataReader that contains a join the returned SchemaTable has the BaseTableName and BaseColumnName fields blank - this is different than what I see with the Oracle OLE DB Provider and

  • Blog: Image Caching in PL/SQL Applications

    Blog: Image Caching in PL/SQL Applications http://tylermuth.wordpress.com/2008/02/04/image-caching-in-plsql-applications/ Enjoy, Tyler

  • Deleted material coming in planning result

    Dear PP Gurus, Please guide. I have marked one material for deletion, also i have locked that material, also made MRP type "ND". Still after running MRP with planning mode '3', system displaying this material in MD05/MD07/MD06. WHY ? Please expalin t