Turns ASE Replicator trace flags on or off, and lists all ASE Replicator trace flags and their status.
sp_tracerep [flag|all_flags [, {true|false}]]
The name of an ASE Replicator trace flag.
Table 4-34 lists all the ASE Replicator trace flags:
The keyword that indicates that all trace flags should be turned on or off.
The keyword that indicates that the trace flag should be turned on.
The keyword that indicates that the trace flag should be turned off.
sp_tracerep LATRC
Returns information about the ASE Replicator LATRC trace flag.
sp_tracerep LATRC, true
Turns on tracing for the ASE Replicator LATRC trace flag.
sp_tracerep all_flags, true
Turns on tracing for all ASE Replicator trace flags.
When listing information about ASE Replicator trace flags, the following result set is returned:
When sp_tracerep is invoked without specifying an ASE Replicator trace flag (flag), it returns information about all ASE Replicator trace flags.
When sp_tracerep is invoked with an ASE Replicator trace flag (flag), it returns information about the specified trace flag.
When sp_tracerep is invoked with an ASE Replicator trace flag (flag) and a keyword (true or false), it sets the specified trace flag to the value specified.
Trace flags listed in Table 4-34 as SYSTEM flags cannot be turned off.
When sp_tracerep changes the specified ASE Replicator trace flag setting, no results are returned.
When an error occurs, an error message is returned.
sp_helpqueue, sp_helpreperrors
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |