Sets or returns information about ASE Replicator configuration parameters.
sp_configrep [param [, value]]
The name of an ASE Replicator configuration parameter.
Table 4-4 lists all ASE Replicator configuration parameters.
Some configuration parameters (indicated by an asterisk) cannot be changed with the sp_configrep procedure. These parameters must be specified on the aserep command line when the ASE Replicator process is started.
See “ASE Replicator configuration parameters” for more detailed information about these configuration parameters.
The value to which the configuration parameter (param) is set. Numeric values are treated as strings and must be enclosed in quotes.
sp_configrep log_wrap, "10"
Sets the ASE Replicator log_wrap configuration parameter to the value 10.
When listing information about configuration parameters, the following result set is returned:
When sp_configrep is invoked with no parameter (param) specified, it returns a list of all ASE Replicator configuration parameters, with information for each parameter.
When sp_configrep is invoked with a parameter (param) specified, but no value (value), it returns information for the specified parameter.
When sp_configrep is invoked with both a parameter (param) and value (value) specified, it sets the specified parameter to the specified value.
When you change the value of a dynamic parameter, the change occurs immediately after you invoke sp_configrep. To change the value of a static parameter, you must shut down and restart the ASE Replicator process after you set the value.
When the requested action occurs successfully, no results are returned.
When an error occurs, an error message is returned.
sp_configprimaryconn, sp_configreplicateconn, sp_helprep
Copyright © 2005. Sybase Inc. All rights reserved. |
![]() |