Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Error Trapping EPM Automate for scheduling tool

User_XUC2IMay 28 2019 — edited Jun 4 2019

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.

pastedImage_1.png

Comments