TechTip: SSIS Toolbox - Configurations and Parameters plus Converting a Project

Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

Once you know the SSI Toolbox, it is time for configurations and parameters, and to convert a project.

Editor’s Note: This article is excerpted from chapter 3 of Extract, Transform, and Load with SQL Server Integration Services--with Microsoft SQL Server, Oracle, and IBM DB2, by Thomas Snyder and Vedish Shah.

Configurations and Parameters

Depending on the type of deployment model you choose, you can use either configuration files or parameters. The legacy model lets you create configuration files that are separate from your packages, whereas the default model lets you create parameters, project- or package-level, which are part of the entire project.

If you opt for the legacy model, you can simply right-click on the control flow window and select Package Configurations. Enable the configurations, name your file and location, pick your desired properties to use, name your config file, review the changes, and voilà: you have a config file! Config files are designated with a .dtsConfig extension. Any package, across any projects and across any solution, can share the same config file. However, the config file needs to be referenced first before it is accessed.

If you opt for the default model, you can create parameters, which are like configuration files but are located within the project or package. You can create parameters at two levels: package and project. Project parameters are created by double-clicking the project.params folder under the project name in the Solution Explorer. Package parameters are created by accessing the package’s Parameters view. Parameters in the package are only accessible to the package itself and no other packages. Parameters in the project are global and accessible by every package in the project.

Converting a Project

As we mentioned at the beginning of the chapter, the default model of a SSIS solution is the project deployment model. To convert it to the legacy package deployment model, right-click the project name and then click Convert to Package Deployment Model, as shown in Figure X.

TechTip: SSIS Toolbox - Configurations and Parameters plus Converting a Project - Figure 1

Figure 1: Converting a project to the package deployment model

Once your project has been converted to the package deployment model, assuming there are no errors, you will be able to see the model type next to your project name, as shown in Figure xx.

TechTip: SSIS Toolbox - Configurations and Parameters plus Converting a Project - Figure 2

Figure 2: A converted project

TechTip: SSIS Toolbox - Configurations and Parameters plus Converting a Project - Note

So, what does it take to convert your legacy project to a project deployment model? Well, doing so is very simple: you can just open your legacy solution using SSDT, and it will detect the discrepancies compared to the default model type and provide upgrade options. When you are converting a project to this model, you are technically taking all the packages and configuration files from the legacy model and putting them in an .ispac file: the deployment utility of the project deployment model. If your project was already built as a package deployment model within SSDT, then right-click the project name and click Convert to Project Deployment Model. The Integration Services Project Conversion Wizard will be displayed, as shown in Figure 3.

TechTip: SSIS Toolbox - Configurations and Parameters plus Converting a Project - Figure 3 

Figure 3: Converting to the project deployment model using Conversion Wizard

One important thing to note here is the verbiage on the first screen of the wizard. Since the conversion wizard was accessed from within SSDT, it will use the same project folders and overwrite the existing contents in that folder—thus, the warning to back up any important files before conversion. The Conversion Wizard, once you step through it, will also provide an option to convert any configuration files used into project parameters, as shown in Figure 4.

TechTip: SSIS Toolbox - Configurations and Parameters plus Converting a Project - Figure 4

Figure 4: Project parameters

You can also access the Conversion Wizard directly from Windows Explorer for your desired SQL Server version: C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\ ISProjectWizard.exe.

The only difference is the way the Conversion Wizard handles the conversion (Figure 5).

TechTip: SSIS Toolbox - Configurations and Parameters plus Converting a Project - Figure 5 

Figure 5: Conversion Wizard, directly accessed

Next time:  Database Setup.  Can't wait?  Pick up your copy of Tom's book, Extract, Transform, and Load with SQL Server Integration Services at the MC Press Bookstore Today!

Thomas Snyder

Thomas Snyder has a diverse spectrum of programming experience encompassing IBM technologies, open source, Apple, and Microsoft and using these technologies with applications on the server, on the web, or on mobile devices.

Tom has more than 20 years' experience as a software developer in various environments, primarily in RPG, Java, C#, and PHP. He holds certifications in Java from Sun and PHP from Zend. Prior to software development, Tom worked as a hardware engineer at Intel. He is a proud United States Naval Veteran Submariner who served aboard the USS Whale SSN638 submarine.

Tom is the bestselling author of Advanced, Integrated RPG, which covers the latest programming techniques for RPG ILE and Java to use open-source technologies. His latest book, co-written with Vedish Shah, is Extract, Transform, and Load with SQL Server Integration Services.

Originally from and currently residing in Scranton, Pennsylvania, Tom is currently involved in a mobile application startup company, JoltRabbit LLC.


MC Press books written by Thomas Snyder available now on the MC Press Bookstore.

Advanced, Integrated RPG Advanced, Integrated RPG
See how to take advantage of the latest technologies from within existing RPG applications.
List Price $79.95

Now On Sale

Extract, Transform, and Load with SQL Server Integration Services Extract, Transform, and Load with SQL Server Integration Services
Learn how to implement Microsoft’s SQL Server Integration Services for business applications.
List Price $79.95

Now On Sale

BLOG COMMENTS POWERED BY DISQUS

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  •  

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: