Link to home
Start Free TrialLog in
Avatar of yukund
yukund

asked on

run DTS Package in Ms SQL Query Analyzer

I'm trying to run DTS package to transform data from AS400/DB2 via Client Access ODBC ( Ms Windows 2000 Server, Ms SQL 2K, Client Access Driver 4.5)

but the result of testing has messed me up

because when i used this command via SQL Query Analyzer

exec master..xp_cmdshell 'DTSRun /S "MySVR" /U "sa" /N "dtsTEST" /G "{482209FD-0891-11D8-868C-00E0299B4BCF}" /A "G1":"8"="20031001" /W "0"'

--it doesn't work--


I wonder why??.. because it can be executed in MS-Dos prompt successfully.

if I type

DTSRun /S "MySVR" /U "sa" /N "dtsTEST" /G "{482209FD-0891-11D8-868C-00E0299B4BCF}" /A "G1":"8"="20031001" /W "0"

in the command line. The data comes from AS400 into MsSQL Server correctly.


If somebody can help, please give me some advices (urgent!!).

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of namasi_navaretnam
namasi_navaretnam
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial