Uninstalling the CDC Replication Engine for Db2® for i

You can use CDC Replication commands to uninstall a CDC Replication engine.

Before you can uninstall CDC Replication, you need to:

  • Sign on with a user profile that has specific authorities
  • End CDC Replication replication
  • End all Online CDC Replication activities
  • End journaling. To end journaling, issue the following command:
    ENDJRNPF FILE(*ALL) JRN(<library>/DMCJRN)

    where <library> is the CDC Replication product library.

  1. Ensure that you are in the CDC Replication product library. You can issue the following command:
    CHGCURLIB CURLIB(<library>)

    where <library> is the CDC Replication product library.

  2. To run the uninstall program, issue the following command:
    ?UNINSTALL

    After issuing the command, identify the CDC Replication installation that you want to remove by specifying the product and tutorial library names.

  3. Press Enter to continue.
  4. Press Enter to uninstall CDC Replication.
Note: If you had specified the name of an Independent Auxiliary Storage Pool (IASP) device during the installation, then the installation program automatically creates the work library on the system ASP of the machine that is connected to the IASP device. You must manually delete the work library.

After uninstalling CDC Replication, you should remove the ‘dmirror' service and the port number you allocated.