dbTalk Databases Forums  

SSIS Variables in SQL Agent Job

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


Discuss SSIS Variables in SQL Agent Job in the microsoft.public.sqlserver.dts forum.



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

Default SSIS Variables in SQL Agent Job - 02-24-2006 , 11:10 AM






I need to pass a value to a package level variable in an SSIS package from a
SQL Agent job. If I use dtexecui the syntax for passing the variable in the
Property Path is

\Package.Variables[User::MyVar].Properties[Value]

and the package runs fine.

When I use this syntax, or any similar format I can think of, in SQL Agent,
my job fails. In SQL Agent you put this in the Property Path on the Set
Values tab of the Step that runs the package. If I remove passing in the
variable my package runs fine.

BOL says use the format Package\<container name>.<property name> but I can
find no examples. Can anyone provide a working sample to make this work?

Thanks.



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.