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.
|