title: How to script SSIS SQL Agent Job Step to run on localhost?
body: <p>I've created a SQL Agent Job that executes a SSIS package as one of the job steps.  I'm trying to get configure the SSIS job step to be set to execute the package on "localhost" (or whatever I need to call it to reference the same SQL server instance the job is on) so that I can script it the job out, and deploy between environments using the same script.</p>
  
  <p>This is SQL Server 2012, so I'm trying to run it using the SSIS Catalog that's installed on the local SQL instance.  I don't want to have to go into the script and change server names as we push the script from development, to the test environment, and eventually production.</p>
  
  <p>I've tried putting "localhost" in the "Server" textbox, then clicking the "..." by the "Package" setting, but I get an error saying "Verify the instance name is correct and that SQL Server is configured to allow remote connections" -- which I take to mean that it's attempting to connect to a server that is actually named localhost, as opposed to just checking itself.</p>
  
  <p>Anyone know how to solve this?</p>