SQL 2008 - 2012
I have multiple Jobs that run on a schedule. Sometimes the jobs exec a tsql script and other jobs it executes an SSIS package. It does not seem to matter which. When a job fails, the job continues to execute sometimes for 20 minutes before stopping and then displaying the error message and information. I try to TRY CATCH most errors but sometimes System error is thrown and the job continues to execute. I have some critical sections of code that I do not want a soon to fail job to continue to execute.
Is there a way to know that an error has been throw? These jobs have lots of seperate batches (GO statements).