dbTalk Databases Forums  

how do i get the return code form a process started with a CreateProcesTask

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


Discuss how do i get the return code form a process started with a CreateProcesTask in the microsoft.public.sqlserver.dts forum.



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

Default how do i get the return code form a process started with a CreateProcesTask - 03-14-2006 , 07:46 AM






I would to log the result of an exe in the database with the startup
parameters. not using the standard logging of DTS. for this purpuse i
want to catch the value found in the log

here is the result after the exe fails coppied from the log file

Step Error Source: Microsoft Data Transformation Services (DTS) Package
Step Error Description:CreateProcessTask
'DTSTask_DTSCreateProcessTask_1': Process returned code 2, which does
not match the specified SuccessReturnCode of 0.
Step Error code: 80040496
Step Error Help File:sqldts80.hlp
Step Error Help Context ID:4900

wich property of the DTSCreateProcessTask_1 contains the return code?


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.