RE: DTSRun Call from Unix
- From: "frank chang" <frankchang@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Jul 2005 17:14:01 -0700
sshaahin, Darren Green from www.sqldts.com states in one of his webpages:
"There are two main methods of executing a DTS package from within T-SQL,
either using the DTSRUN utility to perform the execution, or going through
the DTS object model".
"DTSRUN is a command line utility for executing packages. This can be called
from within T-SQL using the xp_cmdshell extended stored procedure. Both are
fully documented in SQL Server Books Online. If you have trouble building the
command line a quick tip is to use the Schedule Package option (Right-Click
the package in Enterprise Manager). This creates a SQL Server Agent Job, from
which you can extract the generated command line string. If you have SQL
Server 2000 then the DTSRUNUI utility has a Generate function, amongst the
advanced options."
In Unix you can use cron(a daemon process), which only needs to be
started once. A SQL file can be written that calls the above xp_cmdshell
stored procedure. This SQL file is called from a shell script and this script
is scheduled using cron. This is how a job is scheduled in Oracle running on
UNIX.
"sshaahin" wrote:
> Need to execute DTSRun from a Unix box (no dos partition). Any ideas?
>
> Thank you in advance.
.
- Follow-Ups:
- RE: DTSRun Call from Unix
- From: sshaahin
- RE: DTSRun Call from Unix
- References:
- DTSRun Call from Unix
- From: sshaahin
- DTSRun Call from Unix
- Prev by Date: Re: Problem importing excle file with unicode character
- Next by Date: Dynamic DTS (Urgent !!!)
- Previous by thread: DTSRun Call from Unix
- Next by thread: RE: DTSRun Call from Unix
- Index(es):
Relevant Pages
|