Need help with configuring return code

  • sspack_21692
    Participant
    5 years ago #5467

    Need help with setting exit/return code when running replication in batch mode

    kishor.j_88
    Participant
    5 years 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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.