How to fail Control-M job with exception thrown from OSQL
Posted: 24 Jan 2014 11:25
We created a Control-M with OSQL and expect when the script through an SQL exception it can fail the Control-M, but it does not. The job is still green at the finish and the exception does show up in SYSOUT.
Is there a way the OSQL script is written, when raiseError it can fail/red the job?
Is there a way the OSQL script is written, when raiseError it can fail/red the job?