It is currently 17 Aug 2018 6:33


Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 24 Jan 2014 11:25 
Offline
Nouveau
Nouveau
User avatar

Joined: 24 Jan 2014 12:00
Posts: 1
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?


Top
   
 Post subject:
PostPosted: 27 Jan 2014 5:39 
Offline
Nouveau
Nouveau
User avatar

Joined: 21 Sep 2013 12:00
Posts: 48
hello,

I am not sure about OSQL , but i would suggest that u can mention in the step tab that when it finds any exception then it fails.


somethin like
On stmt = * code = exception*
Do NOTOK

_________________
Anirudh


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited
The site created by Franck YOT. Images, logo, content and trademarks about Control-M products are property of BMC Software.
All the comments are property of their posters. Images, logo, content and design are © copyright by Scheduler-Usage.com. All Rights Reserved