It is currently 21 Nov 2018 9:16


Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 01 Nov 2013 10:04 
Offline
Nouveau
Nouveau
User avatar

Joined: 12 Dec 2011 12:00
Posts: 3
Hi,

Do you know if it is possible to set up ON Statement - where Code will be NOT EQUAL to some string then do email?
I want to catch the case when some *STRING* is missing in SYSOUT.
I tried to find any solution in manuals and on forums, but I was not successful.

On
Statement *
Code not qual to *STRING*

Do
Mail

Thanks for your help in advance!


Top
   
 Post subject:
PostPosted: 08 Nov 2013 3:29 
Offline
Nouveau
Nouveau
User avatar

Joined: 05 Oct 2012 12:00
Posts: 3
I'm not sure if you can check for string value. But as a workaround I would have my logic (if not = string) outside Control-M. i.e. have your logic in the code that is executed by Control-M (e.g. shell script, command file, etc). Within this code set COMPSTAT to some value.
Ex.
IF String <> "THIS"
COMPSTAT = 1
Else
if String = "THAT"
then COMPSTAT = 2
etc...

Then within Control-M, simply check the value of COMPSTAT.
On
Statement *
COMPSTAT = 1
Do
Mail

*Need more info about what OS you are running.


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 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