SSIS Package Scheduling with SQL Agent

Problem

With the new features in SQL Server 2005 Integration Services, what are the related impacts to SQL Server 2005 Agent?  Do I still need to build a dtsrun command (SQL Server 2000) to execute an SSIS Package in an automated manner?  What insight do I have into the internal SSIS objects and some of the advanced features?

Solution

The value with SQL Server Agent and SSIS is the integration between the 2 technologies.  The core SSIS features are exposed directly via SQL Server Agent’s Job Step Type of ‘SQL Server Integration Services Package.’  This Job Type option provides the following interfaces into interact with the SSIS Package in a more straightforward manner:

  • SQL Server Integration Services Package Job Step
  • General Tab
  • Configurations Tab
  • Command Files Tab
  • Data Sources Tab
  • Execution Options Tab
  • Logging Tab
  • Set Values Tab
  • Verification Tab
  • Command Line Tab

Below outlines the individual interfaces with a description and sample screen shot:















































IDDescriptionScreen Shot
1SQL Server Integration Services Package Job Step – This SSIS interface can be accessed via SQL Server Agent when a new job is created and the Job Step Type is SQL Server Integration Services Package.SQLServer2005 Agent SSIS JobStep 1
2General Tab – Specify the package source (SQL Server, File System, SSIS Package Store), SQL Server with the SSIS Package and authentication (Windows or SQL Server).SQLServer2005 Agent SSIS JobStep GeneralTab 2
3Configurations Tab – Specify a alternative configurations file from the default stored at C:\Program Files\Microsoft SQL Server\90\DTS\Binn\ MsDtsSrvr.ini.xml.SQLServer2005 Agent SSIS JobStep ConfigurationsTab 3
4Command Files Tab – Configure environment specific settings for the SSIS Package and reference the file in this interface.SQLServer2005 Agent SSIS JobStep CommandFilesTab 4
5Data Sources Tab – Select the needed connection managers from the listing of the available connection managers in the SSIS Package.SQLServer2005 Agent SSIS JobStep DataSourcesTab 5
6Execution Options Tab – Configure the package on validation warnings, package validation and enabling checkpoints within the package.SQLServer2005 Agent SSIS JobStep ExecutionOptionsTab 6
7Logging Tab – The ability to specify a log provider (text files, Profiler, SQL Server, Windows Event Log, XML file) for the SSIS Package.SQLServer2005 Agent SSIS JobStep LoggingTab 7
8Set Values Tab – Type in specific properties from the SSIS Package and their associated value.SQLServer2005 Agent SSIS JobStep SetValuesTab 8
9Verification Tab – Ability to execute only signed packages as well as specific SSIS Package versions.SQLServer2005 Agent SSIS JobStep VerificationTab 9
10Command Line Tab – The actual command executed based on the selections from the previous interfaces.SQLServer2005 Agent SSIS JobStep CommandLineTab 10

Next Steps

Leave a Reply

Your email address will not be published. Required fields are marked *