Participant
5 years, 5 months ago
#5732
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