dbTalk Databases Forums  

Execute Package Task

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


Discuss Execute Package Task in the microsoft.public.sqlserver.dts forum.



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

Default Execute Package Task - 10-22-2004 , 10:35 AM






Hello.

I have a large daily interface that I decided to break down into multiple
packages for ease of understanding. There's one package for each system I
extract from. Is there a way to have a package scheduled in the database
return a value (true or false for success) to the calling package? I'm
looking for a 'native' way to return variables from the executing package to
the calling package similar to how the calling package can pass parameters to
the executing package. I'd rather not write scripts that read text files for
the purposes of returning that value if at all possible. It just seems like
there should be a way to do this natively.

Thanks for any help!

-Brad

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

Default Re: Execute Package Task - 10-23-2004 , 06:19 AM






If you want ultimate flexibility over what happens then call the package
from central package using the DTS object model. You can then easily
read/write between the twn-n packages.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Brad" <Brad (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hello.

I have a large daily interface that I decided to break down into multiple
packages for ease of understanding. There's one package for each system I
extract from. Is there a way to have a package scheduled in the database
return a value (true or false for success) to the calling package? I'm
looking for a 'native' way to return variables from the executing package
to
the calling package similar to how the calling package can pass parameters
to
the executing package. I'd rather not write scripts that read text files
for
the purposes of returning that value if at all possible. It just seems
like
there should be a way to do this natively.

Thanks for any help!

-Brad



Reply With Quote
  #3  
Old   
Brad
 
Posts: n/a

Default Re: Execute Package Task - 10-23-2004 , 07:27 PM



Thank you Allan, that makes perfect sense. So now I just need to find out
how to execute a package from an ActiveX script task. I haven't had a need
to use the dts com yet.

Thanks again.

-Brad

"Allan Mitchell" wrote:

Quote:
If you want ultimate flexibility over what happens then call the package
from central package using the DTS object model. You can then easily
read/write between the twn-n packages.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Brad" <Brad (AT) discussions (DOT) microsoft.com> wrote in message
news:6C7EBF46-B29D-4446-96AD-5AF699FAE43F (AT) microsoft (DOT) com...
Hello.

I have a large daily interface that I decided to break down into multiple
packages for ease of understanding. There's one package for each system I
extract from. Is there a way to have a package scheduled in the database
return a value (true or false for success) to the calling package? I'm
looking for a 'native' way to return variables from the executing package
to
the calling package similar to how the calling package can pass parameters
to
the executing package. I'd rather not write scripts that read text files
for
the purposes of returning that value if at all possible. It just seems
like
there should be a way to do this natively.

Thanks for any help!

-Brad




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

Default Re: Execute Package Task - 10-24-2004 , 04:25 AM



How about something similar to this (from SQLDTS.com)

Execute a package from a package
(http://www.sqldts.com/default.aspx?215)



--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Brad" <Brad (AT) discussions (DOT) microsoft.com> wrote

Quote:
Thank you Allan, that makes perfect sense. So now I just need to find out
how to execute a package from an ActiveX script task. I haven't had a
need
to use the dts com yet.

Thanks again.

-Brad

"Allan Mitchell" wrote:

If you want ultimate flexibility over what happens then call the package
from central package using the DTS object model. You can then easily
read/write between the twn-n packages.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Brad" <Brad (AT) discussions (DOT) microsoft.com> wrote in message
news:6C7EBF46-B29D-4446-96AD-5AF699FAE43F (AT) microsoft (DOT) com...
Hello.

I have a large daily interface that I decided to break down into
multiple
packages for ease of understanding. There's one package for each
system I
extract from. Is there a way to have a package scheduled in the
database
return a value (true or false for success) to the calling package? I'm
looking for a 'native' way to return variables from the executing
package
to
the calling package similar to how the calling package can pass
parameters
to
the executing package. I'd rather not write scripts that read text
files
for
the purposes of returning that value if at all possible. It just seems
like
there should be a way to do this natively.

Thanks for any help!

-Brad






Reply With Quote
  #5  
Old   
Brad
 
Posts: n/a

Default Re: Execute Package Task - 10-25-2004 , 08:11 AM



Thanks for all your help Allan, I'm sure that'll do it!

-Brad

"Allan Mitchell" wrote:

Quote:
How about something similar to this (from SQLDTS.com)

Execute a package from a package
(http://www.sqldts.com/default.aspx?215)



--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Brad" <Brad (AT) discussions (DOT) microsoft.com> wrote in message
news:52E73C15-50FA-43F9-8E3C-999E660118A0 (AT) microsoft (DOT) com...
Thank you Allan, that makes perfect sense. So now I just need to find out
how to execute a package from an ActiveX script task. I haven't had a
need
to use the dts com yet.

Thanks again.

-Brad

"Allan Mitchell" wrote:

If you want ultimate flexibility over what happens then call the package
from central package using the DTS object model. You can then easily
read/write between the twn-n packages.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Brad" <Brad (AT) discussions (DOT) microsoft.com> wrote in message
news:6C7EBF46-B29D-4446-96AD-5AF699FAE43F (AT) microsoft (DOT) com...
Hello.

I have a large daily interface that I decided to break down into
multiple
packages for ease of understanding. There's one package for each
system I
extract from. Is there a way to have a package scheduled in the
database
return a value (true or false for success) to the calling package? I'm
looking for a 'native' way to return variables from the executing
package
to
the calling package similar to how the calling package can pass
parameters
to
the executing package. I'd rather not write scripts that read text
files
for
the purposes of returning that value if at all possible. It just seems
like
there should be a way to do this natively.

Thanks for any help!

-Brad







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.