sp_configprimaryconn

Description

Sets or returns information about primary connection configuration parameters.

Syntax

sp_configprimaryconn conn_name [, param [, value]]

Parameters

conn_name

is the name of a primary database connection. Connection names must be specified in the form ds.db, where:

param

is the name of an ASE Replicator connection configuration parameter.

Table 4-2 lists ASE Replicator primary connection configuration parameters:

Table 4-2: Primary connection configuration parameters

Parameter

Description

gen_id

Database generation ID (first two bytes in the connection’s locator value)

lti_version

Log scan protocol version number

mode

Scan mode for the primary database log

numrecs

Maximum number of records returned by each log scan

queue_size

Maximum number of log operations kept in an internal queue

scan_sleep_increment

Number of seconds sleep time increases between empty log scans

scan_sleep_max

Maximum number of seconds between log scans

timeout

Number of seconds to block if the end of the log is reached before the maximum number of records (numrecs) are read

See “Connection configuration parameters” for more detailed information about these connection configuration parameters.

value

is the value to which the configuration parameter (param) is set. Numeric values are treated as strings and must be enclosed in quotes.

Examples

Example 1

sp_configprimaryconn "boulder.doc", timeout, "30"

Sets the value of the timeout configuration parameter to 30 for the primary connection to the database doc on the data server boulder.

Usage

See also

sp_addprimaryconn, sp_dropprimaryconn, sp_helpprimaryconn