dbTalk Databases Forums  

ActiveXScript Exit Gracefully when file not found?

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


Discuss ActiveXScript Exit Gracefully when file not found? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JDP@Work
 
Posts: n/a

Default ActiveXScript Exit Gracefully when file not found? - 11-10-2005 , 12:55 PM






If a file to import is not found I'd like to set the status to something other
than Success or Failure?

Id like to be able to branch to an error handler that will just exit the Pk
gracefully.

Or, perhaps there is a way to skip other steps?

TIA

JeffP....




Reply With Quote
  #2  
Old   
Alex Prints
 
Posts: n/a

Default RE: ActiveXScript Exit Gracefully when file not found? - 11-10-2005 , 01:01 PM






Jeff,

I found this article very helpful in determining if file exists or not and
also what to do next...

http://www.sqldts.com/default.aspx?211

Regards,
Alex,

"JDP@Work" wrote:

Quote:
If a file to import is not found I'd like to set the status to something other
than Success or Failure?

Id like to be able to branch to an error handler that will just exit the Pk
gracefully.

Or, perhaps there is a way to skip other steps?

TIA

JeffP....





Reply With Quote
  #3  
Old   
JDP@Work
 
Posts: n/a

Default Re: ActiveXScript Exit Gracefully when file not found? - 11-10-2005 , 02:16 PM



Alex,

Thanks, I found the same article in this NG, but I posted it to my prev. related
Q.

JeffP....

"Alex Prints" <AlexPrints (AT) discussions (DOT) microsoft.com> wrote

Quote:
Jeff,

I found this article very helpful in determining if file exists or not and
also what to do next...

http://www.sqldts.com/default.aspx?211

Regards,
Alex,

"JDP@Work" wrote:

If a file to import is not found I'd like to set the status to something
other
than Success or Failure?

Id like to be able to branch to an error handler that will just exit the Pk
gracefully.

Or, perhaps there is a way to skip other steps?

TIA

JeffP....







Reply With Quote
  #4  
Old   
Darren Green
 
Posts: n/a

Default Re: ActiveXScript Exit Gracefully when file not found? - 11-10-2005 , 03:42 PM



Skipping tasks is also covered -

Skip the execution of an individual Task
(http://www.sqldts.com/default.aspx?214)


JDP@Work wrote:
Quote:
Alex,

Thanks, I found the same article in this NG, but I posted it to my prev. related
Q.

JeffP....

"Alex Prints" <AlexPrints (AT) discussions (DOT) microsoft.com> wrote in message
news:6892F258-779E-4A0A-9192-56327EE1F834 (AT) microsoft (DOT) com...

Jeff,

I found this article very helpful in determining if file exists or not and
also what to do next...

http://www.sqldts.com/default.aspx?211

Regards,
Alex,

"JDP@Work" wrote:


If a file to import is not found I'd like to set the status to something

other

than Success or Failure?

Id like to be able to branch to an error handler that will just exit the Pk
gracefully.

Or, perhaps there is a way to skip other steps?

TIA

JeffP....








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.