Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Having Problem in Running DTS from Query analyzer using Global Variabl

Status
Not open for further replies.

brijeshs

IS-IT--Management
Apr 7, 2003
1
US
My Requirement :
--Transffer data from XL to SQL.
-- Want to change connection of xl file dynamically with different name
Trying :
-- I have created one xl conn, one sql connection in DTS.
-- Created one global variable "Source File" as string data type
-- Gave some file path value to global variable
-- Now i changed Data source of Xl to global variable
-- So the sequence is first dynamic property task will run and then data transfer between file and sql.
-- Now if i run this dts from another dts passing different value of file name using inner package global variable then it runs fine.
Perfect. But still this is a manual operation to change file name in Inner package variable.
-- so i was trying to run DTS from query analzer using xp_cmdshell and want to pass global variable....
but getting error.
i am running
---exec xp_cmdshell "DTSRun /S UWSTAGE /U test /P test897 /N test_U_list /A SourceFile: 8 = C:\test\5240-Silvercrest Extended Care Facility-.xls"
its giving me this kind of error sequence ''''''''''''''
==========================================
DTSRun: Loading...
DTSRun: Executing...
DTSRun OnStart: DTSStep_DTSDynamicPropertiesTask_1
DTSRun OnFinish: DTSStep_DTSDynamicPropertiesTask_1
DTSRun OnStart: DTSStep_DTSDataPumpTask_1
DTSRun OnError: DTSStep_DTSDataPumpTask_1, Error = -2147467259 (80004005)
Error string: Failure creating file.
Error source: Microsoft JET Database Engine
Help file:
Help context: 5003436

Error Detail Records:

Error: -2147467259 (80004005); Provider Error: -329978796 (EC54EC54)
Error string: Failure creating file.
Error source: Microsoft JET Database Engine
Help file:
Help context: 5003436
===========================================
Thanks in Advance.
Brijesh Shah


rgds,
Brijesh Shah
Database Specialist
@IS-SEIU1199
@212-603-1759
 
I am having the same issue. If you have resolved this issue I would like to know how. Otherwise, is the file you are looking for on a Novell server?

Thanks,
Big Johnson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top