I’m running an SSIS package from an external scheduler (Control-M), using dtexec. I’d like to provide different error codes to the scheduler based on which part of the package failed. Is there any way to set the return code of dtexec on package failure?
If not, does anyone know of another way to communicate a status back to the scheduler?
Thanks
It appears that the DTEXEC has a specific list of exit codes and cannot be set programatically from within a package. This information is from http://msdn.microsoft.com/en-us/library/ms162810.aspx
I would recommend using one of the many types of SSIS error logging on your package and then using another process to examine the logs in case of failure to determine where in the package your failure was.