dbTalk Databases Forums  

File Create by DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss File Create by DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
DXC
 
Posts: n/a

Default File Create by DTS - 09-06-2005 , 08:23 AM






Is there a way that I can create a text file as the last step in the DTS
package that reads 'The extract was successful' ?. Is there a activeX or VB
code that can do this ? If so, can someone help me with code ?

Thanks in advance.


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: File Create by DTS - 09-06-2005 , 01:11 PM






Simply use an Active Script task and the FileSystemObject

Something like this

http://msdn.microsoft.com/library/de...filesystem.asp

Allan

"DXC" <DXC (AT) discussions (DOT) microsoft.com> wrote


Quote:
Is there a way that I can create a text file as the last step in the DTS
package that reads 'The extract was successful' ?. Is there a activeX
or VB
code that can do this ? If so, can someone help me with code ?

Thanks in advance.


Reply With Quote
  #3  
Old   
DXC
 
Posts: n/a

Default Re: File Create by DTS - 09-07-2005 , 08:50 AM



That did it...............Thanks........



"Allan Mitchell" wrote:

Quote:
Simply use an Active Script task and the FileSystemObject

Something like this

http://msdn.microsoft.com/library/de...filesystem.asp

Allan

"DXC" <DXC (AT) discussions (DOT) microsoft.com> wrote in message
news:0AE13581-057E-4239-BC19-1118C63E1B3B (AT) microsoft (DOT) com:

Is there a way that I can create a text file as the last step in the DTS
package that reads 'The extract was successful' ?. Is there a activeX
or VB
code that can do this ? If so, can someone help me with code ?

Thanks in advance.



Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: File Create by DTS - 09-07-2005 , 01:31 PM



No worries



"DXC" <DXC (AT) discussions (DOT) microsoft.com> wrote


Quote:
That did it...............Thanks........



"Allan Mitchell" wrote:


Simply use an Active Script task and the FileSystemObject

Something like this


http://msdn.microsoft.com/library/de.../en-us/script5
6/html/jsobjfilesystem.asp

Allan

"DXC" <DXC (AT) discussions (DOT) microsoft.com> wrote in message
news:0AE13581-057E-4239-BC19-1118C63E1B3B (AT) microsoft (DOT) com:


Is there a way that I can create a text file as the last step in the
DTS
package that reads 'The extract was successful' ?. Is there a
activeX
or VB
code that can do this ? If so, can someone help me with code ?

Thanks in advance.





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.