dbTalk Databases Forums  

RUN MULTIPLE INSTANCES OF A GENERIC PACKAGE WITH DIFFERENT CONNECTION

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss RUN MULTIPLE INSTANCES OF A GENERIC PACKAGE WITH DIFFERENT CONNECTION in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Christodoulos Hadjiodysseos
 
Posts: n/a

Default RUN MULTIPLE INSTANCES OF A GENERIC PACKAGE WITH DIFFERENT CONNECTION - 09-17-2004 , 12:33 AM






Hello
I am having the following problem: I have to collect the
same data from multiple data sources into the same table
in SQL server. Instead of writing possibly 150 identical
packages where the only difference is the ODBC connection
i am using, I have set up a generic package which i call
200 hundred times. The very first step to run in this
package is setting the package connection by using a
variable value passed by the caller.

The execution of this generic package is carried out by an
additional DTS package which only serves the purpose of
running the generic package with different context each
time (it has around 200 package execution tasks each one
passing a different value for the ODBC connection name of
the generic package). each time passing a value holding
the name of the ODBC connection, this works fine as long
as I ran 2-3 instances of the package but I dont get the
data when i increase the number of concurrent executions.

The question is:
Is it possible to ran (IN PARALLEL) multiple instances OF
THE SAME generic package by setting its connections to
different data sources? (The destination is the same in
all cases).

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: RUN MULTIPLE INSTANCES OF A GENERIC PACKAGE WITH DIFFERENT CONNECTION - 09-18-2004 , 05:40 AM






In article <05b601c49c77$eb0c4e30$a501280a (AT) phx (DOT) gbl>, Christodoulos
Hadjiodysseos wrote:
Quote:
Hello
I am having the following problem: I have to collect the
same data from multiple data sources into the same table
in SQL server. Instead of writing possibly 150 identical
packages where the only difference is the ODBC connection
i am using, I have set up a generic package which i call
200 hundred times. The very first step to run in this
package is setting the package connection by using a
variable value passed by the caller.

The execution of this generic package is carried out by an
additional DTS package which only serves the purpose of
running the generic package with different context each
time (it has around 200 package execution tasks each one
passing a different value for the ODBC connection name of
the generic package). each time passing a value holding
the name of the ODBC connection, this works fine as long
as I ran 2-3 instances of the package but I dont get the
data when i increase the number of concurrent executions.

The question is:
Is it possible to ran (IN PARALLEL) multiple instances OF
THE SAME generic package by setting its connections to
different data sources? (The destination is the same in
all cases).

You should be able to run n instances of the package at the same time.
You do not say why the packages do not run i.e. Any errors/hang. If it
is a hang then I would suspect locaking on the destination.


--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.