Show TOC

Update TechniquesLocate this document in the navigation structure

The main update technique for bundling database changes in a single database LUW is to use CALL FUNCTION ... IN UPDATE TASK. This section describes various ways of updating the database.

A program can send an update request using COMMIT WORK

  • To the update work process, where it is processed asynchronously. The program does not wait for the work process to finish the update ( Asynchronous Update ).
  • For asynchronous processing in two steps ( Updating Asynchronously in Steps .)
  • To the update work process, where it is processed synchronously. The program waits for the work process to finish the update ( Synchronous Update ).
  • To its own work process locally. In this case, of course, the program has to wait until the update is finished ( Local Update .)