Hi,
So is the only way to error trap to pass correct exit codes to a scheduling tool like Autosys or Control M to look for the .log file in the directory where the script is executed from?
If I echo %errorlevel% after each epmautomate command it's not changing to valid error level.
In the example below I forced it to error so it exits with a exit code of 1 and Autosys will recognize failure and it did. Just curious if this is really my only option or is there an alternative to %errorlevel% ? I know we can turn on Job Console notifications via email too, but that won't suffice for jobs running in middle of night.
