Groups | Blog | Home
all groups > sql server dts > february 2006 >

sql server dts : Scheduling a DTS package in SQL 2005..


Roz
2/4/2006 12:22:36 PM
Hello all. I imported (not migrated) a few SQL 2000 DTS packages into SQL
2005. Of course, they appear under the Management...Legacy tree. I can't
seem to figure out how to schedule these packages using SQL Agent. Migrating
the packages to native SQL 2005 isn't an option, because I lost my column
mappings once these packages are truly migrated.

Any pointers, suggestions, etc.

Thanks
Roz
Allan Mitchell
2/4/2006 1:32:32 PM
Hello Roz,

Because you installed the DTSRuntime support when you installed SSIS you
can call in a job DTSRun as per 2000.


Allan


[quoted text, click to view]

Roz
2/4/2006 4:03:26 PM
Excellent Allan. I'll give it a try.

Thanks again,

Roz


[quoted text, click to view]
Roz
2/8/2006 12:04:28 PM
Allan,

I tried to schedule my 2000 DTS package with SQL 2005. I tried to find help
on the DTSRun command, but no luck. Very strange no doc was there for it,
only for "DtsRuntimeException class". Weird. In SQL 2000, I could
right-click on a dts package, and "Schedule...." would be an option. In
2005, I have to schdule it under SQL Agent...Jobs (which is OK), but still
can't find help on the DTSRun command.

I know one of the parameters the DTSRun takes is the package id, where can I
get this information for my legacy packages?

Thanks again.

Roz


[quoted text, click to view]
Allan Mitchell
2/8/2006 12:12:36 PM
Hello Roz,

Here you go

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/coprompt/cp_dtsrun_95kp.asp


Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

[quoted text, click to view]

Roz
2/8/2006 12:30:31 PM
Thanks. Any reason why this isn't in the SQL 2005 books online?

[quoted text, click to view]
Allan Mitchell
2/8/2006 12:34:24 PM
Hello Roz,

Because it isn't part of 2K5. DTExec is the 2K5 version

Allan Mitchell
www.SQLDTS.com
www.SQLIS.com
www.Konesans.com

[quoted text, click to view]

Roz
2/8/2006 12:41:26 PM
Thanks.

[quoted text, click to view]
AddThis Social Bookmark Button