dbTalk Databases Forums  

Global Variable Use in Process Execution Task

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


Discuss Global Variable Use in Process Execution Task in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
shumaker@cs.fsu.edu
 
Posts: n/a

Default Global Variable Use in Process Execution Task - 04-13-2005 , 02:35 PM






The only info I can find on syntax for using global vars is in activex
script or in an sql query.

I have already added a global variable and set a default value in the
package properties. I have a Process Execution Task and would like to
use the value of the global variable as the parameter to be passed to
the process. There is a field for the parameter, but putting:
DTSGlobalVariables("pl_output_filename").Value
in the parameter field doesn't seem to work.

Thanks in advance for any help.


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

Default Re: Global Variable Use in Process Execution Task - 04-13-2005 , 02:52 PM






Try building the statement up front

How to manipulate the Execute Process task.
(http://www.sqldts.com/default.aspx?251)


--

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


<shumaker (AT) cs (DOT) fsu.edu> wrote

Quote:
The only info I can find on syntax for using global vars is in activex
script or in an sql query.

I have already added a global variable and set a default value in the
package properties. I have a Process Execution Task and would like to
use the value of the global variable as the parameter to be passed to
the process. There is a field for the parameter, but putting:
DTSGlobalVariables("pl_output_filename").Value
in the parameter field doesn't seem to work.

Thanks in advance for any help.




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.