Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning value of Console App to calling DTS Script
Message
From
29/01/2007 11:57:06
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Databases
Title:
Returning value of Console App to calling DTS Script
Environment versions
Environment:
VB.NET 1.1
Miscellaneous
Thread ID:
01190147
Message ID:
01190147
Views:
71
I created a console application that does some work and then the Function Main returns a -1 if an error occured or a 1 if the work completed successfully.

Step 2 is going to be creating a SQL Server DTS script to call this console app and send an email if the process did not complete successfully.

How can I return the 1 or -1 back to the DTS script? For some reason in my mind I had the notion to create a batch file that called this console app, and have the DTS script call that batch file, but I am pretty sure this would not be necessary.

Any advice out there in UT land?
Very fitting: http://xkcd.com/386/
Reply
Map
View

Click here to load this message in the networking platform