sp_tracerep

Description

Turns ASE Replicator trace flags on or off, lists all ASE Replicator trace flags and their status.

Syntax

sp_tracerep [flag|all_flags [, {true|false}]]

Parameters

flag

is the name of an ASE Replicator trace flag.

Table 4-36 lists all the ASE Replicator trace flags:

Table 4-36: ASE Replicator trace flags

Flag

Type

Description

BMGRTRACE

TRACE

Bean Management trace events.

CONNTRC

TRACE

Traces ASE Replicator connection management.

DDBLOGTRC

TRACE

Trace Distribution Database transaction log operations.

DDBLRTRC

TRACE

Trace Distribution Database transaction log reader operations.

DISTTRC

TRACE

Trace distribution activities.

ERROR

SYSTEM

Serious error. Manual intervention may be required for recovery.

FATAL

SYSTEM

Critical error. The system cannot function without manual intervention.

INFORMATION

SYSTEM

Important information. No action required.

LATRC

TRACE

Trace DDBAdmin events.

LATRCSQL

TRACE

Trace DDBAdmin SQL execution.

LOBTRACE

TRACE

Trace LOB Replication activities.

LRTRACE

TRACE

Trace transaction log reader operations.

LWTRACE

TRACE

Trace distribution log write operations.

RACONTRC

TRACE

Traces connection and query execution.

RACONTRCSQL

TRACE

Traces SQL statements to be executed.

RPLTRC

TRACE

Provides general ASE Replicator trace information.

STATTRC

TRACE

Trace statistics operation.

SUBPROCTRC

TRACE

Trace subscription processor operations.

WARNING

SYSTEM

The system has suffered a minor problem. Functionality is not affected or problem is recoverable.

all_flags

is a keyword that indicates that all trace flags should be turned on or off.

true

is a keyword that indicates that the trace flag should be turned on.

false

is a keyword that indicates that the trace flag should be turned off.

Examples

Example 1

sp_tracerep LATRC

Returns information about the ASE Replicator LATRC trace flag.

Example 2

sp_tracerep LATRC, true

Turns on tracing for the ASE Replicator LATRC trace flag.

Example 3

sp_tracerep all_flags, true

Turns on tracing for all ASE Replicator trace flags.

Usage

See also

sp_helpqueue, sp_helpreperrors