Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6889899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:12:50+00:00 2026-05-27T06:12:50+00:00

I have a SSIS package running at 8 PM in the evening for the

  • 0

I have a SSIS package running at 8 PM in the evening for the Year 2011.

I would like to run the same package at 8:30 PM for the Year 2010.

I made a SSIS Package configuration file and accept the “Year” as a parameter. Whenever I run, I need to open a file, change the value and run it.

Is it possible to set up the schedule and set the Year value dynamically?

Or using 2 different configuration file is the only way to solve it?

Thanks all.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:12:51+00:00Added an answer on May 27, 2026 at 6:12 am

    The challenge with using a configuration file approach is that you would need to constantly modify the file. SSIS wouldn’t reload the config file after it starts so you could conceivably have 8:05 and 8:35 PM jobs that swaps config files but that’s going to get messy and break at some point.

    I would handle this situation with command line variables (/set option in dtexec). If you were running the package from the command line, it’d look something like dtexec.exe /file MyPackage.dtsx Even if you’re using SQL Agent, behind the scenes it’s building those command line arguments.

    This approach assumes you create two different jobs (vs 1 jobs scheduled 2x a day).
    AgentMyPackage2011 has a job step of SSIS that results in

    • dtexec /file MyPackage.dtsx /Set \Package.Variables[User::Year].Properties[Value];\"2011\"

    and AgentMyPackage2012 has a job step of SSIS that results in

    • dtexec /file MyPackage.dtsx /Set \Package.Variables[User::Year].Properties[Value];\"2012\"

    Through the GUI, it’d look something like
    SQL Agent Set values tab

    SQL Agent Command line tab

    There is no GUI or selector for the property you wish to configure. However, since you’ve already create a .dtsConfig file for your package, open that file up and look for a section like

    <Configuration ConfiguredType="Property" Path="\Package.Variables[User::Year].Properties[Value]" ValueType="Int32">
    <ConfiguredValue>2009</ConfiguredValue>
    

    The file already has the path to the “thing” you are attempting to configure so punch that into your calling program and then turn off the year portion of package configuration.

    Finally, a link to SSIS Configuration Precedence as there are differences in the 2005 vs 2008 model. I see you indicated 2008 in your ticket but for future readers, if you’re using both /SET and a configuration source (xml, sql server, registry, environment variable) the order of operations varies between versions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a job on SQL Server 2005 running a ssis package. The package
I have simple SSIS package which reads data from flat file and insert into
I have simple SSIS package where I import data from flat file into SQL
I have run an ssis package and got error in one of the tasks(the
We have an SSIS job that has been running for over a year with
We have been running an SSIS package successfully in production now for 3 weeks,
I'm running an SSIS package that I made a few months ago, and ran
I have SSIS package which pulls the data from Excel(.xls) file and load the
I have a SSIS package where I pull data from a flat file into
I have one SSIS Package that must run as Proxy A and another that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.