Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 1234»»»

SSIS Package to Script All SQL Server Jobs to Individual Files Expand / Collapse
Author
Message
Posted Monday, July 5, 2010 10:16 PM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, July 16, 2014 8:50 AM
Points: 239, Visits: 369
Comments posted to this topic are about the item SSIS Package to Script All SQL Server Jobs to Individual Files

Thomas Lane, PhD
DBA
Edgenet / Big Hammer Data
SQL Lane
Post #947688
Posted Tuesday, July 6, 2010 1:27 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, July 12, 2013 5:44 AM
Points: 146, Visits: 111
Great article, unfortunately when I try to use the package on a SQL 2005 server I get a message indicating the package is a higher version than installed. Is there a SQL 2005 version of the package available?

Ian.
Post #947739
Posted Tuesday, July 6, 2010 7:05 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, July 16, 2014 8:50 AM
Points: 239, Visits: 369
I have attached the SQL Server 2005 version just remove the txt file extensions. Let me know if you have any issues. This version will only work on SQL Server 2000 and 2005 jobs with the package run from a SQL Server 2005 installed PC.

Thomas Lane, PhD
DBA
Edgenet / Big Hammer Data
SQL Lane


  Post Attachments 
ScriptJobs2005.dtsx.txt (113 views, 66.52 KB)
ScriptJobs.dtsConfig.txt (65 views, 688 bytes)
Post #947898
Posted Tuesday, July 6, 2010 7:12 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Friday, July 12, 2013 5:44 AM
Points: 146, Visits: 111
Thanks that seems to work with SQL 2005 now.
Ian
Post #947906
Posted Tuesday, July 6, 2010 9:48 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: 2 days ago @ 2:35 PM
Points: 265, Visits: 2,565
Nice. Thanks for sharing!
Post #947993
Posted Tuesday, July 6, 2010 11:05 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, June 16, 2014 1:09 PM
Points: 11, Visits: 334
Question I have downloaded both the files removed the .txt extension, but still I am not sure what to do. Can you please tell me the step by step process.
Post #948052
Posted Tuesday, July 6, 2010 11:57 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, July 16, 2014 8:50 AM
Points: 239, Visits: 369
To use the scriptJobs2005.dtsx file you will need to have SQL Server 2005 installed with BIDS (SQL Server Business Intelligence Development Studio) and the SDKs (the folder C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies should many ddls in it). Then put the ScriptJobs.dtsconfig file in C:\temp. Then edit the ScriptJobs.dtsconfig file so that the server name is correct where the "########" is below. Then right click on scriptJobs2005.dtsx in windows explorer and click open. This will open the execute package Utility in which you will click execute. Then after it finishes, the sql files for each job will be in the C:\MyJobs folder. I am assuming the you have access to the SQL Server via your network password using integrated security.


<?xml version="1.0"?>
<DTSConfiguration>
<DTSConfigurationHeading>
<DTSConfigurationFileInfo GeneratedBy="xxxx" GeneratedFromPackageName="ScriptJobs" GeneratedFromPackageID="{BE7E98AD-FC33-4C70-BB2B-B081DBBB6B97}" GeneratedDate="6/10/2010 3:47:27 PM"/>
</DTSConfigurationHeading>
<Configuration ConfiguredType="Property" Path="\Package.Variables[User::varFilePath].Properties[Value]" ValueType="String">
<ConfiguredValue>C:\MyJobs</ConfiguredValue>
</Configuration>
<Configuration ConfiguredType="Property" Path="\Package.Variables[User::varServerName].Properties[Value]" ValueType="String">
<ConfiguredValue>########</ConfiguredValue>
</Configuration>
</DTSConfiguration>


Thomas Lane, PhD
DBA
Edgenet / Big Hammer Data
SQL Lane
Post #948090
Posted Tuesday, July 6, 2010 12:14 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, June 16, 2014 1:09 PM
Points: 11, Visits: 334
Thanks you so much it worked.
Post #948106
Posted Tuesday, July 6, 2010 1:37 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Thursday, October 3, 2013 8:58 AM
Points: 42, Visits: 81
Although I have sql2005 with SP3 and ssis and sdk installed, I receive "Error the task "script task" cannot run on this edition of integration services. it requires a higher level edition. Any ideas what I might be missing?
Post #948148
Posted Tuesday, July 6, 2010 1:52 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Monday, June 16, 2014 1:09 PM
Points: 11, Visits: 334
Please check SSC Vetran's reply it has two file in it.
Post #948157
« Prev Topic | Next Topic »

Add to briefcase 1234»»»

Permissions Expand / Collapse