Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Independent SSIS Package Execution

$
0
0

Hi Everyone,

I am looking for a way to execute multiple instances of child package independently of the parent, once I pass the variables.

  

1. The parent package keeps running in an infinite loop and keep scanning a table every few seconds (infinite FOR loop ).
 2. Based on conditions, a record might be picked up and passed to a child package through an Execute Package task.

I would like to run multiple instances of the child package by in parallel by adding an execute package task (which is the final task in the package).
 However, I would like to ensure that in case one instance of child package is executing, the parent package should not be waiting at the last step for each child instance to complete. It should continue scanning (that is the control flow should start from the begining) and invoke more instances of child package. The control seems to return to the parent package from the execute package task after the child package execution complete.
 I am wondering if setting the Execute package task to run "Out of process" will accomplish this task.

If yes, what are the ways in which the number of parellel instance executions can be controlled?

I am using a "Execute SQL task" to check the value of a variable, based on which the "Execute Package" task is executed. I am wondering on how I can have multiple "Execute Package" tasks executing at the same time.
Current the parent package runs in an infinite FOR loop.
Could you please point to some details on how to use Script task?

Currently I am planning to have multiple Execute package tasks immediately after the ExecuteSQL task and believe that they should start executing at the same time. Is this correct?

 

 By the way, I get "SSIS pipeline error: to execute package out of process you must install <task name>". I have SSDT installed on my VM. Should be deploying both parent and child, on a server with SSIS installed, to get it workiing?

Thanks for your help!!


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>