Mark a primary table for replication

Mark the test primary table (rax_test) that was created in the primary database in the DB2 Universal Database server by the udb_create_test_primary_table.sql script.

StepsTo mark the test primary table for replication

  1. Use isql or another query processor to log in to the Replication Agent administration port.

  2. Use the following command to mark the rax_test table for replication.

    pdb_setreptable rax_test, mark
    

See “Marking objects in the primary database” for more information.

NoteMake sure that replication is enabled for the rax_test table. See “Enabling and disabling replication for marked tables” for more information.