cdr change onconfig

The cdr change onconfig command replaces the existing value of a configuration parameter with a new value in the ONCONFIG file.

Syntax


1  cdr change onconfig?  %Connect Option  (1)  “ parameter name value
Notes:
Element Purpose Restrictions Syntax
parameter name The name of the configuration parameter to change. None. All Enterprise Replication configuration parameters and environment variables can be changed with this command.
value The value of the configuration parameter. Must be a valid value for the configuration parameter. Follows syntax rules for the specific configuration parameter.

Usage

Use the cdr change onconfig command to replace the existing value of an Enterprise Replication configuration parameter with a new value in the ONCONFIG file. You can set Enterprise Replication environment variables by using the CDR_ENV configuration parameter.

You can run this command from within an SQL statement by using the SQL administration API.

Examples

Suppose the CDR_SUPPRESS_ATSRISWARN configuration parameter is set to suppress the generation of error and warning messages 1, 2, and 10, so that it appears in the ONCONFIG file as: CDR_SUPPRESS_ATSRISWARN 1,2,10. The following command changes the suppressed error and warning messages to 2, 3, 4, 5, and 7:
cdr change onconfig "CDR_SUPPRESS_ATSRISWARN 2-5,7"
Suppose the CDR_RMSCALEFACT environment variable is set to the value of 4. The following example sets the number of data sync threads started for each CPU VP to 3:
cdr change onconfig "CDR_ENV CDR_RMSCALEFACT=3"