I was not able to find any clear documentation on SSIS 2012 stating how can we run packages under the project model outside of a project and if the task run Synchronously or Asynchronously.
I have 12 projects each one with a master package that executes other packages within a project using the "Execute Packages Task". Now I need to create a main package that will execute those 12 master. On 2012 the "Execute Package Task" does not allow package execution from different projects (if that statement is incorrect please let me know how).
After some research I’ve been looking at two possible solutions: (1) using "Execute SQL Server Agent Job Task"; (2) using "Execute SQL Task" with the start_execution store procedure from the SSISDB catalog.
I was not able to find any specific doc on 2012, and I do not want to assume 2012 works the same way 2008 did. So before I start to trial and error journey I was wondering if someone would have more info on the subject. The SSIS Talk blog from Phil Brammer states “In the new SSIS 2012 catalog’s project deployment model, by default if you execute a package with the Execute Package control flow task, or through the new API’s start_execution, the call will be made asynchronously.” What made me all confused on the Execute Package task sync/async assumptions.
So can someone please clarify:
EXECUTE PACKAGE TASK => Sync/Async?
EXECUTE SQL SERVER AGENT JOB TASK => Async? And if can be changed how?
EXECUTE catalog.start_execution => default Async, and can be changed to Sync using catalog.set_execution_parameter_value... 'SYNCHRONIZED'…. Will the change to Sync will actually give the Fail/Success result of the package? If not how we identify the execution
result?
Thanks in advance, K