I would like to execute a script from a DO_CMD in a ctmfw rules file. Is there a way to pass a success /failure code back the the ctmfw job so the job block will turn red (fail) if the script fails?
If there is a crash in the commandfile,
you can look for the errorlevel.
To example: if not errorlevel 0 goto error
.
.
and send a returncode :error
"C:\Programme\BMC Software\CONTROL-M Agent\Default\EXE\_exit.exe" 5
exit