Using trace

The outbound queue for the replicate database contains default commands. If you have created function strings in addition to the defaults, you may want to use a special DSI trace flag to print the actual commands that are being sent to replicate databases.

To set traces, you need to run the debug replication server, repserver.diag, which should be located in the bin directory.

To set traces, add the following lines into the .cfg file of the Replication Server you want to trace.

  1. This line forwards the output to the standard output or to the errorlog:

    trace=GEN,TRC_STDERR or trace=GEN,TRC_ERRLOG
    
  2. This line gives the output of commands that are sent to the replicate site.

    trace=DSI,DSI_CMD_DUMP 
    

    It logs the commands in the form:

    Command sent to ‘RDS.RDB’ : command