SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to locate sub-packages dynamically?


How to locate sub-packages dynamically?

Author
Message
Eric Mamet
Eric  Mamet
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1589 Visits: 893
Hi there,

I have a master package calling sub-packages.
All my packages are deployed in one folder on the file system.

How can I configure my master package so that it calls its sub-packages within the same folder as itself? Cool

I am trying to avoid any configuration variable, etc...
I suppose it could be done by setting up the child packages file connection values through an expression but I don't know how to get my master package initial folder?

Any suggestions?

Thanks

Eric
Eric Mamet
Eric  Mamet
SSCommitted
SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)SSCommitted (1.6K reputation)

Group: General Forum Members
Points: 1589 Visits: 893
Well... Here is what I did if anyone is interested...

I stored the location of SSIS Packages at Runtime in some database table and used an Expression to change the value of the File Connection used in the Execute Package task.

I would have liked to get the master package current location on the fly, hence avoiding one more configuration data, but it's not a big deal.
Having said that, if you know how to do that, I am still interested! :-D


Cheers

Eric
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search