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!

No File notification

Status
Not open for further replies.

balistikb

Technical User
Nov 12, 2002
177
US
In my DTS I want to schedule an import of a text file to a table in SQL. I already have this and it works great. What I would like is to get an email letting me know when there isn't a file to import. I tried attaching a send email task to the transformation but that didn't work. Any ideas?
 
Here's an article that discussing checking for file existence. Basically, you will need an ActiveX script to check for file existence, and fail if it doesn't exist or succeed if it does. Then use an On Success workflow to tie the ActiveX script to the import step and an On Failure workflow to tie to an Email task. Good luck!




--John [rainbow]
-----------------------------------
Behold! As a wild ass in the desert
go forth I to do my work.
--Gurnie Hallock (Dune)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top