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 subscription set in the following manner:

  1. ASNCOPY calls the Capture program. The Capture program stops when it captures all of 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 exit routine, 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 exit routine, 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 stops.


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

[ DB2 List of Books | Search the DB2 Books ]