IBM Books

Replication Guide and Reference


Mobile Replication Processing Cycle

When the mobile replication enabler is invoked, the Capture and Apply programs replicate data as defined in the replication subscription in the following manner:

  1. ASNCOPY calls the Capture program. The Capture program stops when it has captured all the changes up to the time when it was called.

  2. ASNCOPY sets the value of the ACTIVATE column in the ASN.IBMSNAP_SUBS_SET table to 2, which requests an immediate copy.

  3. ASNCOPY calls the dial-up user exit program, if specified in the ASNDIAL environment variable.

  4. ASNCOPY calls the Apply program.

  5. The Apply program replicates all of the data sets that are marked for immediate replication. Replication is repeated if the sizes of the answer sets are regulated by MAX_SYNCH_MINUTES.

  6. The Apply program calls the disconnect user exit program, if specified in the ASNHANGUP environment variable, at the earliest opportunity to minimized the phone cost.

  7. ASNCOPY displays replication statistics from the information selected from the ASN.IBMSNAP_APPLYTRAIL table.

  8. ASNCOPY then stops.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]

[ DB2 List of Books | Search the DB2 Books ]