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
You voted 5. Total votes: 1034

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

You voted 4. Total votes: 1037