Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 26th, 2004, 05:38 PM
Registered User
 
Join Date: Jul 2004
Location: Cary, NC, .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error Trapping Steps

Hi-

I have a DTS package that as part of the package executes a dos batch file for stopping a windows service. I want to be able to check the return code from that step of the packge and see what it says (1,0 etc), if it is 0 great my package can go on to the next step, if it is something else, like 1, I don't want the whole package to fail, but it does right now. How can I work with Error Trapping or some business logic to make this package work better for me?

  #2 (permalink)  
Old July 26th, 2004, 06:59 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You can check the step status through code, using the SQL Server DTS library, however, this is more involved. However, if you use success or failure workflow steps, you can route an error through a specific "channel", so to speak.

Brian
 


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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running failed steps carumuga SQL Server 2000 3 June 12th, 2008 09:49 AM
ASP Error Trapping and Reporting kevorkian Classic ASP Basics 3 June 2nd, 2007 03:08 PM
error trapping majones@omaha Classic ASP Basics 0 January 5th, 2006 02:02 PM
Trapping Application Events ERROR MagicTH Excel VBA 1 August 14th, 2005 02:23 PM
Need some error trapping... cpk Classic ASP Databases 4 January 26th, 2005 08:10 AM



All times are GMT -4. The time now is 05:43 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.