Using Record Locking API’s [C BSFN]

Record Locking Mechanism

Courtesy ZOSOMAZ

Record locking is a basic functionality of an RDBMS. This is how we do it within JDE in business functions.

The API’s used for the cause are

  1. JDB_FetchKeyedForUpdate
  2. JDB_SelectKeyedForUpdate
  3. JDB_FetchForUpdate
  4. JDB_UpdateCurrent

As is very simple to use, given are the parameters with comments.

Download the following  files to view it in action.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>