Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 DTS Pkg- Data Pump Task.

Author  Topic 

ramdas
Posting Yak Master

181 Posts

Posted - 2003-03-04 : 20:59:13
Hi Folks,
DTS Package Consists
Text file Source
Data Pump Task
SQL Server Connection
ActivexScript Task.(To loop through Files).

I have a DTS package which pulls data from text files into a SQL Server DB table. The text files are present in different folders. I loop through using the activexscript to traverse the different folders and assign the text file connection to point to the next text file.
When text file size of 0 bytes is encontered, how do I disable the Datapump task to prevent it trying to load data from 0 bytes file. I am using the looping example provided in SQLDTS.com site. Is there a way to disable the datapump task. Right now I get a error and the package stops.

Thank you
Bye
Ramdas

Ramdas Narayanan
SQL Server DBA

ValterBorges
Master Smack Fu Yak Hacker

1429 Posts

Posted - 2003-03-04 : 21:43:18
How about.
http://www.sqldts.com/default.aspx?6,103,214,7,1

Go to Top of Page
   

- Advertisement -