Table of Contents

Search

  1. Abstract
  2. Supported Versions
  3. Writing Custom Scripts to Run Batch Jobs

Writing Custom Scripts to Execute Batch Jobs

Writing Custom Scripts to Execute Batch Jobs

Committing Unmerge Transactions After Error Checking

Committing Unmerge Transactions After Error Checking

The Unmerge stored procedure is transaction-enabled and can be rolled back if an error occurs during execution.
After calling the Unmerge, check the return code (OUT_RETURN_CODE) in your error handling.
  • If any failure occurred during execution (OUT_RETURN_CODE <> 0),
    immediately
    roll back any changes. Wait until
    after
    you have successfully rolled back the unmerge changes before you invoke Unmerge again.
  • If no failure occurred during execution (OUT_RETURN_CODE = 0),
    commit
    any unmerge changes.

0 COMMENTS

We’d like to hear from you!