Need help with setting exit/return code when running replication in batch mode
You can enable return code by adding below code in the run.bat script, %JAVA_HOME%binjava -Xmx1024m -Dinstance=%1 -Dconfig.dir=%CONFIG_DIR% -Dsystem.dir=%SYSTEM_DIR% -DconsoleExitCode=true -DorgId=1 -Dconfig.file.type=2 -classpath .;%CR%/*; com.dbsync.salesforce.dbsynch.Driver %2 %3 %4 %5 %6 %7
set ExitCode=%ERRORLEVEL%
echo %ExitCode%
Follow the link for complete guide on the same, http://help.mydbsync.com/docs/display/CloudReplication6/Batch+Mode
You must be logged in to reply to this topic.