cdr add onconfig

The cdr add onconfig command adds one or more values to a configuration parameter in the ONCONFIG file.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-cdr add onconfig--+--------------------------+--------------->
                     |                      (1) |   
                     '-| Connect Option   |-----'   

>--“--parameter name--value--“---------------------------------><

Notes:
  1. See Connect Option.
Element Purpose Restrictions Syntax
parameter name The name of the configuration parameter to set. You can add values to the following Enterprise Replication configuration parameters:
  • CDR_LOG_LAG_ACTION
  • CDR_LOG_STAGING_MAXSIZE
  • CDR_QDATA_SBSPACE
  • CDR_SUPPRESS_ATSRISWARN
  • ENCRYPT_MAC
  • ENCRYPT_MACFILE
  • CDR_ENV:
    • CDRSITES_731
    • CDRSITES_92X
    • CDRSITES_10X
 
value The value of the configuration parameter. Must be a valid value for the configuration parameter. Follows the syntax rules for the specific configuration parameter.

Usage

Use the cdr add onconfig command to add one or more values to an Enterprise Replication configuration parameter while replication is active. The ONCONFIG file is updated. You can set 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

The following example adds an sbspace to the existing list of sbspaces for holding spooled transaction row data:
cdr add onconfig "CDR_QDATA_SBSPACE sbspace_11"

The following example adds the cdrIDs for two version 7.x servers to the existing list of servers:

cdr add onconfig "CDR_ENV CDRSITES_731=1,3"

Copyright© 2021 HCL Technologies Limited