i am trying to execute one batch file, (which contains only unexpected exit or we can say non zero exit i.e. EXIT -99 ...) using Data Migrator flow ...it should display me exit code and should say DMC flow fail as batch file return value is non zero ...so i putted code in DMC flow as below:
-DOS exit_bat.bat > exit_log.log
-TYPE exitreturn =:: &EXITRC
-IF &EXITRC EQ 0 GOTO :NEXT1 ELSE GOTO :ERROUT;
-TYPE EXECUTION COMPLETED
-SET &&CM__RETURN = 1;
exit_bat.bat file contains only
Can anyone help me out on this...
Thank you.This message has been edited. Last edited by: FP Mod Chuck,
Windows, All Outputs
To stop processing use
Please see the DMUG section "Reference: Control Variables" for details.
|Powered by Social Strata|