I have a Control-M job that calls a python script. The python script contains a function that returns True or False.
Is it possible to make the job to fail when the function returns False?
I have to use a shell scrip for this? If yes how should i create it?
Thank you
Return a non-zero value -- i.e. call sys.exit(1)
when function returns False
, and sys.exit(0)
otherwise.