Solved

investigate ssis variable

Posted on 2011-09-30
4
295 Views
Last Modified: 2013-11-10
I have a big and complex SSIS package that I need to modify. One of my execute sql task is passing the value of the variable User::strDocStatus as parameter to execute an sproc. I need to find out where the value of this variable is getting set. It is too time consuming to open each sql task and check the result set, and also open all script tasks to see if it is setting the value of this variable.

Please let me know if there is a more efficient way to know this.

Thanks,

Deep
0
Comment
Question by:patd1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 40

Assisted Solution

by:lcohan
lcohan earned 167 total points
ID: 36894274
If you Export the SSIS package as a DTSX file you can open that file and do a text search on that variable name as the DTSX is just an XML file.
0
 
LVL 21

Assisted Solution

by:Jason Yousef, MS
Jason Yousef, MS earned 167 total points
ID: 36894506
In a perfect world, the variable should has a scope which represents which task it belongs to, check if that's your case and you'll be lucky then.. :) var
0
 
LVL 21

Accepted Solution

by:
Alpesh Patel earned 166 total points
ID: 36895456
Yes,

Just open your package in BIDS and right click on package and go to code. It will open up a XML file. in that you can search the variable name.
0
 

Author Closing Comment

by:patd1
ID: 36911703
Great! Thanks.
0

Featured Post

Increase Agility with Enabled Toolchains

Connect your existing build, deployment, management, monitoring, and collaboration platforms. From Puppet to Chef, HipChat to Slack, ServiceNow to JIRA, Splunk to New Relic and beyond, hand off data between systems to engage the right people.

Connect with xMatters.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question