Db2 Mirror exit points

Exit points for Db2® Mirror actions provide application developers with a programmatic solution for important changes in Db2 Mirror.

The preclone and postclone exit points provide a mechanism for application providers to automate actions that need to occur before or after a Db2 Mirror clone operation.

Start of changeThe software reclone exit point is called when synchronization is complete for a Db2 Mirror software reclone for SYSBAS or any database IASP.End of change

Start of changeThe role change exit point is called when a node changes from primary to secondary or vice versa. It can also be used to indicate the source of the role change.End of change

The replication state change exit point is called whenever the replication state changes between ACTIVE and TRACKING or ACTIVE and BLOCKED.

The replication detail change exit point is called whenever the replication state changes and also whenever the replication detail changes, for example between SYNCHRONIZING and REPLICATING.

Start of changeThe generic versioning exit point is called when a user supplied active version within the Mirror Version List (MVL) is changed. This exit point allows for the version entries to be refreshed with the most recent versions available.End of change

Table 1. Db2 Mirror exit points
Exit point Exit point format Description
QIBM_QMRDB_PRECLONE PREC0100 Db2 Mirror ASP preclone
QIBM_QMRDB_POSTCLONE PSTC0100 Db2 Mirror ASP post-clone
Start of changeQIBM_QMRDB_ROLE_CHGEnd of change Start of changeRCHG0100End of change Start of changeDb2 Mirror replication role changeEnd of change
Start of changeRCHG0200End of change
Start of changeQIBM_QMRDB_SOFTCLONEEnd of change Start of changeSFTC0100End of change Start of changeDb2 Mirror ASP post software recloneEnd of change
QIBM_QMRDB_STATE_CHG SCHG0100 Db2 Mirror replication state change
SCHG0200
Start of changeQIBM_QMRDB_VERSIONEnd of change Start of changeVERI0100End of change Start of changeDb2 Mirror generic versioningEnd of change

For complete details on these exit points, view Monitoring by using exit points.