EPMAUTOMATE exit error query
Summary:
Hi all
We would like to generate an error code number specific for a task. We want EPMAutomate to delete the latest snapshot downloaded from the server to a local drive when it reached to maximum space available., but we are not sure how to force a new exit code in EPMautomate, when I see that it has already predefined ones.
Here is what we want:
-------------------------------------------------------------------------------------
:Downloadfile of the Snapshot
call epmautomate downloadfile "test01" >> %logpath2%
IF %ERRORLEVEL% NEQ 0 (
ECHO %ERRORLEVEL% >> %logpath2%
) ELSE ( ECHO La descarga se ha ejecutado correctamente) >> %logpath2%
::IF %ERRORLEVEL% EQU xxxx (GOTO ELIMINATE
::)
::ELSE Logout