How to detect script execution failure

Target file

$HULFTSCRIPT_HOME/server/logs/exec.log

How to detect

If the file contains an error message, the script has failed to execute.

You can detect script execution failure by checking whether a message was output to the designated log file.