synchronous update

Upload: palsign

Post on 02-Jun-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Synchronous Update

    1/3

    SynchronousUpdate

    In synchronousupdate, you do not submit an update request using CALL FUNCTION... INUPAT! TA"#. Instead, you use the A$AP statement CO%%IT &O'# AN &AIT. &hen theupdate is (inished, contro) passes bac* to the program. "ynchronousupdate +or*s in the same

    +ay as bund)ing update requests in a subroutine P!'FO'% ON CO%%IT-. This *ind o( updateis use(u) +hen you +ant to use both asynchronous and synchronousprocessing +ithout haing toprogram the bund)es in t+o separate +ays. The (o))o+ing diagram i))ustrates the synchronousupdate process/

    Use this type o( update +heneer the changed data is required immediate)y. For e0amp)e, youmay +ant to )in* "AP LU&s together +here one LU& depends on the resu)ts o( the preious

    one.

    Update Techniques

    The main update technique (or bund)ing database changes in a sing)e database LU& is to useCALL FUNCTION... IN UPAT! TA"#. This section describes arious +ays o( updating thedatabase.

    A program can send an update request using CO%%IT &O'#

    To the update +or* process, +here it is processed asynchronous)y. The program does

    not +ait (or the +or* process to (inish the update

    Asynchronous Update-.

    For asynchronous processing in t+o steps Updating Asynchronous)y in "teps.-

    To the update +or* process, +here it is processed synchronous)y. The program +aits (or

    the +or* process to (inish the update

    "ynchronous Update-.

    To its o+n +or* process )oca))y. In this case, o( course, the program has to +ait unti) the

    update is (inished Loca) Update.-

    http://417af4cea79e11d1950f0000e82de14a/content.htmhttp://417af4cea79e11d1950f0000e82de14a/content.htmhttp://417af4d1a79e11d1950f0000e82de14a/content.htmhttp://417af4d1a79e11d1950f0000e82de14a/content.htmhttp://417af4d4a79e11d1950f0000e82de14a/content.htmhttp://417af4d4a79e11d1950f0000e82de14a/content.htmhttp://417af4d7a79e11d1950f0000e82de14a/content.htmhttp://locate.click%28%29/http://locate.click%28%29/http://417af4cea79e11d1950f0000e82de14a/content.htmhttp://417af4d1a79e11d1950f0000e82de14a/content.htmhttp://417af4d4a79e11d1950f0000e82de14a/content.htmhttp://417af4d7a79e11d1950f0000e82de14a/content.htm
  • 8/10/2019 Synchronous Update

    2/3

    AsynchronousUpdate

    A typica) '12 insta))ation contains dia)og +or* processes and at )east one update +or* process.The update +or* processes are responsib)e (or updating the database. &hen an A$AP programreaches a CO%%IT &O'# statement, any (unction modu)es (rom CALL FUNCTION... IN

    UPAT! TA"# statements are re)eased (or processing in an update +or* process. The dia)ogprocess does not +ait (or the update to (inish. This *ind o( update is ca))ed asynchronousupdate.

    The (o))o+ing diagram sho+s a typica) asynchronousupdate/

    http://locate.click%28%29/
  • 8/10/2019 Synchronous Update

    3/3