Sorry, Forgot to hit Reply all.

-----Original Message-----
From: Steve Howard [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 8:31 PM
To: Terry Witherspoon
Subject: RE: Can DTS packages be run from Perl?


If you are executing the package on a Win32 machine, you are probably going
to have to use the DTSRun utility that comes with SQL. Look at SQL Server
Books online for the syntax of the DTSRun commands. To find the specific
syntax and switches, go to SQL Server Books Online (Installed with an MS SQL
Standard Installation), go to the Index tab, look up DTS, Package
Execution).

These are usually run from command prompt, so to use them in Perl, you just
need to use one of the methods of executing a shell command - different
according to what you want for output, and how you want to utilize it.
Backticks are probably the easiest, but not necessarily the best, and
certainly not the only way to drop a command through to the shell.

Steve H.

-----Original Message-----
From: Terry Witherspoon [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 11:24 AM
To: [EMAIL PROTECTED]
Subject: Can DTS packages be run from Perl?



Hi,

Does anyone know of a way to run a DTS package from perl?

TIA, TW

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Reply via email to