dbTalk Databases Forums  

DTSRun

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTSRun in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bungle@wizardbuy.com
 
Posts: n/a

Default DTSRun - 03-10-2005 , 03:39 AM






Hi

I am really hoping someone will be able to help me with this one. I
want to manually enter a command in a SQL Job within SQL Server which
will run a DTS Package with parameters.

The reason is that my users are able to create scheduled jobs from a
web front end which will then run the DTS. The DTS is pre-created so I
already know what the name of it is.

Would anyone therefore be able to provide me with some tips and example
syntax that I should put within the step of my job?? I also need to
know which mode to run the command in eg. CmdExec or TSQL etc.

Any help would be hugely appreciated as Books Online and online help is
a bit thin.

Thanks

Dave


Reply With Quote
  #2  
Old   
Simon Worth
 
Posts: n/a

Default Re: DTSRun - 03-10-2005 , 07:58 AM






You can use dtsrunui.exe to see how the syntax is working. if you need to
pass global variables to the package, it will show you how to do this. Pick
your package in dtsrunui, and click the advanced button. In there you can
assign global variables and have the app auto generate the syntax for you -
that way you can get an understanding of the dtsrun command line options.

--
Simon Worth


<bungle (AT) wizardbuy (DOT) com> wrote

Quote:
Hi

I am really hoping someone will be able to help me with this one. I
want to manually enter a command in a SQL Job within SQL Server which
will run a DTS Package with parameters.

The reason is that my users are able to create scheduled jobs from a
web front end which will then run the DTS. The DTS is pre-created so I
already know what the name of it is.

Would anyone therefore be able to provide me with some tips and example
syntax that I should put within the step of my job?? I also need to
know which mode to run the command in eg. CmdExec or TSQL etc.

Any help would be hugely appreciated as Books Online and online help is
a bit thin.

Thanks

Dave




Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTSRun - 03-10-2005 , 01:04 PM



You could even use this

Getting Syntax Help for DTSRun
(http://www.sqldts.com/default.aspx?301)




"Simon Worth" <REMOVEFIRST_simon.worth (AT) gmail (DOT) com> wrote


Quote:
You can use dtsrunui.exe to see how the syntax is working. if you need to
pass global variables to the package, it will show you how to do this. Pick
your package in dtsrunui, and click the advanced button. In there you can
assign global variables and have the app auto generate the syntax for you -
that way you can get an understanding of the dtsrun command line options.

--
Simon Worth


bungle (AT) wizardbuy (DOT) com> wrote in message
news:1110447544.452168.231280 (AT) f14g2000cwb (DOT) googlegroups.com...
Hi

I am really hoping someone will be able to help me with this one. I
want to manually enter a command in a SQL Job within SQL Server which
will run a DTS Package with parameters.

The reason is that my users are able to create scheduled jobs from a
web front end which will then run the DTS. The DTS is pre-created so I
already know what the name of it is.

Would anyone therefore be able to provide me with some tips and example
syntax that I should put within the step of my job?? I also need to
know which mode to run the command in eg. CmdExec or TSQL etc.

Any help would be hugely appreciated as Books Online and online help is
a bit thin.

Thanks

Dave



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.