The Capture program has a trace table, a log file, and trace file generated when the trace invocation parameter is used to start the Capture program.
The trace control table is located in source server databases where the Capture program maintains change tables for replication sources. The trace control table, ASN.IBMSNAP_TRACE, contains basic information about the activities of the Capture program instance. For a description of the ASN.IBMSNAP_TRACE table, see Chapter 19. Table Structures.
You can query the ASN.IBMSNAP_TRACE table with normal SQL (such as SELECT) or query tools. For example:
SELECT * FROM ASN.IBMSNAP_TRACE
The Capture program can be started with the trace invocation parameter. This parameter specifies that problem determination records be recorded in standard output to the screen or to a file, which contains the Capture program internal logic flows. When starting the Capture program, on workstation systems, precede the output file name with a pipe symbol (>).
To start the Capture program with trace on a workstation system:
\CAPTURE>asnccp mysrcdb x x trace > cap.trc
Where:
The trace file is located in the same directory from which the Capture program is started.
The Capture program creates a log file, named by the source database that is specified when the Capture program is started; the file extension is *.CCP. If the Capture program is started with asnccp mysrcdb, the log file is named mysrcdb.ccp. The Capture Program log file is located in the same directory from which the Capture program is started.