2 posts / 0 new
Last post
Need help with configuring return code
Need help with setting exit/return code when running replication in batch mode
Total votes: 50

You can enable return code by adding below code in the run.bat script,
%JAVA_HOME%\bin\java -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

Total votes: 57