You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Batch Script to generate Error/Success Log for EPM Automate

Received Response
13
Views
2
Comments
edited Apr 28, 2021 12:13PM in Account Reconciliation 2 comments

Content

I am trying to generate  Error/Success Log using the ERRORLEVEL of each EPM Automate Command ;

call epmautomate runAutomatch AWS_Trans_CriteriaSet_2

IF %ERRORLEVEL% EQU 0 (Echo runAutomatch completed Successfully for Match type AWS_Trans_CriteriaSet_2 at %time:~0,2%:%time:~3,2% hours >>%SuccessLog%) ELSE (Echo runAutomatch for Match type AWS_Trans_CriteriaSet_2 Failed at %time:~0,2%:%time:~3,2% hours >>%ErrorLog%) .

The ERRORLEVEL for this Command is 1 , however it is plotting as Successfully executed  in the Success Log File. 

Need urgent assistance.

 

Thanks,

Princess

Version

ARCS 21.04.62

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!