﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Integration Services / Data Warehousing  / SSIS Agent Job Passing Parameters / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 16:07:27 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>To Steve, Thanks for your post, it's a very great help. Save me a bunch of money !CheersRasler</description><pubDate>Wed, 09 Jan 2013 13:28:13 GMT</pubDate><dc:creator>chjquest</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>I've never tried it.  In the past I've used a variable that gets used in an expression in the connection in the package.More recently I've switched to config files.  The upside here is that you can move packages around servers (dev/qa/prod/etc) and the package will read the local config file to determine it's connections.  That's a whole different story though.  Worth a web search to make your life easier.</description><pubDate>Wed, 13 Jul 2011 11:02:41 GMT</pubDate><dc:creator>LerxtDBA</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>Thanks for the response. The image is missing but I got it.Also Is it possible to modify connectionstring value under "Data Sources" tab ?</description><pubDate>Wed, 13 Jul 2011 10:54:05 GMT</pubDate><dc:creator>saqib-431177</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>[quote][b]saqib-431177 (7/13/2011)[/b][hr][quote][b]stevefromOZ (5/23/2008)[/b][hr]Using a package level parameter, this works in SQLAgent --&amp;gt; \package.Variables[myVar].ValueSteve.[/quote]Can you please where in SqlAgent, I can pass the parameter?I couldnt understand the above directions.[/quote]Enter them on this tab of the Job Step Properties screen when you have selected an SSIS Job Step[img]https://lh3.googleusercontent.com/-XefTeCAVONA/Th3KBArtduI/AAAAAAAAALI/qmmy8sj5sRw/SSIS_Params.jpg[/img]Edit:  I had way too much info visible there at first. :Whistling: Had to edit screen shot.</description><pubDate>Wed, 13 Jul 2011 10:36:28 GMT</pubDate><dc:creator>LerxtDBA</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>[quote][b]stevefromOZ (5/23/2008)[/b][hr]Using a package level parameter, this works in SQLAgent --&amp;gt; \package.Variables[myVar].ValueSteve.[/quote]Can you please where in SqlAgent, I can pass the parameter?I couldnt understand the above directions.</description><pubDate>Wed, 13 Jul 2011 10:15:42 GMT</pubDate><dc:creator>saqib-431177</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>@SSC Veteran: Thanks for the final clue to this mystery. I was actually putting in my top level package name and not the literal 'Package' Doh! Still, looks like I'm in good company on this one.</description><pubDate>Wed, 04 May 2011 08:44:56 GMT</pubDate><dc:creator>Derek Robinson</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>I came across a handy way to make sure the syntax you use for this path is exactly right: open up package configurations and go through that wizard selecting the value you want the path for, on the "Completing the Wizard" summary screen you'll see it under "properties:". Also, there's more than one "correct" path. In my case I guessed the first and generated the second of these:[code="plain"]\Package\Data Flow Task.Variables[QueryText].Value\Package\Data Flow Task.Variables[User::QueryText].Properties[Value][/code]</description><pubDate>Thu, 04 Mar 2010 15:57:54 GMT</pubDate><dc:creator>ohack</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>I was running into a similar issue and really banging my head against the desk...literally.I noticed at least one person with the same issue I had.  Case sensitivity.  \Package.Variables[variable_name].[b][size="4"]V[/size][/b]alueI feel really dumb for wasting half an hour figuring this one out.  I also feel better, however,  knowing I'm not the only one.  :-PI really do wish there was some sort of consistency in the MS world regarding case-sensitivity.</description><pubDate>Mon, 01 Mar 2010 13:08:45 GMT</pubDate><dc:creator>LerxtDBA</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>Hi,I'm as well getting an error some-thing like - Option "  /SET" is not valid.  The command line parameters are invalid.  The step failed.My cmd line says:/DTS "\MSDB\&amp;lt;dtsx package name&amp;gt;" /SERVER "&amp;lt;server name&amp;gt;"  /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /SET "\Package.Variables[Location].Value";"T:\" /REPORTING ECould someone suggest a way out?Thanks!</description><pubDate>Wed, 28 Oct 2009 09:39:26 GMT</pubDate><dc:creator>Ambuj Mathur</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>I see this is an old thread, but I am encountering the same problem as originally posted. I have configured the sql agent job step properties page but I continue to receive the "could not set..." error./FILE "S:\ETL\PROJECTS\Hermes Profile Load\Hermes_Profile_Load\Hermes_Profile_Load\Hermes_Profile_Load.dtsx"  /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /SET "\Package.Variables[User::MaxBatch].Properties[value]";500 /REPORTING EAre there other dependencies on this working? Protection level settings? Package Configurations mappings? I've tried varieties of everything I can think of.Thanks,</description><pubDate>Thu, 23 Jul 2009 15:13:46 GMT</pubDate><dc:creator>stew_b</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>Hi Steve,I'm pretty new to the SSIS Job Scheduling side of things and therefore I also need some help regarding passing parameters to an SSIS Package stored in a SQL Server Agent job. I need to pass values to 3 variables that control what data is loaded and also which portion of the SSIS is executed.The 3 Variables are:* Var_Fin_YM* Var_Load_Recon* Var_Load_FinalI've looked at quite a few websites for an answer but have not found anything of use.Your help would be greatly appreciated.Kind Regards,Colin.</description><pubDate>Tue, 29 Jul 2008 01:09:27 GMT</pubDate><dc:creator>mackie</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>Glad you got it to work!  look at it this way, it's two days that you didn't spend doing something else :POh and the pointer i got was from [url=http://msdn.microsoft.com/en-us/library/ms188978.aspx]this page[/url], they're sample under the sub heading Options then PropertyPath.</description><pubDate>Fri, 23 May 2008 09:39:31 GMT</pubDate><dc:creator>stevefromOZ</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>Also, if you have deeper levels (eg sequence containers etc), the same syntax but 'slashed' paths to the object before you hit it's variables collection.  so with a sequence container named cont and a variable within that named seqCont, this is the path to set that var:\package\cont.Variables[seqCont].Value</description><pubDate>Fri, 23 May 2008 09:37:12 GMT</pubDate><dc:creator>stevefromOZ</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>Steve,That was it.....only been messing with this for 2 days....CheersGlynne</description><pubDate>Fri, 23 May 2008 09:36:04 GMT</pubDate><dc:creator>Glynne Smith</dc:creator></item><item><title>RE: SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>Using a package level parameter, this works in SQLAgent --&amp;gt; \package.Variables[myVar].ValueHTH,Steve.</description><pubDate>Fri, 23 May 2008 09:29:42 GMT</pubDate><dc:creator>stevefromOZ</dc:creator></item><item><title>SSIS Agent Job Passing Parameters</title><link>http://www.sqlservercentral.com/Forums/Topic505921-364-1.aspx</link><description>I'm trying to set up a SQL Agent job to run a SSIS package.I want to pass a parameter to the package to tell it to either run the whole package, or just run the report at the end. The variable is just a Boolean that is set to true or false.The package works fine in BIDS. I can set the variable and the execution works.I have scoured the web and found several conflicting solutions.I have tried every combination in the 'Set Values' tab, that I can think of (except the right one of course).Property PathValuePackage.Variables[User::Report_Only].Properties[Value]	    'True'Package.Variables[User::Report_Only].Properties[Value]	     True Package.Variables[User::Report_Only].Value		      'True'Package.Variables[User::Report_Only].Value		     TrueI always get a message of the type;DTExec: Could not setPackage.Variables[User::Report_Only].Properties[Value] value to 'True'.</description><pubDate>Fri, 23 May 2008 08:46:47 GMT</pubDate><dc:creator>Glynne Smith</dc:creator></item></channel></rss>