Professional Documents
Culture Documents
IBM
InfoSphere Change Data Capture
Version 6.5.0.2
Note
Before using this information and the product it supports, read the information in Notices on page 659.
Contents vii
To resolve conflicts for source row wins . . . 296 To park a table from replication . . . . . . 321
To resolve conflicts for target row wins . . . . 297 Changing the refresh order of tables . . . . . . 321
Resolving conflicts for largest or smallest value To change the refresh order of tables . . . . 322
wins . . . . . . . . . . . . . . . . 297 Changing the replication method of a table . . . 322
To resolve conflicts for largest value wins . . . 298 To change the replication method of a table . . 322
To resolve conflicts for smallest value wins . . 299 Selecting a new journal table . . . . . . . . 323
Resolving conflicts with user exits . . . . . . 299 To select a new journal table . . . . . . . 324
To resolve conflicts with user exit programs . . 300 Setting members for replication . . . . . . . 325
To select a member for replication . . . . . 325
Controlling row operations . . . . . 301 Changing the message destination . . . . . . 325
Suppressing the apply of row operations . . . . 301 To change the message destination of a table 325
To suppress an insert, update, or delete . . . 301
Preventing the audit of row operations . . . . . 302 Starting and ending replication. . . . 327
To prevent row operations from being audited 302 Starting mirroring . . . . . . . . . . . . 328
To audit only the after image . . . . . . . 302 To start continuous mirroring . . . . . . . 329
Detecting conflicts on row operations . . . . . 303 To start scheduled end (net-change) mirroring 329
To detect conflicts on row operations . . . . 303 Starting a refresh on a subscription . . . . . . 330
Enabling the apply of soft deletes (InfoSphere CDC To start a refresh . . . . . . . . . . . 332
for Oracle) . . . . . . . . . . . . . . 304 Ending replication . . . . . . . . . . . . 332
To enable InfoSphere CDC for Oracle to apply a To end replication . . . . . . . . . . . 333
soft delete . . . . . . . . . . . . . 304 Sending XML messages to a JMS message
destination . . . . . . . . . . . . . . 334
Customizing JMS message To send an XML message to a JMS message
destination mappings . . . . . . . . 305 destination or a staging target database. . . . 335
Creating an XML message . . . . . . . . . 305
To create an XML message . . . . . . . . 305 Setting notifications . . . . . . . . 337
Importing and exporting XML files, schemas, and Selecting a notification handler . . . . . . . 338
mapping projects . . . . . . . . . . . . 306 Choosing a notification category and a message
To import an XML, schema, or mapping type . . . . . . . . . . . . . . . . 339
definition file . . . . . . . . . . . . 307 Setting notifications for a datastore . . . . . . 340
To export an XML schema or mapping To set an e-mail (MAPI) notification . . . . . 340
definition file . . . . . . . . . . . . 307 To set an email (SMTP) notification . . . . . 341
Building an XPath expression . . . . . . . . 308 To set an e-mail notification (InfoSphere CDC
To build an XPath expression . . . . . . . 308 for Oracle) . . . . . . . . . . . . . 341
Querying columns from other tables. . . . . . 309 To set an e-mail notification . . . . . . . 342
To query columns from other tables . . . . . 309 To set a notification for the CHCPRINT spool
file . . . . . . . . . . . . . . . . 342
Setting JMS message header To set a notification for an operator system log 342
To set a notification for a UNIX system log . . 343
properties . . . . . . . . . . . . . 313 To set a notification using a user exit program 343
Defining the JMS message header . . . . . . 313 To set a notification using a user exit program 343
To add a JMS message header property . . . 313 To set a notification using a user exit program 344
To add a custom JMS message header property 314 To set a notification for a message queue . . . 344
To delete a custom JMS message header To filter a notification message . . . . . . 345
property . . . . . . . . . . . . . . 314 Setting notifications for a subscription . . . . . 345
Setting general runtime options . . . . . . . 315 To set notifications for a subscription . . . . 345
To enable InfoSphere CDC Event Server to trim To view the datastore default notifications for a
text . . . . . . . . . . . . . . . . 315 subscription . . . . . . . . . . . . . 346
To disable InfoSphere CDC Event Server from Copying notifications for a subscription . . . . 346
differentiating between an empty string from a To copy notification settings . . . . . . . 346
NULL value . . . . . . . . . . . . . 316 Setting latency thresholds and notifications . . . 346
To disable streamed transformation mode . . . 316 To set a latency threshold and notification . . . 347
Contents ix
mirror_interim_commit_threshold . . . . . 412 DM_ARRAY_BIND_MAX . . . . . . . . 436
refresh_commit_after_max_operations . . . . 412 FILTER_NOCHANGE_UPDATES_FOR_AUDIT 436
Encoding system parameters . . . . . . . . 413 NLS_LANG . . . . . . . . . . . . . 437
global_unicode_as_char . . . . . . . . . 413 NLS_NCHAR . . . . . . . . . . . . 437
Supplemental logging system parameters . . . . 414 NOT_NULL_DATE_DEFAULT . . . . . . 437
mirror_logging_by_empty_triggers . . . . . 414 TRIM_CHAR_TO_VARCHAR . . . . . . . 437
Disk resource system parameters . . . . . . . 415 TRIM_VARCHAR_TO_VARCHAR . . . . . 438
mirror_global_disk_quota_mb . . . . . . . 415 TRIM_TO_NULL . . . . . . . . . . . 438
mirror_global_disk_quota_gb . . . . . . . 415 UNICODE_HANDLING. . . . . . . . . 439
Apply process system parameters . . . . . . 416 Cascading replication system parameters . . . . 440
convert_not_nullable_column . . . . . . . 416 CASCADE_OMIT_TARGETS . . . . . . . 440
convert_not_nullable_message . . . . . . . 417 PREVENT_RECURSION. . . . . . . . . 441
global_default_after_database_minimum_timestamp417 Database journal (trigger) system parameters . . . 441
global_default_before_database_minimum_timestamp
418 REPORT_POSITION_INTERVAL . . . . . . 441
mirror_end_on_error . . . . . . . . . . 418 MONITOR_PURGE_INTERVAL . . . . . . 442
mirror_expected_errors_list . . . . . . . . 418 MONITOR_REFRESH_PERIOD . . . . . . 442
refresh_end_on_error . . . . . . . . . . 419 Maximize throughput system parameters . . . . 443
refresh_expected_errors_list . . . . . . . 419 COMMIT_GROUP_SIZE. . . . . . . . . 443
refresh_loader_drop_index . . . . . . . . 419 COMMIT_LEVEL . . . . . . . . . . . 444
refresh_with_referential_integrity . . . . . . 420 COMMIT_INTERVAL . . . . . . . . . 444
userexit_max_lob_size_kb . . . . . . . . 420 MAINTAIN_TRANSACTION_CONSISTENCY 445
SYNCHRONIZATION_COMMIT_
System parameters for InfoSphere GROUP_SIZE . . . . . . . . . . . . 445
CDC for Oracle (version 6.2 and SYNCHRONIZATION_INTERVAL . . . . . 446
TRANSACTION_GROUP_SIZE . . . . . . 446
earlier) . . . . . . . . . . . . . . 421 TRANSACTION_INTERVAL . . . . . . . 447
General product system parameters . . . . . . 421 TRANSACTION_RECORDS_THRESHOLD . . 447
CODE_PAGE . . . . . . . . . . . . 422 Tracing system parameters . . . . . . . . . 448
DEFAULT_ORACLE_HOME . . . . . . . 422 D_MIRROR_SP_TRACE . . . . . . . . . 448
DEFAULT_ORACLE_SID . . . . . . . . 422 D_MIRROR_TRACE . . . . . . . . . . 448
DEFAULT_ORACLE_USER . . . . . . . . 423 D_MIRROR_TRACE_FILE_SIZE . . . . . . 449
DM_COMMS_HOME . . . . . . . . . 423 D_MIRROR_TRACE_ON_ERROR . . . . . 449
D_MIRROR_HOME . . . . . . . . . . 423 DM_PRINT_DIAGNOSTICS . . . . . . . 450
D_MIRROR_LOG . . . . . . . . . . . 423 D_MIRROR_ALARM_TRACE . . . . . . . 450
DM_DYNAMIC_PARAMETER_CHECK_INT 424 Refresh loader system parameters . . . . . . 451
DM_MAX_MONITOR_ENTRIES . . . . . . 424 DIRPATH_BUF_ROWS . . . . . . . . . 451
DM_TS_MAX_POOL_SIZE_MB . . . . . . 425 DIRPATH_BUF_SIZE . . . . . . . . . . 452
DM_TS_POOL_BLOCK_SIZE_MB . . . . . 425 DIRPATH_CACHE_DATE_SIZE . . . . . . 453
<subscription>_MAX_POOL_SIZE_MB . . . . 426 DIRPATH_LOAD . . . . . . . . . . . 453
<subscription>_POOL_BLOCK_SIZE_MB . . . 426 DIRPATH_LOGGING . . . . . . . . . 454
LD_LIBRARY_PATH . . . . . . . . . . 427 DIRPATH_DO_RECOVERY. . . . . . . . 454
LIBPATH . . . . . . . . . . . . . . 427 User exit system parameters . . . . . . . . 455
ORACLE_HOME . . . . . . . . . . . 427 D_MIRROR_SP_CONNECTION . . . . . . 455
ORACLE_SID . . . . . . . . . . . . 428 DM_FROM_CODEPAGE_V4USEREXIT. . . . 455
PASSWORD . . . . . . . . . . . . . 428 DM_TO_CODEPAGE_V4USEREXIT . . . . . 456
PUBLISH_METADATA . . . . . . . . . 428 Table mapping system parameters . . . . . . 456
RLD_SYSTEM_TXQSIZE . . . . . . . . 429 TS_DELETE_ASSIGNED_OBJECTS_DURING_DESCRIBE 456
<subscription>_TXQSIZE . . . . . . . . . 429 Notification system parameters . . . . . . . 457
SHLIB_PATH . . . . . . . . . . . . 430 convertNotNullableMsg . . . . . . . . . 457
STARTUP_TIMEOUT. . . . . . . . . . 430 DEADBAND_PERCENTAGE . . . . . . . 458
TCP_KEEPALIVE_SECS . . . . . . . . . 430 DM_STATUS_INTERVAL . . . . . . . . 459
USER . . . . . . . . . . . . . . . 431 HEARTBEAT_TIMEOUT . . . . . . . . 460
Apply process system parameters . . . . . . 431 LOG_EMAIL_USERNAME . . . . . . . . 460
convertNotNullableColumns . . . . . . . 432 MONITOR_SAMPLE_INTERVAL. . . . . . 461
D_MIRROR_MIRROR_ERROR_LIST. . . . . 432 STATISTICS_INTERVAL . . . . . . . . . 461
D_MIRROR_MIRROR_ERROR_STOP . . . . 433 Disk resource system parameters . . . . . . . 462
D_MIRROR_REFRESH_ERROR_LIST . . . . 433 LOG_MAX_SIZE . . . . . . . . . . . 462
D_MIRROR_REFRESH_ERROR_STOP . . . . 434
DM_ADAPTIVE_APPLY_SOFT_DELETES . . . 434
DM_ADAPTIVE_APPLY_<SCHEMA>.<TABLENAME> 435
System parameters for InfoSphere
DM_ADAPTIVE_APPLY_MIMIC_SOURCE_OPERATION 435 CDC for Oracle (version 6.3 and later) . 463
General product system parameters . . . . . . 463
Contents xi
D_MIRROR_TRACE_FILE_SIZE . . . . . . 509 Startup Timeout . . . . . . . . . . . 535
D_MIRROR_TRACE_ON_ERROR . . . . . 510 TCP_KEEPALIVE_SECS . . . . . . . . . 535
Notification system parameters . . . . . . . 510 Replication system parameters . . . . . . . 536
convertNotNullableMsg . . . . . . . . . 511 Allow Refresh While Active . . . . . . . 536
DEADBAND_PERCENTAGE . . . . . . . 511 End on Error During Mirroring . . . . . . 536
DM_STATUS_INTERVAL . . . . . . . . 513 End on Error During Refresh . . . . . . . 537
HEARTBEAT_TIMEOUT . . . . . . . . 513 Refresh After Restore . . . . . . . . . . 537
LOG_EMAIL_USERNAME . . . . . . . . 514 Cascading replication system parameters . . . . 538
MONITOR_SAMPLE_INTERVAL. . . . . . 514 Enable Cascading Replicates . . . . . . . 538
STATISTICS_INTERVAL . . . . . . . . . 515 Database journal (trigger) system parameters . . . 538
Disk resource system parameters . . . . . . . 515 Default Journal Library . . . . . . . . . 538
LOG_MAX_SIZE . . . . . . . . . . . 515 Default Journal Name . . . . . . . . . 539
Refresh loader system parameters . . . . . . 516 Replicate User Defined Journal Entries . . . . 539
D_HOME_BCP . . . . . . . . . . . . 516 Report Position Interval . . . . . . . . . 540
D_MIRROR_BCP . . . . . . . . . . . 516 Synchronization Interval. . . . . . . . . 540
D_MIRROR_BCP_ROWS . . . . . . . . 517 Remote journal system parameters . . . . . . 541
D_MIRROR_FASTBCP . . . . . . . . . 517 Data Origin TCP/IP Name . . . . . . . . 541
DM_BCP_PACKET_SIZE . . . . . . . . 517 Data Origin Port . . . . . . . . . . . 541
Relational Database Directory Entry . . . . . 542
System parameters for InfoSphere Commitment control system parameters . . . . 542
CDC for Sybase (version 6.3 and later) 519 Commitment Control . . . . . . . . . . 542
Multibyte character set system parameters. . . . 543
General product system parameters . . . . . . 519
Unicode Handling . . . . . . . . . . . 543
mirror_auto_restart_interval_minutes . . . . 519
Latency system parameters . . . . . . . . . 544
Notification system parameters . . . . . . . 520
Deadband Percentage . . . . . . . . . 544
events_max_retain . . . . . . . . . . . 520
Monitor Sample Interval. . . . . . . . . 546
global_conversion_not_possible_warning . . . 520
Notification system parameters . . . . . . . 546
global_shutdown_after_no_heartbeat_response_minutes
521
Heartbeat Timeout. . . . . . . . . . . 546
Maximize throughput system parameters . . . . 521
Messages on Column Not Null Capable . . . 547
global_max_batch_size . . . . . . . . . 521
Messages on Invalid Numerics . . . . . . 547
mirror_interim_commit_threshold . . . . . 522
Progress Status Interval . . . . . . . . . 548
refresh_commit_after_max_operations . . . . 522
Data type system parameters . . . . . . . . 549
Encoding system parameters . . . . . . . . 523
Numeric Column Validation . . . . . . . 549
global_unicode_as_char . . . . . . . . . 523
Date and time column function system parameters 549
Disk resource system parameters . . . . . . . 524
Default Date On Error . . . . . . . . . 549
mirror_global_disk_quota_mb . . . . . . . 524
Row and column filtering system parameters. . . 550
mirror_global_disk_quota_gb . . . . . . . 524
Audit Filtered Transactions . . . . . . . . 550
Apply process system parameters . . . . . . 525
Critical Column Filtering . . . . . . . . 551
global_default_after_database_minimum_timestamp525
Event log system parameters . . . . . . . . 551
global_default_before_database_minimum_timestamp
526
Notify Message Queue . . . . . . . . . 551
convert_not_nullable_column . . . . . . . 526
Notify Message Queue Library . . . . . . 552
convert_not_nullable_message . . . . . . . 527
Notify Message Threshold . . . . . . . . 552
mirror_end_on_error . . . . . . . . . . 527
Lock detection system parameters . . . . . . 553
mirror_expected_errors_list . . . . . . . . 527
Lock Timeout Value . . . . . . . . . . 553
refresh_end_on_error . . . . . . . . . . 528
refresh_expected_errors_list . . . . . . . 528
refresh_loader_drop_index . . . . . . . . 529 System parameters for InfoSphere
refresh_with_referential_integrity . . . . . . 529 CDC for DB2 UDB and Teradata
trim_char_to_varchar . . . . . . . . . . 529 (version 6.0 and earlier) . . . . . . . 555
trim_varchar_to_varchar. . . . . . . . . 530 General product system parameters . . . . . . 555
userexit_max_lob_size_kb . . . . . . . . 530 audit_auth_ code . . . . . . . . . . . 556
Supplemental logging system parameters . . . . 531 auth_ code . . . . . . . . . . . . . 556
auto_configure_supplemental_logging . . . . 531 db_password . . . . . . . . . . . . 556
mirror_logging_by_empty_triggers . . . . . 531 db_user . . . . . . . . . . . . . . 557
debug . . . . . . . . . . . . . . . 557
System parameters for InfoSphere engine_ port. . . . . . . . . . . . . 557
CDC for IBM i (version 6.2 and earlier) 533 log_file_quota . . . . . . . . . . . . 557
General product system parameters . . . . . . 533 log_total_quota . . . . . . . . . . . . 557
Authorization Code . . . . . . . . . . 534 md_db_url . . . . . . . . . . . . . 558
Enable *MAXOPT3 Option . . . . . . . . 534 md_schema . . . . . . . . . . . . . 558
Record Format Check . . . . . . . . . 534 scrape_timeout . . . . . . . . . . . . 558
Contents xiii
mirror_end_on_error . . . . . . . . . . 600 System parameters for InfoSphere
mirror_expected_errors_list . . . . . . . . 601 CDC for IBM Informix Dynamic Server. 625
mirror_td_apply_method . . . . . . . . 601 General product system parameters . . . . . . 625
refresh_end_on_error . . . . . . . . . . 602 mirror_auto_restart_interval_minutes . . . . 625
refresh_expected_errors_list . . . . . . . 602 Notification system parameters . . . . . . . 626
trim_char_to_varchar . . . . . . . . . . 602 events_max_retain . . . . . . . . . . . 626
trim_varchar_to_varchar. . . . . . . . . 603 global_conversion_not_possible_warning . . . 626
userexit_max_lob_size_kb . . . . . . . . 603 global_shutdown_after_no_heartbeat_response_minutes
626
Teradata TPump system parameters . . . . . . 603 Maximize throughput system parameters . . . . 627
mirror_tpump_files_root_folder_path . . . . 604 mirror_interim_commit_threshold . . . . . 627
mirror_tpump_max_file_size_mb . . . . . . 604 refresh_commit_after_max_operations . . . . 628
mirror_tpump_script_val_file_name . . . . . 605 Encoding system parameters . . . . . . . . 628
mirror_tpump_timeout_seconds . . . . . . 606 global_unicode_as_char . . . . . . . . . 628
mirror_tpump_update_on_key_column . . . . 606 Disk resource system parameters . . . . . . . 629
Fastload system parameters . . . . . . . . 606 mirror_global_disk_quota_mb . . . . . . . 629
refresh_max_fastload_file_size_mb . . . . . 606 mirror_global_disk_quota_gb . . . . . . . 629
Apply process system parameters . . . . . . 630
System parameters for InfoSphere convert_not_nullable_column . . . . . . . 630
CDC Event Server . . . . . . . . . 609 convert_not_nullable_message . . . . . . . 631
Notification system parameters . . . . . . . 609 global_max_batch_size . . . . . . . . . 631
events_max_retain . . . . . . . . . . . 609 mirror_end_on_error . . . . . . . . . . 632
global_conversion_not_possible_warning . . . 609 mirror_expected_errors_list . . . . . . . . 632
Apply process system parameters . . . . . . 610 refresh_end_on_error . . . . . . . . . . 632
convert_not_nullable_column . . . . . . . 610 refresh_expected_errors_list . . . . . . . 633
convert_not_nullable_message . . . . . . . 611 refresh_with_referential_integrity . . . . . . 633
mirror_commit_on_transaction_boundary . . . 611 trim_char_to_varchar . . . . . . . . . . 633
mirror_end_on_error . . . . . . . . . . 612 trim_varchar_to_varchar. . . . . . . . . 634
mirror_expected_errors_list . . . . . . . . 612 userexit_max_lob_size_kb . . . . . . . . 634
mirror_interim_commit_threshold . . . . . 612
refresh_end_on_error . . . . . . . . . . 613 Commands for Access Server . . . . 635
refresh_expected_errors_list . . . . . . . 613 Datastore commands . . . . . . . . . . . 635
userexit_max_lob_size_kb . . . . . . . . 613 dmchangeconnectionpasswordChanging the
Disk resource system parameters . . . . . . . 614 connection parameters to a datastore . . . . 635
mirror_global_disk_quota_mb . . . . . . . 614 dmcreatedatastoreAdding a datastore . . . 636
mirror_global_disk_quota_gb . . . . . . . 614 dmdeleteconnectionDeleting a datastore
connection . . . . . . . . . . . . . 637
System parameters for InfoSphere dmdeletedatastoreDeleting a datastore . . . 638
CDC for IBM InfoSphere DataStage . . 617 dmlistuserdatastoresGenerating a report list of
Notification system parameters . . . . . . . 617 datastores assigned to a user . . . . . . . 639
events_max_retain . . . . . . . . . . . 617 User account commands. . . . . . . . . . 639
global_conversion_not_possible_warning . . . 618 dmchangeuserpasswordChanging the
global_shutdown_after_no_heartbeat_response_minutes
618 password on a user account . . . . . . . 640
Disk resource system parameters . . . . . . . 618 dmcreateuserAdding a user account . . . . 640
mirror_global_disk_quota_mb . . . . . . . 619 dmdeleteuserDeleting a user . . . . . . 642
mirror_global_disk_quota_gb . . . . . . . 619 dmdisableuserDisabling a user account . . . 643
Apply process system parameters . . . . . . 620 dmenableuserEnabling a user . . . . . . 643
convert_not_nullable_column . . . . . . . 620 dmlistusersListing user accounts . . . . . 644
convert_not_nullable_message . . . . . . . 620 dmresetuserResetting a user account . . . . 646
mirror_end_on_error . . . . . . . . . . 621 dmunlockuserUnlocking a user account . . . 646
mirror_expected_errors_list . . . . . . . . 621 Other commands . . . . . . . . . . . . 647
mirror_interim_commit_threshold . . . . . 622 dmaccessserverStart Access Server . . . . 647
refresh_end_on_error . . . . . . . . . . 622 dmaddconnectionAdding a datastore
refresh_expected_errors_list . . . . . . . 622 connection to a user . . . . . . . . . . 648
refresh_with_referential_integrity . . . . . . 623 dmlistdatastoreusersGenerating a report list of
trim_char_to_varchar . . . . . . . . . . 623 users assigned to a datastore . . . . . . . 649
trim_varchar_to_varchar. . . . . . . . . 623 dmshowversionShow InfoSphere CDC Access
InfoSphere DataStage system parameters . . . . 624 Server version . . . . . . . . . . . . 649
userexit_max_lob_size_kb . . . . . . . . 624 onlineOpen command environment . . . . 650
Contents xv
xvi InfoSphere Change Data Capture Management Console: Administration Guide
Overview of InfoSphere CDC
IBM InfoSphere Change Data Capture, or simply InfoSphere CDC, is a
replication solution that captures database changes as they happen and delivers
them to target databases, message queues, or an ETL solution such as InfoSphere
DataStage based on table mappings configured in the InfoSphere CDC
Management Console GUI application.
InfoSphere CDC provides low impact capture and fast delivery of data changes for
key information management initiatives including dynamic data warehousing,
master data management, application consolidations or migrations, operational BI,
and enabling SOA projects. InfoSphere CDC also helps reduce processing
overheads and network traffic by only sending the data that has changed.
Replication can be carried out continuously or periodically. When data is
transferred from a source server, it can be remapped or transformed in the target
environment.
The key components of the InfoSphere CDC architecture are described below:
v Access ServerControls all of the non-command line access to the replication
environment. When you log in to Management Console, you are connecting to
Access Server.
v Admin APIOperates as an optional Java-based programming interface that
you can use to script operational configurations or interactions. After you have
set up replication, Management Console can be closed on the client workstation
without affecting active data replication activities between source and target
servers.
v Apply agentActs as the agent on the target that processes changes as sent by
the source.
v Command line interfaceAllows you to administer datastores and user
accounts, as well as to perform administration scripting, independent of
Management Console.
For more information on how to install Management Console and Access Server,
see Access Server and Management Console - Installation Guide. For information on
how to install your source and target replication engines, see the end-user
documentation for your replication engine platform.
See also:
For more information, see the Management Console and Access Server - Installation
Guide.
Important: As of version 6.3.1 fix pack 1, both Management Console and Access
Server must be at the same level. Management Console can only connect to a
similar version of Access Server.
Note: In addition to a network firewall, you might have personal firewall software
installed and enabled on client machines. This firewall may cause a problem when
connecting to Management Console from Access ServerTypically, the resolution is
to add Management Console to your list of software exemptions in the personal
firewall software. However, depending on your personal firewall, this may differ.
Consult your personal firewall documentation for any connection conflicts or
problems..
The labels in the figure above correspond to the following groups of ports:
v 1Communication from Management Console to the Access Server service. You
specify this port when you install Access Server and when you log in to
Management Console. The default port is 10101 and you can set this value in
Management Console.
v 2Communication from Access Server back to Management Console for
monitor updates.
v 3Communication from Management Console to the Access Server service, per
datastore (that is, per InfoSphere CDC installation). This requires two ports for
each InfoSphere CDC installation.
v 4Communication from the Access Server service to the datastore, listen
process. This is established for each Management Console connection.
v 5Communication from the Access Server service to the datastore, monitor
process. This is a shared connection between all Management Console
connections on the same datastore. This requires two ports for each datastore.
You must also configure your routers and firewalls to allow communication
through the configured ports. For more information, contact your network
administrator.
Additionally, you can have more than one datastore, or more than one installation
of Management Console; for example:
To help determine the number of ports required, take a scenario where there are
ten concurrent users and three datastores.
To calculate the number of Access Server ports to open, use this formula: number
of ports to open = 2 * (number of users + (number of users * number of
datastores) + number of datastores) where a datastore refers to an InfoSphere
CDC installation.
Using the above scenario of ten concurrent users and three datastores, the number
of Access Server ports required is 86. Here is the breakdown of the calculation,
following the order in the figure above illustrating the ports you can configure for
Management Console and Access Server components:
v Number of concurrent users that will log into Access Server = 10
v One port per user to connect to and deliver unsolicited message = 10
v Number of possible concurrent connections from Management Console to
connect to datastores); that is, 10 users * 3 datastores = 10 * 3
v Number of possible concurrent connections to datastore, listen process; that is,
10 users * 3 datastores)
v Two ports required to connect to each datastore, monitor process = 2 * 3
Therefore, 10 + 10 + (10 *3) + (10 *3) + (2 *3) = 86
To calculate the number of ports to open Management Console, use this formula:
number of ports to open = 2 + number of datastores
Using the above scenario of ten concurrent users and three datastores, the number
of ports required is 5 for each Management Console. This is the breakdown of the
calculation for each Management Console:
v Connection to Access Server = 1
v Connection for unsolicited updates from Access Server = 1
v One port for each connection to a datastore, listen process = 1 * 3
Therefore, 1 + 1 + (1 *3) = 5
See also:
To configure static ports
This enables Access Server to listen for connections on port 10101 and restricts
it to using ports in the range of 10102 to 10601.
These changes will take effect after you restart the Access Server service.
System Administrators with user and datastore account management rights can
create additional user accounts in the Access Manager perspective.
You can have multiple instances of Access Server in your working environment,
but you can only connect to one server at a time.
See also:
To log in to Management Consoleby connecting to Access Server
To change your log in password on page 11
Only the relevant information will be displayed in the interface and only the
eligible features and options will be available for use.
Related concepts
Managing user accounts on page 23
Monitoring subscriptions on page 359
Setting up datastores on page 33
Setting up and configuring subscriptions on page 47
A subscription is a connection that is required to replicate data between a source
datastore and a target datastore. It contains details of the data that is being
replicated and how the source data is applied to the target. Subscriptions use
datastores as the source or target of replicated data. You can view the datastores
that your subscriptions are using in the Source and Target columns of the
Subscriptions view.
See also:
To set timeout values on page 16
To allocate memory for Management Console on page 16
To add a character encoding on page 16
To modify a character encoding on page 16
To delete a character encoding on page 17
Setting preferences 17
Related concepts
Setting advanced preferences on page 15
Related tasks
To export the CSV template
Access Server Default PortThe Access Server default port is a unique TCP/IP
number that is used to connect to Access Server. You specify this port number
when you install Access Server and when you log in to Management Console.
Enable Firewall SettingsThe starting port number, and number of ports you
require to go through a firewall to Access Server. The following ports are required:
two for connection to Management Console; and two for each datastore associated
with your Management Console user.
See also:
To specify a default Access Server port number
To specify firewall settings for outbound (static) ports on page 19
To connect to databases automatically on page 19
Note that multiuser configuration can be enabled for InfoSphere CDC version 6.3
Fix Pack 3 and later. It is not available for InfoSphere CDC for z/OS or InfoSphere
CDC for IBM i.
See also:
To automatically enable multiuser configuration when adding new datastores
To prompt users to log comments when unlocking subscriptions on page 20
Setting preferences 19
5. Click Apply.
You can click Restore Defaults at any time to use the default preferences.
See also:
To set prompt preferences on page 21
To automatically close progress windows on page 21
To show the Show Subscription Active/Edit Panel on page 21
To configure filtering for databases, schemas, and tables on page 21
See also:
To set the length of time for data retention
To set the sample rate for data collection on page 22
Setting preferences 21
To set the sample rate for data collection
1. Click Edit > Preferences.
2. Click Statistics.
3. Type the number of minutes in the Statistics Sample Rate (seconds) box.
4. Click Apply.
You must be a System Administrator with user and datastore account management
permission to create datastores and users in the Access Manager perspective. You
can then assign these users to datastores and set database connection parameters in
order to provide users with access to an instance of InfoSphere CDC. Users can be
assigned to different roles that are distinguished by different levels of access into
Management Console. The Access Manager perspective also provides security
options that you can set on user accounts.
In order to work in the Access Manager perspective, you must have a System
Administrator role and be enabled to manage user accounts and datastores.
There are four user role types available in the Management Console, each with
varying degrees of access and control:
v System AdministratorSpecifies that users assigned to this role can perform all
available operations in Management Console. Only users that require full
operational access to the Monitoring and Configuration perspectives should be
assigned to this role. System Administrators can also modify system parameters
to calibrate their replication environment.
Enable user account and datastore administrationEnables a user assigned
the System Administrator role access to the Access Manager perspective. If
you enable this option for a user, then they can create users and datastores, as
well as define Access Server password settings. This option is available only
to the System Administrator role.
v AdministratorSpecifies that users assigned to this role can access both the
Monitoring and Configuration perspectives in Management Console.
Administrators can create new subscriptions, can add, import and export
projects, but are not able to access the Access Manager perspective, and cannot
add or edit users or datastores. Administrators can start and end replication.
v OperatorSpecifies that users assigned to this role can access both the
Monitoring and Configuration perspectives in Management Console. Operators
can add, import and export projects, but they cannot create new subscriptions.
Users assigned to the Operator role can start, stop, and monitor replication
activities. They can also view the tables selected for refresh and start a refresh on
a subscription. Operators can view notifications sent by subscriptions or
datastores. However, users assigned to this role cannot configure replication and
select or remove tables from a refresh.
v MonitorSpecifies that users assigned to this role only have access to the
Monitoring perspective in Management Console. Users assigned to the Monitor
role can view events, statistics, and table mappings. Monitors can view the
replication state and status of a subscription and can view latency threshold
information. However, users assigned to this role cannot start or stop replication,
configure replication, refresh tables, or view notifications sent by subscriptions
and datastores.
See also:
To add a user
To edit a user on page 25
To delete a user on page 26
To copy a user on page 26
To change the existing role on a user account on page 27
To enable a System Administrator with user account and datastore
administration privileges on page 27
To view the history of a user account on page 28
Related tasks
To assign a datastore to users on page 38
To add a user
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager > User Management.
To edit a user
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager > User Management.
3. Select an existing user.
4. Click File > Access Server > Properties.
5. If you want to change the full name or description of the user, type this
information in the Full Name and Description boxes.
To delete a user
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager > User Management.
3. Select an existing user or hold the Ctrl key to select multiple users.
4. Click File > Access Server > Delete User.
To copy a user
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager > User Management.
3. Select an existing user.
4. Click File > Access Server > Copy.
5. Type the name of the user in the New name box.
26 InfoSphere Change Data Capture Management Console: Administration Guide
To change the existing role on a user account
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager > User Management.
3. Select a user or hold the Ctrl key to select multiple users.
4. Click File > Access Server > Change Role.
5. Choose from one of the following roles:
v System AdministratorSpecifies that users assigned to this role can perform
all available operations in Management Console. Only users that require full
operational access to the Monitoring and Configuration perspectives should
be assigned to this role. System Administrators can also modify system
parameters to calibrate their replication environment.
Enable user account and datastore administrationEnables a user
assigned the System Administrator role access to the Access Manager
perspective. If you enable this option for a user, then they can create users
and datastores, as well as define Access Server password settings. This
option is available only to the System Administrator role.
v AdministratorSpecifies that users assigned to this role can access both the
Monitoring and Configuration perspectives in Management Console.
Administrators can create new subscriptions, can add, import and export
projects, but are not able to access the Access Manager perspective, and
cannot add or edit users or datastores. Administrators can start and end
replication.
v OperatorSpecifies that users assigned to this role can access both the
Monitoring and Configuration perspectives in Management Console.
Operators can add, import and export projects, but they cannot create new
subscriptions. Users assigned to the Operator role can start, stop, and
monitor replication activities. They can also view the tables selected for
refresh and start a refresh on a subscription. Operators can view notifications
sent by subscriptions or datastores. However, users assigned to this role
cannot configure replication and select or remove tables from a refresh.
v MonitorSpecifies that users assigned to this role only have access to the
Monitoring perspective in Management Console. Users assigned to the
Monitor role can view events, statistics, and table mappings. Monitors can
view the replication state and status of a subscription and can view latency
threshold information. However, users assigned to this role cannot start or
stop replication, configure replication, refresh tables, or view notifications
sent by subscriptions and datastores.
You can set specific security options on an existing user account in the Access
Manager perspective of Management Console.
See also:
To disable a user account
To require a user to change password at next login
To override password expiration policy set in Management Console on page
29
To unlock a user account on page 29
To unlock a system administrator user account on page 29
See also:
To set complex passwords on user accounts
To enforce password history on page 31
To enforce password expiry on page 31
To enforce password locking on failed login attempts on page 31
To enforce new account expiry on page 31
To display previous failed login attempts on page 31
To display the last successful login on page 32
See also:
To create a user list report
You must be a System Administrator with user and datastore account management
permission to create datastores and users in the Access Manager perspective. You
can then assign these users to datastores and set database connection parameters in
order to provide users with access to an instance of InfoSphere CDC. Users can be
assigned to different roles that are distinguished by different levels of access into
Management Console. The Access Manager perspective also provides security
options that you can set on user accounts.
Managing datastores
A datastore represents the InfoSphere CDC instance.
See also:
To add a datastore
To edit a datastore
To delete a datastore on page 35
To copy a datastore on page 35
To view the history of a datastore on page 35
To set connection parameters on a datastore on page 35
Related concepts
Setting up datastores for replication on page 69
Related tasks
To assign users to a datastore on page 39
To add a datastore
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager > Datastore Management.
3. Click File > Access Server > New Datastore.
4. Type the name of the datastore in the Name box.
5. Type a description in the Description box.
6. Type the host name or the full IP address of the server where you have
installed InfoSphere CDC in the Host Name box.
7. Type the port number of the server in the Port box.
8. Ping the server. If successful, this returns the datastore properties including the
type of server where you have installed InfoSphere CDC and the version
number of the product. Datastores that use the Java VM and are platform
independent will return a platform type of Java VM and a database type of JDBC
for all types of servers.
9. If you want to enable multiple users to configure subscriptions in the same
datastore, enable the Require subscriptions to be locked before editing box in
the Multiuser Configuration area.
Related concepts
Setting up datastores for replication on page 69
Enabling multiple users to work simultaneously on the same datastore on page
40
Setting prompt preferences on page 20
To edit a datastore
1. Ensure that you are a System Administrator and have the privileges to
manage datastores and user accounts.
2. Click Access Manager > Datastore Management.
3. Select an existing datastore.
34 InfoSphere Change Data Capture Management Console: Administration Guide
4. Click File > Access Server > Properties.
5. If you want to change the Name of the datastore, type it in the Name box.
6. If you want to change the description, type it in the Description box.
7. If the name of the server or IP address where InfoSphere CDC is installed has
changed, type it in the Host Name box.
8. If the port number of the server has changed, type it in the Port box.
9. If you upgrade an instance of InfoSphere CDC 6.3 to the Fix Pack 3 level, and
want to allow multiple users to work with the same datastore, you must ping
the server by clicking the Ping button.
10. If you want to enable multiple users to configure subscriptions in the same
datastore, enable the Require subscriptions to be locked before editing box
in the Multiuser Configuration area.
Related concepts
Setting up datastores for replication on page 69
To delete a datastore
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager > Datastore Management.
3. Select an existing datastore or hold Ctrl and select multiple datastores.
4. Click File > Access Server > Delete Datastore .
Related concepts
Setting up datastores for replication on page 69
To copy a datastore
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager > Datastore Management.
3. Select an existing datastore.
4. Click File > Access Server > Copy Datastore.
5. Type the name of the new datastore in the New Name box.
Related concepts
Setting up datastores for replication on page 69
Setting up datastores 35
4. Click File > Access Server > Properties.
5. Click Connection Parameters.
6. Set the following options:
v In the Connection Parameters section:
Database/URLSpecifies the name of the database or the Universal
Resource Locator (URL) of the database server you want to connect to.
This option is automatically disabled for z/OS or IBM i datastores, and for
datastores at version 6.3.0 and later.
DatabaseSpecifies the name of the database server you want to connect
to. This option is only enabled for datastores for which it is required.
DB LoginSpecifies the database user name to connect to the database. If
you want users to connect to the database for replication with InfoSphere
DataStage, then you must specify the user you created when installing
InfoSphere CDC.
DB PasswordSpecifies the password to connect to the database.
Confirm PasswordSpecifies a repeat entry of the password for accuracy.
v In the Propagate Changes section:
Propagate changes to all usersEnable this check box if you want all
users assigned to this datastore to receive the connection parameters that
you specify on this dialog box.
Related concepts
Setting up datastores for replication on page 69
The contents displayed in the Connection Management view depend on the entry
you select from either the Datastore Management view or the User Management
view. Selecting an entry from the Datastore Management view displays the
selected datastore and any users assigned to it. Selecting an entry from the User
Management view displays the selected users and any assigned datastores.
See also:
To delete a connection
To override default connection parameters on a datastore
Related tasks
To assign users to a datastore on page 39
To delete a connection
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager.
3. Delete an existing connection using one of the following methods:
v Click Datastores Management and select an existing datastore that has a
user assigned to it. Click Connection Management and right-click on the
user assigned to the datastore. Click Delete Connection.
v Click User Management and select an existing user that has a datastore
assigned to it. Click Connection Management and right-click on the
datastore assigned to the user. Click Delete Connection.
Setting up datastores 37
Confirm PasswordSpecifies a repeat entry of the password for accuracy.
v In the Propagate Changes section:
Propagate changes to all usersEnable this check box if you want all
users assigned to this datastore to receive the connection parameters that
you specify on this dialog box.
7. If you want to set specific options on how these connection parameters are
displayed to the user when connecting to the datastore in the Connect to
datastore dialog box, then enable one or more of the following options:
v Always show connection dialogAllows the user to specify the password
each time they want to connect to the datastore.
v Show parameter values (except password)Displays the connection
parameters to the user (except password) each time the user tries to connect
to the datastore. Enable this to allow you to enable Write-protect parameters
(except password).
v Write-protect parameters (except password)Displays the connection
parameters to the user (except password) in read-only format each time the
user tries to connect to the datastore. Enable Show parameter values (except
password) to allow you to enable this.
v Allow connection parameters savingAllows the user to save the
connection parameters when connecting to a datastore.
Both methods create the required relationship between a datastore and a user.
Users require this relationship to connect to a datastore.
See also:
To assign a datastore to users
To assign users to a datastore on page 39
Setting up datastores 39
DatabaseSpecifies the name of the database server you want to connect
to. This option is only enabled for datastores for which it is required.
DB LoginSpecifies the database user name to connect to the database. If
you want users to connect to the database for replication with InfoSphere
DataStage, then you must specify the user you created when installing
InfoSphere CDC.
DB PasswordSpecifies the password to connect to the database.
Confirm PasswordSpecifies a repeat entry of the password for accuracy.
v In the Propagate Changes section:
Propagate changes to all usersEnable this check box if you want all
users assigned to this datastore to receive the connection parameters that
you specify on this dialog box.
9. If you want to set specific options on how these connection parameters are
displayed to the user when connecting to the datastore in the Connect to
datastore dialog box, then enable one or more of the following options:
v Always show connection dialogAllows the user to specify the password
each time they want to connect to the datastore.
v Show parameter values (except password)Displays the connection
parameters to the user (except password) each time the user tries to connect
to the datastore. Enable this to allow you to enable Write-protect parameters
(except password).
v Write-protect parameters (except password)Displays the connection
parameters to the user (except password) in read-only format each time the
user tries to connect to the datastore. Enable Show parameter values (except
password) to allow you to enable this.
v Allow connection parameters savingAllows the user to save the
connection parameters when connecting to a datastore.
If you are using multiple Access Server instances on the same datastore, then you
must enable or disable the datastore multiuser configuration option for each
instance.
To enable multiple users to work with an existing datastore
See also:
To create a datastore list report on page 42
Setting up datastores 41
To create a datastore list report
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click Access Manager > Datastore Management.
3. Select an existing datastore or hold Ctrl to select multiple datastores.
4. Click File > Access Server > Reports > Datastore Report.
5. Enable one or more of the following:
v DescriptionIncludes a description you specified when you added the
datastore.
v Datastore PlatformIncludes the type of database platform on which this
datastore resides.
v Date CreatedIncludes the date you had created the datastore.
v Date Last ModifiedIncludes the date the datastore was last modified.
v User AccessIncludes the users you have assigned to this datastore.
6. Click OK and Save.
See also:
To enable auditing
To generate an audit trail log
To generate a security log report
To clear the log on page 45
To enable auditing
1. Ensure that you are a System Administrator and have the privileges to manage
datastores and user accounts.
2. Click File > Access Server > Access Server Options.
3. Click the Audit tab.
4. Enable the Enable audit log check box.
5. Enable one or more of the following:
v Audit account managementEnable if you want to audit user account
management activities such as the creation, modification, and deletion of
users.
v Audit datastore managementEnable if you want to audit datastore
management activities such as the creation, modification, and deletion of
datastores.
v Audit security policy managementEnable if you want to audit security
policy settings related to passwords and user accounts.
v Audit general eventsEnable if you want to audit general events generated
by Access Server.
Before you can start replicating data, you need to add a subscription. When adding
a new subscription, you can organize your subscription into a project and select
the datastores you want to use as the source and target of data during replication
activities. How you decide to set up the datastores in your subscriptions depends
on your replication requirements.
You can also add subscriptions that send data to a target datastore that is external
to your organization. In order to set up a subscription that sends data to an
external target datastore, the receiving organization must have installed InfoSphere
CDC Management Console and you must have the necessary authentication and
database details to connect to their target datastore.
External source or target datastores are not available in your Access Manager,
either because they reside outside of your organization or department, or your
system administrator has not given you the permission to access it.
If you have received authorization from the company or organization to which you
are replicating data, then you can modify the properties of an external target
datastore, including the port number, owner, and password. System and database
information about external target datastores is provided by the organization or
department that owns that datastore.
You can also copy subscriptions that send data to an external target. This is a
timesaving mechanism.
If you create a subscription that uses InfoSphere CDC for InfoSphere DataStage as
a target datastore, you can modify the following subscription properties:
v Batch size thresholdsInfoSphere DataStage uses jobs to process batches of
data. When balancing the need to get data applied to the target quickly against
the need to minimize resource utilization, you can set the batch size threshold
property to run jobs less frequently and process larger amounts of data.
Copyright IBM Corp. 2008, 2011 47
v Large object truncation size for character and binary dataThe truncation
point affects the fixed record length used by an InfoSphere DataStage job that
processes the changed data. You should set this property to as small a size as
possible while still retaining enough of the data from the large columns to meet
your business needs.
See also:
Subscriptions view (Configuration perspective)
Setting up subscriptions on page 49
Specifying network settings for subscriptions on page 51
Setting propagation control on subscriptions on page 52
Locking subscriptions within a datastore on page 52
Determining error handling for subscriptions on page 55
Making subscriptions persistent on page 56
Searching for tables used in replication on page 57
Setting up subscriptions for datastores outside of your organization on page
58
Copying subscriptions on page 59
Upgrading existing Transformation Server subscriptions to InfoSphere CDC
on page 62
Reverting to Transformation Server on page 65
Using projects to organize your subscriptions on page 65
Exporting and importing projects on page 67
Setting up subscriptions
Before you can start replicating data, you need to add a subscription. When adding
a new subscription, you can organize your subscription into a project and select
the datastores you want to use as the source and target of data during replication
activities. How you decide to set up the datastores in your subscriptions depends
on your replication requirements.
When creating your subscriptions, be aware that all subscriptions that come from
the same source datastore must have a unique name and all subscriptions that go
to the same target datastore must have a unique Source ID. The source ID is
automatically generated based on truncating the subscription name to 8 characters.
If you attempt to create a subscription with a duplicate Source ID, an error will
result and the subscription will not be created. If this occurs, you must open the
Advanced Settings dialog and give the subscription a unique Source ID.
See also:
To add a subscription
To modify a subscription on page 50
To delete a subscription on page 51
To add a subscription
1. Click Configuration > Subscriptions.
2. Right-click on a project and select New Subscription.
3. Type the name of the new subscription in the Name box.
All subscriptions that come from the same source datastore must have a
unique name and all subscriptions that go to the same target datastore must
have a unique Source ID. The source ID is automatically generated based on
truncating the subscription name to 8 characters. If you attempt to create a
subscription with a duplicate Source ID, an error will result and the
subscription will not be created. If this occurs, click Advanced Settings and
give the subscription a unique Source ID.
4. Type the description of the new subscription in the Description box.
5. If you want to include the new subscription in a project, select a project from
the Project list or click New Project to create a new project.
If you do not select a project, Management Console places the new
subscription into the Default Project.
6. Select the source datastore from the Source list.
7. Select the target datastore from the Target list.
8. If you selected <External> from the Target datastore list, click Details to
supply the required connection information.
Setting up and configuring subscriptions 49
9. If you want to specify advanced settings for the subscription, click Advanced
Settings. Modify the following properties and click OK, then click Next.
v Source IDSpecify the source ID for the new subscription.
v Firewall PortSpecify a port number for the new subscription.
v TCP HostSpecify the TCP host that your source datastore will use to
recognize the target datastore when the computer where InfoSphere CDC is
installed has multiple network cards. This is useful if you want to specify a
host that is different from the host that you specified in the Access Manager
perspective. The default option is Auto-select, which will automatically
select the network card that can communicate with the target datastore. The
host that you specified in theAccess Manager perspective also appears by
default as well as any alias that you configured in the Datastore Properties
dialog box.
v Propagation ControlClick Add and select the source ID for any
subscription for which you want to prevent data from being replicated to
the target.
v Do not replicate data received from any subscriptionsEnable if you want
to prevent replication from all subscriptions.
v Select the datastore to handle the transferable workSpecify where
transferable work will be performed, in order to minimize impact on the
source or target datastore.
v Mark subscription as persistentEnable if you want to specify that the
subscription is persistent. A subscription can only be restarted automatically
if it is enabled for persistency.
10. Click OK.
Related concepts
Setting up subscriptions on page 49
Setting up subscriptions for datastores outside of your organization on page 58
Creating aliases for a target datastore on a private network connection on page
72
Using projects to organize your subscriptions on page 65
Related tasks
To add a subscription for an external target datastore on page 58
To modify a subscription
1. Click Configuration > Subscriptions.
2. Right-click on a subscription and select Properties.
3. You can modify the following:
v DescriptionType the description of the subscription.
v ProjectSelect a project or click New Project to create a new project.
4. If you specified an External target datastore when mapping your tables, you
can click Details and modify the appropriate settings.
To delete a subscription
1. Click Configuration > Subscriptions.
2. Ensure that replication for the subscription has ended.
3. Ensure that the subscription is connected to the target datastore.
4. If you are using InfoSphere CDC Version 5.2 and have a subscription with an
external target datastore, ensure that have removed the table mappings for the
subscription.
5. Right-click on a subscription and select Delete subscription.
Related tasks
To end replication on page 333
To delete a table mapping on page 128
To connect to a datastore on page 70
You can specify the TCP host that your source datastore will use to recognize the
target datastore when the computer where InfoSphere CDC is installed has
multiple network cards. This is useful if you want to specify a host that is different
from the host that you specified in InfoSphere CDC Access Manager.
You may also specify a firewall port for a subscription, which is useful if the
source and target datastores have a limited number of ports for communication
through a firewall.
See also:
To specify a TCP host for a subscription
To specify a firewall port for a subscription on page 52
See also:
To set propagation control on a subscription
See also:
To view subscription state details
To view subscription state details in the Subscription Active/Edit Panel
To lock a subscription for editing
To lock a subscription for editing in the Subscription Active/Edit Panel on
page 54
To unlock a subscription on page 54
To unlock a subscription in the Subscription Active/Edit Panel on page 54
To unlock a subscription (System Administrator) on page 54
To unlock a subscription in the Subscription Active/Edit Panel (System
Administrator) on page 55
To view the history report for a subscription on page 55
To unlock a subscription
1. Ensure that you have the role of Operator, Administrator, or System
Administrator.
2. Click Configuration > Subscriptions.
Management Console displays an icon that indicates locked or available for
editing beside each subscription in the list.
3. Right-click the subscription you want to unlock from the list of subscriptions.
4. Click End Editing to unlock the subscription and allow other users to edit it.
5. Add a comment to log your changes for the subscription in the dialog that
displays.
See also:
To set error handling for a subscription
In the event of a deadlock or timeout error with subscriptions that target DB2
LUW, an event message will indicate that the error is recoverable and if you mark
the subscription as persistent it will restart automatically. When restarted, the
subscription will apply the data that has been rolled back as a result of the error
and continue.
Subscriptions will not restart automatically if you intentionally end replication for
an active subscription by name. For InfoSphere CDC for z/OS subscriptions only,
automatic restart will still apply if you have ended replication for a group of
subscriptions by specifying the wild card character ('*') with the ENDTSMIR
command.
Persistency is only relevant to subscriptions that are used for continuous mirroring.
If a persistent InfoSphere CDC for z/OS subscription is used for Refresh or
Scheduled End (Net Change) mirroring and network communications are
interrupted, this subscription is restarted according to how the same subscription
was terminated the last time it was used for continuous mirroring. For all other
You can set how often InfoSphere CDC for z/OS attempts to automatically restart
continuous mirroring for all persistent subscriptions by modifying the
AUTORESTARTINTERVAL configuration control statement keyword. For more
information, see your InfoSphere CDC for z/OS documentation. For all other
InfoSphere CDC replication engines, you can set how often InfoSphere CDC
attempts to automatically restart continuous mirroring for all persistent
subscriptions through the mirror_auto_restart_interval_minutes system
parameter.
See also:
To mark a subscription as persistent
See also:
To search for subscriptions that use a table in replication
External target datastores are not available in your Access Manager because they
reside outside of your organization or department, or your System Administrator
has not given you the permission to access it.
If you have received authorization from the company or organization to which you
are replicating data, then you can modify the properties of an external target
datastore, including the port number, owner, and password. System and database
information about external target datastores is provided by the organization or
department that owns that datastore.
You can also copy subscriptions that send data to an external target. This is a
time-saving mechanism.
See also:
To add a subscription for an external target datastore
To modify a subscription for an external target datastore on page 59
Copying subscriptions
Copying a subscription is a time-saving mechanism. If you have a subscription that
contains table mappings that you do not want to recreate, then you can copy the
subscription under a new name. You can also recreate an existing subscription with
the same table mappings if you want to setup a replication scenario within in
another environment.
See also:
To copy a subscription
To copy a subscription for an external target datastore on page 61
To copy a subscription
1. Click Configuration > Subscriptions.
2. Right-click on a subscription and select Copy Subscription.
v Transformation Server for Microsoft SQL Server version 5.3.4 to InfoSphere CDC for
Microsoft SQL Server version 6.2
v Transformation Server for Oracle version 6.0 (Service Pack 3 OR Service Pack 3 TFE 28
or later) to InfoSphere CDC for Oracle version 6.5
Supported upgrade combinations
When you upgrade a source or target product from Transformation Server to either
InfoSphere CDC for Microsoft SQL Server version 6.2 or InfoSphere CDC for Oracle
version 6.5, then the corresponding source or target product can be of any other platform,
provided it meets the minimum version requirements:
v InfoSphere CDC version 6.3 (any platform) or later
v IBM i version 6.1 TFE 1 or later
v Transformation Server for z/OS version 5.4 or later
Also, when upgrading combinations between Transformation Server for Microsoft SQL
Server and Transformation Server for Oracle, whether either of these products is used as a
source or a target of replication, you must always upgrade Transformation Server for
Microsoft SQL Server to InfoSphere CDC for Microsoft SQL Server version 6.2 before
upgrading to InfoSphere CDC for Oracle version 6.5.
If you have existing subscriptions for Transformation Server, then you can upgrade
these subscriptions to InfoSphere CDC by completing the following tasks:
v Upgrade subscriptions by selecting new names, new source IDs, and source and
target datastores.
Note: Transformation Server for Microsoft SQL Server version 5.3.4 supports
multiple databases. InfoSphere CDC for Microsoft SQL Server version 6.2
supports a single database. If you are upgrading a subscription that uses
multiple databases, such as database1.user.source_table ->
database2.user.target_table, ... databaseY.user.target_table you must
install InfoSphere CDC for Microsoft SQL Server version 6.2 on database1,
database2, ...databaseY to upgrade the subscription.
v After upgrading, you must transfer the bookmark from your original
subscription to the new upgraded subscription. Or, you can perform a refresh on
the upgraded subscription, however you would lose your current position in the
log. If you find you need to resort back to your original subscription after the
upgrade, then you can transfer the bookmark to the original subscription.
v After transferring the bookmark to the new subscription, you can choose to clear
the log position for the original subscription. This task is optional and will
prevent you from resuming replication with the original subscription. This
means that you cannot resort back to Transformation Server for replication
activities. Therefore, only clear the log position on the original subscription
when certain you no longer need to replicate with that subscription. If the
Considerations:
v Propagation control settings will not be included in the migration.
v InfoSphere CDC for Oracle uses the single scrape mechanism, which enables it
to only begin replication from one bookmark position. Once you begin
replication on a subscription, you cannot set a bookmark position that
InfoSphere CDC for Oracle has already passed. For this reason, it is important to
note that if you have multiple subscriptions that need to be upgraded, you must
upgrade all subscriptions and transfer each of the bookmarks before starting
replication on any of these subscriptions.
See also:
To upgrade a subscription
To transfer a bookmark from the original subscription to the upgraded
subscription on page 64
To clear the log position on the original subscription on page 64
To upgrade a subscription
1. Ensure that you have installed the correct product version you want to
upgrade to. For example, if you are upgrading to InfoSphere CDC for Oracle
version 6.5, then you need to install this product in addition to having an
existing installation of Transformation Server for Oracle version 6.0 (Service
Pack 3 TFE 28 and above).
2. Ensure that you perform the upgrade during a period of time when there is
low transaction activity taking place in your database.
3. Ensure that you have created a new datastore for the InfoSphere CDC product
you want to upgrade to.
4. Ensure that the new datastore is associated to the same database that contains
the tables being replicated by your existing installation of Transformation
Server.
5. Log in to Management Console.
6. Connect to the datastore that is associated with your existing installation of
Transformation Server.
7. Connect to the new datastore that is associated with your new installation of
InfoSphere CDC.
8. Click Configuration > Subscriptions.
9. Select the subscription you want to upgrade to InfoSphere CDC. This
subscription contains the same datastore that is associated with your existing
installation of Transformation Server. You can select and upgrade more than
one subscription at a time.
10. Click Subscription > Upgrade > Upgrade Subscription.
11. Click Continue if you want to upgrade the subscription without assistance
from Product Support.
12. Type a new name for the subscription in the New Name box.
13. Type a new source ID for the subscription in the New Source ID box.
14. Select a new source datastore for the subscription in the Source Datastore box.
15. Select a new target datastore for the subscription in the Target Datastore box.
v InfoSphere CDC for Microsoft SQL Server version 6.2 to Transformation Server for
Microsoft SQL Server version 5.3.4
v InfoSphere CDC for Oracle version 6.5 to Transformation Server for Oracle version 6.0
Service Pack 3 TFE 28 or later
You can revert from InfoSphere CDC to Transformation Server when you want to
resume replication activities with the original subscription.
If this is the case, then you must ensure that the original subscription has an
existing log position and it has not been cleared. Otherwise, you cannot resume
replication activities with that subscription unless you perform a refresh on it. In
order to continue replication activities from the current log position, you must
transfer the bookmark from the upgraded subscription to the original subscription.
See also:
To downgrade a subscription
To downgrade a subscription
1. Ensure you have not cleared the log position on the original subscription.
2. Click Configuration > Subscriptions.
3. Click Subscription > Upgrade > Transfer Bookmark. Management Console
displays all subscriptions for which you can transfer the bookmark.
4. Enable the Transfer to Original Subscription check box for subscriptions for
which you want to transfer the bookmark.
5. To view the upgrade report for the subscription, click View Upgrade Report... .
6. Enable the After transferring bookmark... check box if you want to start
mirroring after transferring the bookmark. If you are upgrading subscriptions
for InfoSphere CDC for Oracle, then ensure you have transferred the
bookmarks of all subscriptions before enabling this check box.
7. Click Transfer Bookmark to transfer the bookmark to the specified
subscriptions. You can resume mirroring with these subscriptions.
After transferring the bookmark, Management Console displays a report that
outlines any issues encountered during the bookmark transfer process. This
report is displayed whether or not errors are encountered during the transfer
bookmark process.
If you have subscriptions that are still in development, others that are being tested,
and some that have been promoted to production, you may want to group your
subscriptions in projects according to their current development state. For example,
you can use Test, Development, and Production for project names. As you finish
development or testing of a subscription, you can then move the subscription to
the appropriate project.
See also:
To add a project
To rename a project
To delete a project
To add a project
1. Click Configuration > Subscriptions.
2. Right-click in the Subscriptions view and select Project > Add New Project.
3. Enter a unique name for your project.
Related concepts
Using projects to organize your subscriptions on page 65
Related tasks
To rename a project
To delete a project
To rename a project
1. Click Configuration > Subscriptions.
2. Right-click on a project and select Project > Rename Project.
3. Enter a new name for your project.
Related concepts
Using projects to organize your subscriptions on page 65
Related tasks
To add a project
To delete a project
To delete a project
1. Click Configuration > Subscriptions.
2. Right-click on a project and select Project > Delete Project.
Management Console will delete the project and move all subscriptions to your
Default project.
See also:
To export projects
To import projects
To export projects
1. Click Configuration > Subscriptions.
2. Right-click on a project and select Project > Export Projects.
3. Type a name for the template in the File Name box.
4. Click Save.
Related concepts
Exporting and importing projects
Related tasks
To import projects
To import projects
1. Click Configuration > Subscriptions.
2. Right-click on a project and select Project > Import Projects.
Existing projects will be deleted during project import.
3. Select the CSV template that you want to import into Management Console and
click Open.
You will have to restart Management Console or reconnect to Access Server to
see the changes.
Related concepts
Exporting and importing projects
Related tasks
To export projects
Note that users with the Monitor role can connect to datastores to which they have
access using the Connect to datastore button located above the Subscriptions view
of the Monitoring perspective, even though they cannot see the Datastores view.
Depending on the role that your user ID has, you can do the following in this
view:
Functions Roles
Connect to datastores v System Administrator
v Administrator
v Operator
v Monitor
Configure notifications on source or target datastores v System Administrator
v Administrator
v Operator
Configure properties on datastores v System Administrator
v Administrator (can configure
properties except for system
parameters)
View, create or modify replication tables v System Administrator
v Administrator
Connecting to a datastore
Before you can connect to a datastore, you must have user access to a datastore. If
you do not see a datastore listed, request your System Administrator to set access
parameters for you in the Access Manager perspective in Management Console.
By default, Management Console connects to all datastores that you have access to
when you log in to Management Console by connecting to Access Server. You can
turn off this behavior in Edit > Preferences. If the Connect to Datastores
Automatically preference is disabled, you must manually connect to each
datastore.
To see whether or not you are connected to a datastore, use the Datastores view.
To see a summary of your datastore connection status, refer to the bottom right
section of Management Console. This section shows the number of connections
established. If Management Console cannot establish a connection with a particular
datastore, then this datastore is listed with the following icon: . Click the icon to
view general information about the datastore and possible reasons as to why a
connection could not be established.
See also:
To connect to a datastore
To disconnect from a datastore
To connect to a datastore
1. Ensure that you have user access to the datastore.
2. Click File > Connect to Datastores.
3. Select the datastore.
4. Click Connect.
Related concepts
Assigning users to datastores on page 38
You can also use the command-line tools that are available with your InfoSphere
CDC replication engine to end all replication processes.
See also:
To shut down a datastore
See also:
To update access parameters for a subscription
The default values for most system parameters should be adequate. However,
depending on your requirements, you can modify the a system parameter to
specify a behavior for InfoSphere CDC that is different than the default.
See also:
See also:
To add an alias on page 73
To modify an alias on page 73
To delete an alias on page 73
To modify an alias
1. Click Configuration > Datastores.
2. Right-click on a datastore and select Properties.
3. Select an alias on the Alias tab.
4. Click Modify.
5. Type a name in the Alias box.
Related concepts
Creating aliases for a target datastore on a private network connection on page
72
To delete an alias
1. Click Configuration > Datastores.
2. Right-click on a datastore and select Properties.
3. Select an alias on the Alias tab.
4. Click Delete.
Related concepts
Creating aliases for a target datastore on a private network connection on page
72
If you have changed the definition of either a source or target table in your
RDBMS (relational database management system), you will need to update its
definition in Management Console.
If you have deleted tables from your RDBMS (relational database management
system), then you also need to remove the table from replication.
Use the Replication Tables dialog box to update the definition of a table that has
changed in your database, to view the properties of tables, and to remove tables no
longer in use by subscriptions for replication.
You can make tables available for replication by selecting tables for a table
mapping in the Map Tables wizard.
See also:
To update the definition of a table
To remove a table from Management Console on page 76
To view the properties of a table on page 76
See also:
To update the definition of a source table
To update the definition of a target table
Use the Table Mappings view to see a list of mapped source and target tables
within a subscription. You can also view the mapping type, replication method,
and status of each table mapping.
Mapping tables 81
Related concepts
Setting up and configuring subscriptions on page 47
A subscription is a connection that is required to replicate data between a source
datastore and a target datastore. It contains details of the data that is being
replicated and how the source data is applied to the target. Subscriptions use
datastores as the source or target of replicated data. You can view the datastores
that your subscriptions are using in the Source and Target columns of the
Subscriptions view.
Mapping tables on page 79
Mapping columns on page 149
Filtering rows and columns on page 291
Setting data translations on column mappings on page 159
Replicating multibyte (MBCS) and double-byte (DBCS) character data on page
163
Controlling row operations on page 301
Controlling table operations on page 189
Setting member identifiers on page 171
Setting conflict detection and resolution on page 295
Configuring table-level user exits on page 195
The Filter Databases window can appear with the two replication platforms that
can contain multiple databases, Transformation Server version 5.3 for Microsoft
SQL Server, and z/OS.
For other replication platforms that contain single database instances, the Filter
Schemas window (for Oracle) or Filter Libraries window (for IBM i) can open, and
Filter Tables dialog boxes can open when you expand the respective nodes under a
datastore.
See also:
To manually define a filter
Related concepts
Setting advanced preferences on page 15
See also:
To map similar source tables to similar target tables (One-to-One)
To map tables for InfoSphere Classic CDC for z/OS on page 85
To map a custom source table to a custom target table (standard) on page 86
To map multi-member source tables on IBM i (standard) on page 87
To map multi-member source tables to existing target tables on IBM i
(one-to-one) on page 89
To map multi-member source tables to new tables on IBM i (one-to-one) on
page 90
Mapping tables 83
more information see, Setting advanced preferences on page 15. To
manually define a filter, select a datastore, database, or schema and click
Specify Filter.
5. Enable one or more tables to map from the Source Tables list. If you do not
see your table listed, right-click the database user or schema and select
Refresh.
6. If you want to hide columns so that the target is not aware of them, select a
source table and click Filter Columns. Clear the check box for the column you
want to hide and click OK.
7. Click Next.
8. Select Map to existing target tables and click Next.
If you want to map to a new target table, click Create new target tables.
9. Expand the database, schema, or table from the Target Tables list to view
tables from your database that are available for mapping. Right-click the
database user or schema and click Refresh if you do not see your table listed.
The wizard uses the relationship between this target table and the selected
source table to map the remaining source and target tables. You can click
Change Example Table if you want the Map Tables wizard to base the
mapping on a different source table. This option is only available if you have
selected more than one source table.
10. Enable a table to map from the Target Table list. If you do not see your table
listed, right-click the database user or schema and select Refresh.
11. Click Next.
12. Verify the mappings in the Complete Mappings dialog, and click Next.
Note: The Map Tables wizard may leave some source tables unmapped if it
did not find a target table that shared the same table structure or similar
column names. You must map these manually.
13. If you are replicating source database changes using InfoSphere CDC for
Oracle Trigger-based edition and you want to use a journal table to mirror
database operations from the source table to the target table, then choose one
of the following and click Next:
v Use Default JournalEnable when you want InfoSphere CDC for Oracle to
use the default journal table provided with InfoSphere CDC for Oracle: <TS
SCHEMA>.DMCJRN. InfoSphere CDC uses this journal table to detect and
replicate database changes from the source to the target.
v Use Selected JournalEnable when you want InfoSphere CDC for Oracle
to use another journal table other than the default journal table provided
with InfoSphere CDC for Oracle. When you select the database owner and
provide a name for the journal table, InfoSphere CDC Event Server creates
this new journal table and uses it to detect and replicate database changes
from the source to the target.
OwnerLists the database owner of the journal table.
NameLists the name of the journal table.
14. Review the mapping summary and click Finish.
Note: The Map Tables wizard may leave some source tables unmapped if it
did not find a target table that shared the same table structure or similar
column names. You must map these manually.
13. Review the mapping summary and click Finish.
Mapping tables 85
To map a custom source table to a custom target table
(standard)
1. Click Configuration > Subscriptions.
2. Select a subscription, right-click and select Map Tables.
3. Select One table mapping of any type.
4. Select Standard from the Mapping type list and click Next.
5. Expand the database, schema, or table from the Source Tables list to view
tables from your database that are available for mapping. Right-click the
database user or schema and click Refresh if you do not see your table listed.
You may be prompted to filter databases, schemas, or tables if Automatically
prompt for filter when expanding nodes is enabled in your preferences. For
more information see, Setting advanced preferences on page 15. To
manually define a filter, select a datastore, database, or schema and click
Specify Filter.
6. Enable the table to map from the Source Table list. If you do not see your
table listed, right-click the database user or schema and select Refresh.
7. If you want to hide columns so that the target is not aware of them, select a
source table and click Filter Columns. Clear the check box for the column you
want to hide and click OK.
8. Click Next.
9. Expand the database, schema, or table from the Target Tables list to view
tables from your database that are available for mapping. Right-click the
database user or schema and click Refresh if you do not see your table listed.
If you want to map to a new target table, click Create Table.
10. Choose one of the following and click Next:
v Use an IndexSelect the index name from the Index box. Use if your target
table has an index that uniquely identifies a row.
v Use all searchable columnsSearches all target columns to identify which
columns are suitable to uniquely identify rows. The results of the search are
used to build a WHERE clause which uniquely identifies the row on the
target column to apply data.
v Specify the keySelect the target columns from the Key Columns list. Use
if one or more target columns uniquely identifies a row.
11. Choose a replication method from the following and click Next:
v Mirror (Change Data Capture)Immediately replicates changes made to
the source table to the target table or accumulate source table changes and
replicate at a later time. If your configuration requires you to prevent
recursive updates when mirroring, enable the Prevent Recursion check box.
This check box is only available in versions of InfoSphere CDC that support
both source and target databases.
v Refresh (Snapshot)Replicates a snapshot of the source table to the target
table.
12. If you are replicating source database changes using InfoSphere CDC for
Oracle Trigger-based edition and want to use a journal table to mirror
database operations from the source to the target table, then enable one of the
following:
v Use Default JournalEnable when you want InfoSphere CDC for Oracle to
use the default journal table provided with InfoSphere CDC for Oracle: <TS
SCHEMA>.DMCJRN. InfoSphere CDC uses this journal table to detect and
replicate database changes from the source to the target.
Mapping tables 87
v Source and Target Files are Single MemberMerges all members from the
source table to a single-member target table.
v Use Source member Structure on TargetMaintains the same
multi-member structure on the target table as the one on the source table.
Each source member is mapped to the corresponding target member.
v Merge Source Members into One Target MemberMerges all members
from the source table to a single member in a multi-member.
12. Choose one of the following and click Next:
v Use an IndexSelect the index name from the Index box. Use if your target
table has an index that uniquely identifies a row.
v Use all searchable columnsSearches all target columns to identify which
columns are suitable to uniquely identify rows. The results of the search are
used to build a WHERE clause which uniquely identifies the row on the
target column to apply data.
v Specify the keySelect the target columns from the Key Columns list. Use
if one or more target columns uniquely identifies a row.
13. Choose a replication method from the following and click Next:
v Mirror (Change Data Capture)Immediately replicates changes made to
the source table to the target table or accumulate source table changes and
replicate at a later time. If your configuration requires you to prevent
recursive updates when mirroring, enable the Prevent Recursion check box.
This check box is only available in versions of InfoSphere CDC that support
both source and target databases.
v Refresh (Snapshot)Replicates a snapshot of the source table to the target
table.
v Use Relative Record NumberEnables InfoSphere CDC to replicate
updates to the target using a relative record number. When this option is
checked, InfoSphere CDC sends the Relative Record Number to the target
and expects the Relative Record Number to be the identifying column on
the target side. This means that the target tables cannot be updated by more
than one source table (a target table cannot be a warehouse for multiple
source tables). If you do not check this box, then InfoSphere CDC for IBM i
uses a unique key to replicate to the target.
Notes:
When this option is checked, if the source table is reorganized,
InfoSphere CDC will automatically start a refresh for that table.
If no Relative Record Number is available on the target table (for
example, if the table resides on a non-IBM i system), you can still make
use of this option by mapping the Relative Record Number on the source
table to a column in the target table to. For more information, see
Source RRN (&CNTRRN) on page 174.
This option is only available when you have installed InfoSphere CDC
for IBM i on the source database.
14. Review the mapping summary.
15. Choose one of the following options and click Finish:
v Define column mappingsContinues with the column mapping.
v Create a new table mappingAllows you to start a new table mapping.
v Return to current viewReturns you to the current view.
Mapping tables 89
v Use Relative Record NumberEnables InfoSphere CDC to replicate
updates to the target using a relative record number. When this option is
checked, InfoSphere CDC sends the Relative Record Number to the target
and expects the Relative Record Number to be the identifying column on
the target side. This means that the target tables cannot be updated by more
than one source table (a target table cannot be a warehouse for multiple
source tables). If you do not check this box, then InfoSphere CDC for IBM i
uses a unique key to replicate to the target.
Notes:
When this option is checked, if the source table is reorganized,
InfoSphere CDC will automatically start a refresh for that table.
If no Relative Record Number is available on the target table (for
example, if the table resides on a non-IBM i system), you can still make
use of this option by mapping the Relative Record Number on the source
table to a column in the target table to. For more information, see
Source RRN (&CNTRRN) on page 174.
This option is only available when you have installed InfoSphere CDC
for IBM i on the source database.
13. Click Next.
14. Review the mapping summary and click Finish.
Related concepts
Mapping using standard replication on page 83
Setting member identifiers for multi-member source tables on page 171
Notes:
When this option is checked, if the source table is reorganized,
InfoSphere CDC will automatically start a refresh for that table.
If no Relative Record Number is available on the target table (for
example, if the table resides on a non-IBM i system), you can still make
use of this option by mapping the Relative Record Number on the source
table to a column in the target table to. For more information, see
Source RRN (&CNTRRN) on page 174.
This option is only available when you have installed InfoSphere CDC
for IBM i on the source database.
12. Review the mapping summary and click Finish.
Related concepts
Mapping using standard replication on page 83
Setting member identifiers for multi-member source tables on page 171
Mapping tables 91
Source operations Target Operations
UPDATE (Key not changed) Either:
v INSERT the row that contains the after
image.
v INSERT row containing before image
values, and INSERT another row
containing after image values.
UPDATE (Key changed) Either:
v INSERT the row that contains the after
image.
v INSERT row containing before image
values, and INSERT another row
containing after image values.
DELETE INSERTs the row that was deleted.
See also:
To map a single source table using LiveAudit
To map a multi-member table using LiveAudit for IBM i on page 93
To map multiple source tables to existing tables using LiveAudit on page 94
To map multiple source tables to new tables using LiveAudit on page 95
Mapping tables 93
v Source and Target Files are Single MemberMerges all members from the
source table to a single-member target table.
v Use Source member Structure on TargetMaintains the same
multi-member structure on the target table as the one on the source table.
Each source member is mapped to the corresponding target member.
v Merge Source Members into One Target MemberMerges all members
from the source table to a single member in a multi-member target table.
13. Review the mapping settings.
14. Choose one of the following options and click Finish:
v Define column mappingsContinues with the column mapping.
v Create a new table mappingAllows you to start a new table mapping.
v Return to current viewReturns you to the current view.
Related concepts
Mapping using standard replication on page 83
Setting member identifiers for multi-member source tables on page 171
Mapping tables 95
v Source table names with prefixes and/or suffixesAdds the suffix, the
prefix, or both, to the source table name. Enable the Use prefix/suffix for
index name check box to use the prefix and suffix as the index name.
12. Review the mapping summary and click Finish.
Related concepts
Mapping using LiveAudit on page 91
There are two methods of mapping tables in InfoSphere CDC for consumption by
InfoSphere DataStage. The two options differ from one another.
In the Flat File method, InfoSphere CDC produces one or more files containing
information about one or more records and database operations, with each record
occupying its own line followed by a delimiter if you use the Single Record
option, or with each record occupying two lines if you choose the Multiple
Records option when mapping your tables. Those files are saved to be retrieved by
InfoSphere DataStage and used by the Sequential File Reader stage of the InfoSphere
DataStage job. For update operations, the flat file will have both the before and
after image in one line.
In the Direct Connect method, the data is not written to a file, but is sent instead
over a TCP/IP connection directly to InfoSphere DataStage to be processed by a
specific InfoSphere DataStage job that you have identified by specifying the
matching Project Name, Job Name, and Connection Key in the InfoSphere
DataStage Properties dialog box in Management Console. The InfoSphere
DataStage Connector processes the data, then transforms and translates it into a
format recognized by the InfoSphere DataStage job.
With the Direct Connect connection method, you can enable the autostart feature to
run in active mode, which allows you to start a InfoSphere DataStage job from
InfoSphere CDC and begin to stream data to InfoSphere DataStage. Running with
autostart enabled requires both InfoSphere CDC and InfoSphere DataStage to be
installed on the same server. If autostart is not enabled, you will be running in
passive mode, and you must run jobs from InfoSphere DataStage before the Direct
Connect data stream can begin. Note that to use the full functionality of the Direct
Connect option, you must have Management Console version 6.5, Access Server
version 6.5 installed as well as having InfoSphere CDC version 6.5 installed on the
same server as InfoSphere DataStage, a component of IBM Information Server
version 8.5.
Depending on the connection method you choose, files are either saved for
retrieval by InfoSphere DataStage (Flat File), or data is streamed to InfoSphere
DataStage (Direct Connect), by InfoSphere CDC when either when data limits are
reached (determined the Batch Size Threshold settings you've indicated in the
InfoSphere DataStage Properties dialog box in Management Console after
mapping your tables) or when a refresh or mirroring operation ends.
For the Direct Connect connection method, the process is similar. The size and time
limits set in the InfoSphere DataStage Properties dialog box determine when data
is sent, and the matching Project Name, Job Name, and Connection Key
information set in the InfoSphere DataStage Properties dialog box permit
InfoSphere CDC to send the data to InfoSphere DataStage directly, without saving
any of the data as flat files.
Additionally, with the Direct Connect connection method, you can enable the
autostart feature to run in active mode, which allows InfoSphere DataStage to start
a job when appropriate and begin to stream data to InfoSphere DataStage. Running
with autostart enabled requires both InfoSphere CDC and InfoSphere DataStage to
be installed on the same server. If autostart is not enabled, you must run jobs from
InfoSphere DataStage before the Direct Connect data stream can begin. For
instructions on enabling autostart, see the Management Console documentation.
To map a single source table to InfoSphere DataStage using flat files
To map a single source table to InfoSphere DataStage using Direct Connect
on page 98
To map multiple source tables to InfoSphere DataStage using flat files on
page 99
To map multiple source tables to InfoSphere DataStage using Direct Connect
on page 99
Mapping tables 97
6. Expand the database, schema, or table from the Source Tables list to view
tables from your database that are available for mapping. Right-click the
database user or schema and click Refresh if you do not see your table listed.
You may be prompted to filter databases, schemas, or tables if Automatically
prompt for filter when expanding nodes is enabled in your preferences. For
more information see, Setting advanced preferences on page 15. To
manually define a filter, select a datastore, database, or schema and click
Specify Filter.
7. Enable the table to map from the Source Table list. If you do not see your
table listed, right-click the database user or schema and select Refresh.
8. If you want to hide columns so that the target is not aware of them, select a
source table and click Filter Columns. Clear the check box for the column you
want to hide and click OK.
9. Click Next.
10. Type the output directory for the flat files that are generated by InfoSphere
CDC and used by InfoSphere DataStage in the Directory box.
11. Select one of the following options for the record format of the flat files and
click Next:
v Single RecordAn update operation is sent as a single row.
v Multiple RecordAn update operation is sent as two rows.
12. Review the mapping settings.
13. Click Finish.
Mapping tables 99
more information see, Setting advanced preferences on page 15. To
manually define a filter, select a datastore, database, or schema and click
Specify Filter.
7. Enable one or more tables to map from the Source Tables list. If you do not
see your table listed, right-click the database user or schema and select
Refresh.
8. If you want to hide columns so that the target is not aware of them, select a
source table and click Filter Columns. Clear the check box for the column you
want to hide and click OK.
9. Click Next.
10. Type the host name of your InfoSphere DataStage installation in the Host box.
11. Specify the starting port if you have selected more than one source table in the
Port box.
12. Enable one of the following options for the output records used by InfoSphere
DataStage and click Next:
v Single RecordAn update operation is sent as a single row.
v Multiple RecordAn update operation is sent as two rows.
13. Review the mapping settings.
14. Click Finish.
When using InfoSphere CDC for InfoSphere DataStage, you have the option of
generating a job definition in InfoSphere CDC without the need to create it in
InfoSphere DataStage Designer, or you can create a custom data format if you are
using an existing format you created in InfoSphere DataStage Designer. Before you
generate a definition file, you must map your tables.
When using InfoSphere CDC for InfoSphere DataStage, you can generate a job
definition containing default data formatting in Management Console without the
need to create it in InfoSphere DataStage Designer. After mapping your tables to
InfoSphere DataStage, you can generate a job definition file (*.dsx) that describes
the default data format of the flat file generated by InfoSphere CDC among other
things. You import this file into InfoSphere DataStage Designer to create a template
set of jobs into which you can add business logic and customize as necessary.
Generating an InfoSphere DataStage definition .dsx file is most useful to users who
do not already have existing or custom InfoSphere DataStage jobs set up. If you
have existing jobs in InfoSphere DataStage, or you have made changes to the data
format that will be sent by InfoSphere CDC to InfoSphere DataStage, you should
consider creating a custom data format for InfoSphere DataStage.
For the Flat File connection method, the package consists of a job sequence, a
parallel job, and two utility routines that are used by the job sequence. The job
sequence has three parameters. The values for these parameters are specified by
Management Console when it generates the InfoSphere DataStage .dsx definition
file:
v SPFolderPaththe full path name for the folder to be searched.
v SPFileNamePatternthe file name pattern used to identify the source flat files.
v SPEndFileNamePatternthe file name that InfoSphere CDC creates when
subscriptions stop mirroring. The name of this file signals InfoSphere DataStage
to stop. If you do not want InfoSphere DataStage to stop, you can change the
name of the file with this parameter.
For the Direct Connect connection method, the data is not written to a file, but is
sent instead over a TCP/IP connection directly to InfoSphere DataStage to be
processed by a specific InfoSphere DataStage job that you have identified by
specifying the matching Project Name, Job Name, and Connection Key in the
InfoSphere DataStage Properties dialog box in Management Console after
mapping your tables. The InfoSphere DataStage Connector processes the data, then
transforms and translates it into a format recognized by the InfoSphere DataStage
job.
You can customize the data that is being generated by InfoSphere CDC and sent to
InfoSphere DataStage by specifying a Java class. This is ideal for users who have
existing InfoSphere DataStage jobs that expect a particular data format. If you use
a custom data format that changes the default format of the flat file sent from
InfoSphere CDC to InfoSphere DataStage, the .dsx file described in Using
Management Console to generate a definition file on page 100 won't be useful
because it contains only default data formatting. If you have created and imported
a .dsx file into InfoSphere DataStage, you must ensure that it is still relevant in
InfoSphere DataStage Designer.
See also:
To generate an InfoSphere DataStage definition file on page 102
Adaptive Apply ensures that replicated rows in the source and target tables are the
same. You can also use Adaptive Apply to restore the contents of a target table
from recorded journal or log entries. To do this, you set the journal or log position
to a specific entry or point in time, and then use Adaptive Apply to populate an
empty target table with the latest data.
See also:
To map a source table using Adaptive Apply
To map a table for bulk Adaptive Apply on page 104
To map multi-member source tables using Adaptive Apply on IBM i on page
105
Notes:
When this option is checked, if the source table is reorganized,
InfoSphere CDC will automatically start a refresh for that table.
If no Relative Record Number is available on the target table (for
example, if the table resides on a non-IBM i system), you can still make
use of this option by mapping the Relative Record Number on the source
table to a column in the target table to. For more information, see
Source RRN (&CNTRRN) on page 174.
This option is only available when you have installed InfoSphere CDC
for IBM i on the source database.
14. Verify the mappings in the Complete Mappings dialog, and click Next.
Note: The Map Tables wizard may leave some source tables unmapped if it
did not find a target table that shared the same table structure or similar
column names. You must map these manually.
Notes:
When this option is checked, if the source table is reorganized,
InfoSphere CDC will automatically start a refresh for that table.
If no Relative Record Number is available on the target table (for
example, if the table resides on a non-IBM i system), you can still make
use of this option by mapping the Relative Record Number on the source
table to a column in the target table to. For more information, see
Source RRN (&CNTRRN) on page 174.
This option is only available when you have installed InfoSphere CDC
for IBM i on the source database.
13. Review the mapping settings.
14. Choose one of the following options and click Finish:
v Define column mappingsContinues with the column mapping.
v Create a new table mappingAllows you to start a new table mapping.
v Return to current viewReturns you to the current view.
See also:
To map a source table to summarize data
To map multi-member source tables using Summarization on IBM i on page
108
Notes:
When this option is checked, if the source table is reorganized,
InfoSphere CDC will automatically start a refresh for that table.
If no Relative Record Number is available on the target table (for
example, if the table resides on a non-IBM i system), you can still make
use of this option by mapping the Relative Record Number on the source
See also:
To map a source table to consolidate data (one-to-one)
To map multi-member source tables using Consolidation One-to-One on IBM
i on page 112
Related concepts
Mapping using standard replication on page 83
Adding and mapping derived columns to target columns on page 154
Related tasks
To map a source table to consolidate data (one-to-many) on page 114
To map multi-member source tables using Consolidation one-to-many on IBM i
on page 116
Related reference
Retrieve column%GETCOL (Dynamic SQL) on page 252
Notes:
The following example illustrates how InfoSphere CDC can update regional tax
code information in a target table that was mapped to a source table using One to
Many Consolidation. When there are updates made to the lookup table
TAXCODES, InfoSphere CDC updates these columns in the target table.
See also:
To map a source table to consolidate data (one-to-many)
To map multi-member source tables using Consolidation one-to-many on IBM
i on page 116
Notes:
When this option is checked, if the source table is reorganized,
InfoSphere CDC will automatically start a refresh for that table.
If no Relative Record Number is available on the target table (for
example, if the table resides on a non-IBM i system), you can still make
use of this option by mapping the Relative Record Number on the source
table to a column in the target table to. For more information, see
Source RRN (&CNTRRN) on page 174.
This option is only available when you have installed InfoSphere CDC
for IBM i on the source database.
14. Review the mapping settings.
15. Choose one of the following options and click Finish:
v Define column mappingsContinues with the column mapping.
v Create a new table mappingAllows you to start a new table mapping.
v Return to current viewReturns you to the current view.
16. After you map your lookup table for one-to-many consolidation, set the
following on the table mapping:
a. Select the table mapping you just created in the Table Mappings view and
right-click Open Mapping Details.
b. Verify your column mappings to the target table on the Column
Mappings tab. Make sure that the appropriate columns from the lookup
table are mapped to the target table.
c. Select Update all if exists from the On Insert list on the Operations tab.
This ensures that InfoSphere CDC updates all rows where the
consolidation key is the same when there is an insert on the lookup table.
d. Click Apply.
See also:
To map tables for a subscription on an external datastore on page 118
Using InfoSphere CDC Management Console, you can map source columns to
XML elements and attributes. When you start mirroring and if there is a row-level
operation on your source table, InfoSphere CDC Event Server receives and applies
the row-level operation to the XML document which is sent to a JMS message
destination (queue or topic). Before you can use InfoSphere CDC Event Server to
transform table data in XML, you must install and setup a InfoSphere CDC source
product that can scrape row-level operations (inserts, updates, and deletes) from
your source database.
InfoSphere CDC Event Server is a target-only product. This means that InfoSphere
CDC Event Server can only receive row-level and table-level operations already
replicated from another supported InfoSphere CDC product that you have
installed. You must install another InfoSphere CDC product and connect to this
datastore so that you can select the source tables you want to make available for
replication. You can then continue to add a subscription that uses InfoSphere CDC
Event Server as the target datastore.
Management Console lets you create an XML message for subscriptions that target
JMS message destinations. In addition to the existing mapping details that you can
configure with other InfoSphere CDC products you install, Management Console
provides additional configuration details available only with subscriptions created
with InfoSphere CDC Event Server:
v XML Message tabUse this tab to create your XML message, import and export
mapping projects, import and export XML schemas, build XPath expressions,
and query columns from other tables if required.
v XML Settings tabUse this tab to set JMS message header properties and set
general runtime options.
As with other InfoSphere CDC products, the Filtering tab, the Translation tab, and
the User Exits tab are available for configuration with InfoSphere CDC Event
Server. The Column mappings tab and the Operations tab are only available if you
have mapped your source table to a target staging table.
v Column Mapping tabUse this tab to map source columns to columns in a
target staging table. InfoSphere CDC Event Server provides an embedded
staging database as a temporary repository for your source table before it is
converted into XML. This tab is only available if you have you have mapped
your source table to a target staging table using the Standard mapping type in
the Map Tables wizard. You may want to map your source table to a target
staging table when:
See also:
To map multiple source tables to a JMS message destination on page 121
To map a single source table to a JMS message destination on page 122
To stage a source table on page 124
See also:
To remap a source table
To remap a source table (InfoSphere CDC Event Server) on page 126
See also:
To copy selected table mappings
To copy selected table mappings for an external target datastore on page 127
Related concepts
Copying subscriptions on page 59
See also:
To delete a table mapping
To delete a table mapping (InfoSphere CDC Event Server)
See also:
To export a subscription into an XML file
To export selected table mappings into an XML file
To import a subscription from an XML file on page 130
See also:
To specify batch size thresholds for an InfoSphere DataStage subscription
To specify large object truncation size for an InfoSphere DataStage
subscription
To specify the file name format for an InfoSphere DataStage subscription on
page 133
To specify Direct Connect settings for an InfoSphere DataStage subscription
on page 133
Related concepts
InfoSphere DataStage system parameters on page 624
Related tasks
To specify Direct Connect settings for an InfoSphere DataStage subscription on
page 133
The following considerations and restrictions exist for the replication of data types:
v InfoSphere CDC casts data into and out of the database with LOB,
CLOB, XML, and SQL_VARIANT data types. Due to this limitation imposed by
the database, mirroring and refresh performance may be reduced when
replicating these data types.
v In addition to the listed data types, InfoSphere CDC supports Alias
Data Types (ADT) in all versions of Microsoft SQL Server.
v User-defined data types that are not aliases of standard database data types
cannot be replicated by InfoSphere CDC. Tables where unsupported data types
are present will not be included in the catalog and are not available for
mapping.
v InfoSphere CDC does not provide support for columns of type
BFILE or CFILE.
v If you are replicating the TIMEZONE data type and the source and
target have a different TIMEZONE value, the data replicated will be adjusted
and use the source TIMEZONE value.
v InfoSphere CDC provides support for the ROWID and XML data types and this
includes the use of SQL*Loader to load the data into the source table.
v The LOAD utility is not supported with LOB and XML columns.
v Support for CHAR and VARCHAR data types includes BIT, MIXED
and SBCS
v InfoSphere CDC can replicate IMAGE, TEXT, NTEXT,
VARBINARY(MAX), NVARACHAR(MAX), and VARCHAR(MAX) data types of
unlimited length.
v Binary data in derived expressions is not supported
v You cannot map a binary type target table column to a constant or
journal control field
v Binary data columns are not supported for value translations.
InfoSphere CDC can replicate LOB data types of all lengths supported by the
source and target DBMS.
InfoSphere CDC can replicate data in XML columns available in your database.
When replicating XML data, consider the following:
v InfoSphere CDC for z/OS version 6.2 and earlier running on a
source or target does not support the replication of XML data.
DB2 LUW
For the purposes of supported table mappings, the following text offers a
definition of binary and text fields:
v A text field is any CHAR, VARCHAR, GRAPHIC, VARGRAPHIC, BINARY,
VARBINARY, BLOB, CLOB or DBCLOB column which has a CCSID (code page)
or an XML column. By default, columns will have a CCSID or not, based on
their definition in DB2. This CCSID, or lack of it, can be overridden using the
Encoding tab in the Mapping Details view. Any text field can be mapped to
any other text field.
v A binary field is any CHAR, VARCHAR, GRAPHIC, VARGRAPHIC, BINARY,
VARBINARY, BLOB, CLOB or DBCLOB column which does not have a CCSID
(code page). By default, columns will have a CCSID or not, based on their
definition in DB2. This CCSID, or lack of it, can be overridden using the
Encoding tab in the Mapping Details view. Any binary field can be mapped to
any other binary field.
Oracle
Oracle Trigger
Sybase
Teradata
See also:
To map a source column to a target column
Journal control fields are especially useful when you want to audit the changes
that are taking place in your source environment. These are available to you when
you select LiveAudit as your mapping type.
See also:
To map a journal control field to a target column
Related concepts
About journal control fields on page 173
Mapping using LiveAudit on page 91
See also:
To map an expression to a target column
To accumulate or deduct numeric data on a target column on page 152
Related concepts
Mapping to summarize data on page 107
Related tasks
To configure a derived column or an expression that calls %STPROC (Oracle and
Sybase) on page 207
See also:
To map columns automatically
See also:
To define an initial value for a target column
For example, you may have already defined an expression that concatenates the
values of two source columns, FIRSTNAME and LASTNAME, and mapped this
expression to a target column named called FULLNAME. When you start
replication, InfoSphere CDC evaluates the expression on the target instance and
stores the results in the FULLNAME target column.
In each of these scenarios, you can then map the derived column to the
appropriate target column. InfoSphere CDC will evaluate the expression on the
source table and send the results to the target column.
Since the derived expression is evaluated each time a change is replicated to the
target table, the complexity of the expression can affect overall performance.
See also:
To add a derived column
To map a derived column to a target column on page 156
To modify a derived column on page 156
To delete a derived column on page 157
You can define data translations for different data types and should only be used
when there is a limited number of translations, such as translating product codes
to their descriptions.
See also:
To add a data translation on page 160
To modify a data translation on page 160
When you import a data translation into Management Console, any existing
translations are replaced with the imported translations.
See also:
To export a data translation
To import a data translation on page 162
By default, InfoSphere CDC assumes that the data stored in a character capable
column is in the encoding associated with that column type. For instance, if your
database is set to use Shift-JIS, then data stored in CHAR and VARCHAR columns
is assumed to be in Shift-JIS by default. However, InfoSphere CDC is only
concerned with the encoding of the data, not the encoding of the column storage
type. This flexibility allows the product to deal with situations where the encoding
of the data does not match the encoding specified for the column in the database.
The ability to override the detected encoding is determined by InfoSphere CDC.
Overriding the detected column encoding allows you to specify the actual
encoding of the data as known by you.
There may be situations where you want to replicate the data exactly as is with no
change to encoding. In these situations, you can designate the column as being
binary and the data will be replicated as is. All binary designated column data
must also be mapped to binary column data.
Encoding conversion can increase the workload for your source or target servers.
InfoSphere CDC provides the ability to specify (with a subscription-level
preference) where that workload will be incurred on either the source or the
target.
InfoSphere CDC also provides an upgrade process for subscriptions that use older
implementations (InfoSphere CDC version 6.3 and earlier) of MBCS support.
Management Console allows you to quickly convert subscriptions to the
auto-encoding mode for MBCS data that is available in InfoSphere CDC version
6.5.
In this scenario, you have a DB2 z/OS source database with data in Simplified
Chinese and a default database character set encoding of CCSID 935. Your target
database is a DB2 for Windows system with data in Simplified Chinese and a
default character set encoding of GB18030 (CCSID 1392).
InfoSphere CDC will automatically detect the default database encoding of the
source and target columns in your table mappings. If the detected encodings are
appropriate for your business needs, no further configuration is required.
The default encoding of a column in a database can be different from the data
itself. InfoSphere CDC allows you to deal with these situations by allowing you to
override the detected encoding of a column.
For example, you have a source database with a default encoding of Windows-1252
and you want to replicate CHAR data to your target. You also have Shift-JIS
character data in CHAR columns in your source database. InfoSphere CDC will
likely detect that all CHAR columns in your source database are Windows-1252
because this is the encoding of the column in your database or the default database
encoding. InfoSphere CDC will determine if you can select an encoding that is
more appropriate for your data. If InfoSphere CDC allows it, you can override the
Windows-1252 encoding and select Shift-JIS encoding for those columns that
contain Shift-JIS data.
In this scenario, your source data is a mix of different character encodings but is
primarily IBM-943. Business requirements dictate that you must have the following
character encodings on your target: IBM-943 and IBM-943c.
InfoSphere CDC allows you to override the detected encodings in your target
columns and set them to either IBM-943 or IBM-943c.
You can replicate data as is with no change to the encoding by designating the
source and target columns in a table mapping as a binary with the Override
encoding as binary option in Management Console.
In this scenario, your DB2 for z/OS source has data structures in a character field.
The data structure contains EBCDIC characters, dates, and packed numbers. You
want to use a user exit to split the data and send it to 10-20 fields on your target.
You can use the Java getBytes function in your user exit to read the data and
perform the data conversion. Since the getBytes function is only allowed on a
binary field or a character field that is overridden in Management Console as a
binary, you can use Override encoding as binary option for the source and target
columns in the table mapping. This will allow getBytes to retrieve data from the
source image as bytes.
The Override encoding as binary option is useful in scenarios where the character
column does not contain characters only, but other data types with complex
structures.
In this scenario, you have source column with various encodings in a binary field.
You use row filtering when replicating tables to the target so that you only have
one type of encoding on the target. In the source columns that are detected as
Binary by Management Console, you can override the detected encoding type of
Binary and select the encoding that is appropriate for the actual data in each
source column. In this scenario, you can have the same source table mapped to the
same target table, but the encodings on the source binary columns are different
from the single encoding that is found on your target.
Related concepts
Configuring MBCS encoding conversion between your source and target on page
167
Handling Unicode character encoding on page 169
To use auto-encoding mode for subscriptions created with InfoSphere CDC version
6.3 and earlier:
1. Upgrade your target datastore to InfoSphere CDC version 6.5.
2. Upgrade your source datastore to InfoSphere CDC version 6.5.
3. Upgrade subscriptions that were created with InfoSphere CDC version 6.3 by
following the procedure outlined in this section.
Note: All subscriptions created with a new installation of InfoSphere CDC version
6.5 will automatically use auto-encoding mode.
See also:
To upgrade subscriptions to use auto-encoding mode on page 167
InfoSphere CDC automatically detects the default database encoding for source
and target columns in a table mapping. If your database supports it, you can
choose to override the default encoding for a column if this suits your business
needs. If the detected default encodings are appropriate for your business needs,
no further changes are necessary.
For InfoSphere CDC version 6.3 and earlier, Management Console provides
standard character sets and encodings. To add additional character sets and
encodings, use the CSV (comma separated variable) template that is found in the
Advanced preferences of Edit > Preferences. This step is not necessary for
InfoSphere CDC version 6.5, which retrieves the supported encodings directly from
your datastores.
See also:
To configure MBCS encoding conversion
Encoding conversion is one process that respects this preference. There are a
number of factors that influence where the encoding conversion will take place
and because of these, this preference is not a guarantee. Factors influencing where
the encoding conversion takes place include the encoding conversion capabilities of
the source and target, and the number of table mappings of a single source column
to target columns.
See also:
To set the workload preference on page 169
Note: If your target datastore is InfoSphere CDC for IBM InfoSphere DataStage,
encoding conversion workload will always take place on the server where your
target datastore is installed.
5. Click OK and click OK again.
6. A progress bar is displayed while Management Console updates the
subscription properties.
Related concepts
Specifying the workload preference on page 168
Use the Encoding tab in the Mapping Details view of Management Console to set
how InfoSphere CDC handles Unicode data from the source column. If your source
column contains character data stored in multibyte, double-byte, or Unicode
character set, then you can indicate how InfoSphere CDC handles data from this
source column when replicating to a target column.
Management Console provides standard character sets and encodings. If you want
to add more character sets and encodings, then you are required to add it to the
CSV template that is found in the Advanced preferences in Edit > Preferences.
Before you can configure how InfoSphere CDC handles Unicode data, you need to
set one of the following system parameters (depending on the version and
platform of InfoSphere CDC) to define the system default method of handling data
in Unicode columns:
v For InfoSphere CDC for Oracle (version 6.3), see global_unicode_as_char on
page 472.
v For InfoSphere CDC for Oracle - Trigger (version 6.3), see
global_unicode_as_char on page 484.
v For InfoSphere CDC for Oracle (version 6.2 and earlier), see
UNICODE_HANDLING on page 439.
v For InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier), see
Unicode Handling on page 397.
See also:
To set handling for Unicode character encoding
Before adding a member identifier, you need to create a column on the target table
that can maintain the identifiers for the members in your source table. After
creating the target column, map the journal control field &MEMBER to this
column.
See also:
To add a member identifier
To modify a member identifier on page 172
To delete a member identifier on page 172
InfoSphere CDC provides many journal control fields that contain log entries from
your source systems. You can map journal control fields to columns on the target
system. InfoSphere CDC replicates the log information from the source system and
applies this information to the mapped columns on your target system. For
example, you may want to maintain when the last replicated change was applied
to each row in a table on the source system. To capture this information for each
row in a table on the target system, you can add a column to the table and map
that column to the appropriate journal control field. You can also include journal
control fields in row selection and derived expressions.
Before using a journal control field, you should consider the following:
v If you have installed InfoSphere CDC Version 5.2 or higher, some journal control
fields contain non-character data. Depending on the source and target database
vendors, InfoSphere CDC converts these values to character data before they are
passed to a user exit program. For more information, see the appropriate User
Exits section for your platform.
v Depending on the type of platform you have installed InfoSphere CDC and the
replication method (mirror or refresh), some journal control fields may or may
not be supported.
v If you have installed InfoSphere CDC for z/OS and you want to build an
expression with &MEMBER, then you need to enclose this journal control field
in single quotes.
v InfoSphere CDC does not support the mapping of journal control fields to LOB
columns in a target table.
See also:
Commit Cycle ID (&CCID) on page 174
Source RRN (&CNTRRN) on page 174
Entry Type Code (&CODE) on page 175
Entry Type (&ENTTYP) on page 175
Source Job Name (&JOB) on page 176
InfoSphere CDC SupportSupport for this journal control field is available only
when InfoSphere CDC mirrors data, and is not available when refreshing data. If
you decide to use this journal control field when refreshing data, InfoSphere CDC
sets this journal control field to a default value of 0.
Data TypeCharacter
For each journal entry code there are one or more possible journal entry types that
provide more detailed information about the entry. For more information, see
Using journal control fields for auditing replication activities on page 173.
You can use journal entry types for auditing events that occur between your source
and target tables. For example, you can use a journal entry type to label each audit
record with the event that occurred on your source table that caused the audit
record to be written to the target table. This is represented by a distinct two-letter
code.
Data TypeCharacter
Data TypeCharacter
Data TypeCharacter
Data TypeCharacter
Depending on the version of InfoSphere CDC you install, the high byte of this
journal control field identifies the name of the journal, and the low byte of this
field identifies the library where it resides. For example, JRN1 LIB1.
Data TypeCharacter
If both the name and library are included in this journal control field, then
&JRNLIB journal control field is not supported by InfoSphere CDC.
v InfoSphere CDC for IBM iSupport for this journal control field is available
only when InfoSphere CDC mirrors data, and is not available when refreshing
data. When mirroring data, it contains the journal name and journal library. If
you decide to use this journal control field when refreshing data, InfoSphere
CDC sets this journal control field to UNKNOWN.
v InfoSphere CDC for Oracle Trigger version 6.0 and earlierSupport for this
journal control field is available only when InfoSphere CDC mirrors data, and is
not available when refreshing data. When mirroring data, this journal control
field contains the journal name in the format <schema>.<journal>. If you decide
to use this journal control field when refreshing data, InfoSphere CDC sets this
journal control field to NULL.
v InfoSphere CDC for Microsoft SQL ServerSupport for this journal control
field is available only when InfoSphere CDC mirrors data, and is not available
when refreshing data. If you decide to use this journal control field when
refreshing data, InfoSphere CDC leaves this journal control field empty.
v InfoSphere CDC for DB2 UDBSupport for this journal control field is
available only when InfoSphere CDC mirrors data, and is not available when
Data TypeCharacter
Data TypeCharacter
Data TypeCharacter
Data TypeCharacter
Data TypeCharacter
Data TypeCharacter
InfoSphere CDC generates multiple journal codes. Journal codes represent events
that take place in your source database. You can customize the journal codes by
building an expression with the %IF column function. For more information, see
Translating journal codes into meaningful information on page 187.
See also:
Table Clear
Delete on page 185
Insert on page 186
Update Before on page 186
Update After on page 186
Table Clear
The Table Clear events clear data in a table on the source system. Depending on
the type of Table Clear event that has taken place on the source system, InfoSphere
CDC supports an IBM i journal code.
Delete
The Delete events delete records in a table on the source system. Depending on the
type of Delete event that has taken place on the source system, InfoSphere CDC
supports an IBM i journal code.
Update Before
The Update Before events provide you with the before image of records updated in
a table on the source system. Depending on the type of Update Before event that
has taken place on the source system, InfoSphere CDC generates a journal code.
Update After
The Update After events provide you with the after image of records updated in a
table on the source system. Depending on the type of Update After event that has
taken place on the source system, InfoSphere CDC generates a journal code.
The journal codes your system generates depend on the database platform that
you are using. You may want to customize journal codes so that they are more
meaningful in your organization. For example, instead of having the journal code
"PT" to indicate that there has been a new row inserted in your source table, you
may want to use a one-letter code such as "I" to identify the insert.
The %IF column function evaluates conditional expressions and returns different
values if the expression is true or false. The example below illustrates how you can
use the %IF column function to convert journal codes into custom letters
%IF(&ENTTYP=PT OR &ENTTYP="RR","I", %IF(&ENTTYP= "UB", "B", %IF(&ENTTYP= "UP",
"A", %IF(&ENTTYP="DL","D","R"))))
Also, if you have mapped your tables using LiveAudit, then you can specify that
InfoSphere CDC provide an audit trail each time there is an table-level clear or
refresh operation applied to the target table.
See also:
To keep all rows on a refresh
To delete all rows on a refresh on page 190
To audit rows on a refresh on page 190
You can also specify additional SQL statements that execute after InfoSphere CDC
applies a table refresh or truncate/clear operation to the target table.
For all InfoSphere CDC products (except for InfoSphere CDC for z/OS and
InfoSphere CDC for DB2 LUW), you need to run the DMSQL command to enable
the Additional SQL feature in Management Console. For more information, see
the commands section of the appropriate InfoSphere CDC End-User Documentation
for your InfoSphere CDC product.
If you have installed InfoSphere CDC for z/OS, then you need to set the keyword
ALLOWSQL to YES to enable theAdditional SQL feature in Management Console.
You can add this keyword to the TSDDBMxx Configuration Control data set
member. For more information about this keyword, see Section 4.3 Modifying
DBMS LOAD Configuration Control Statements in the InfoSphere CDC for z/OS
End-User Documentation.
If you have installed InfoSphere CDC for DB2 LUW, then you need to create a
metadata table to enable the Additional SQL feature in Management Console. For
more information, see InfoSphere CDC for DB2 LUW End-User Documentation.
See also:
To specify additional SQL after a refresh
To delete selected rows on a refresh
Subscription-level user exits can work in tandem with table-level user exits, to
keep track of which table-level user exits were invoked during a transaction. The
subscription-level user exit could then use that information to apply actions based
on the tables in the transaction.
User exits can be grouped as either a Before User Exit or an After User Exit:
v Before User Exitruns before InfoSphere CDC replicates any row-level or
table-level operations to the target table.
The following list identifies common scenarios for developing a user exit program
before or after row or table-level operations:
v Customize when InfoSphere CDC replicates a row-level operation to the target
table. For example, you can develop logic for insert, update, or delete operations
so that these occur based on some specified criteria, such as the original invoice
date. InfoSphere CDC can run the user exit and apply the row-level operation
(insert, update, or delete) to the appropriate target table based on the original
invoice date, such as, January 2004, February 2004, November 2006, and so on.
v Disable the default row-level or table-level operations, and replace them by
invoking a user exit program that performs custom operations. For example, in
response to a table-level truncate operation, you can develop a user exit that lets
you do a soft delete rather than a hard delete on the target table.
See also:
To configure a stored procedure
To configure a derived column or an expression that calls %STPROC, %USER,
or %USERFUNC on page 197
To configure a user exit for a Java class on page 198
Option Description
Before Insert InfoSphere CDC runs the user exit before
replicating an insert operation.
After Insert InfoSphere CDC runs the user exit after
replicating an insert operation.
Option Description
UE1 If it is a stand-alone class
<Java package>.UE1 If the class is included in a Java package (for
example, com.ibm.interface.UE1)
The files you generate from compiling the user exit program must be located
in a library or folder that is referenced by the CLASSPATH environment
variable.
8. Type the parameters that you want to make available to the user exit program
in the Parameter box.
You can access the parameters in the user exit program class by invoking the
getParameter( ) method during the initialization process. There are no
conventions for specifying the parameters. The values you type in this box are
free-form. The string of parameter values cannot exceed 255 characters in
length.
9. Type the name of the user exit programs you want InfoSphere CDC to call
beside one or more of the following operations:
IDispatch COM DLL (InfoSphere CDC for Microsoft SQL Server)You can
invoke at runtime a function you defined using IDispatch. When configuring an
IDispatch COM DLL user exit,Management Console lets you enable or disable user
exits developed for IDispatch. Before you can use Management Console to
configure a user exit, you need to do the following in Microsoft SQL Server:
v Create the user-defined function.
v Create the user exit.
v Extract or build the DLL file and place it in a location. For example, C:\Program
Files\Microsoft SQL Server\MSSQL\Bin (or wherever appropriate).
v If you are using Visual Basic, you must reference the library dts_usrext.tlb
after starting Visual Basic. InfoSphere CDC provides a predefined interface
(IDTS_UserExit) so that InfoSphere CDC can interact with the server object you
define. The interface contains four predefined user exit program stubs that you
should not modify. As a result, you can only select (not name) the functions that
you want to call at the various processing points. For more information, see
your user exits documentation for InfoSphere CDC for Microsoft SQL Server.
C or C++ (InfoSphere CDC for Microsoft SQL Server)You can specify a DLL
library that contains the compiled user exit program.
Java ClassFor Java class user exits, method names are pre-defined. This means
that you can only enable and disable user exit programs. You need to configure a
user exit in java that implements the UserExitIF interface class. For more
information about this class, see the InfoSphere CDC End-User Documentation for
each of these platforms.
See also:
To configure for IDispatch COM DLL
To configure for C or C++ on page 201
To configure a stored procedure on page 202
Related concepts
Configuring table-level user exits for InfoSphere CDC for Microsoft SQL Server
on page 199
Option Description
Before Insert InfoSphere CDC runs the user exit before
replicating an insert operation.
After Insert InfoSphere CDC runs the user exit after
replicating an insert operation.
Before Update InfoSphere CDC runs the user exit before
replicating an update operation.
Notes:
v InfoSphere CDC supports fully qualified image table names to a maximum
of 100 characters in length, but database naming restrictions still apply. Note
that InfoSphere CDC does not verify whether an image table name
conforms to a database naming convention. If you are referencing a
database or table that contains spaces, then you must enclose the name in
square brackets. For example, to reference the table name "EMP NY", you
must enter it as [EMP NY].
v The image tables and the target tables should reside in different databases
to prevent any possibility of locking the database.
12. If you want to create permanent tables using Management Console, then click
Create Tables.
13. If you want to retrieve the current constant value (also known as the before or
after image of the source row) and pass it to a user exit program that runs
before or after a row-level operation is replicated to the target table, then
check the Update All Columns box.
14. Type the name of the user exit programs you want InfoSphere CDC to call
beside one or more of the following operations:
Option Description
Before Insert InfoSphere CDC runs the user exit before
replicating an insert operation.
After Insert InfoSphere CDC runs the user exit after
replicating an insert operation.
Before Update InfoSphere CDC runs the user exit before
replicating an update operation.
Stored ProcedureYou can configure a stored procedure user exit for InfoSphere
CDC. You need to identify the schema that contains the stored procedure and
identify the InfoSphere CDC operations on which you want to run the user exit.
InfoSphere CDC can call your stored procedure from either the source or target
when you use the %STPROC column function in an expression. If you want
InfoSphere CDC to evaluate and call your stored procedure on the source, then
you need to add a derived column. If you want InfoSphere CDC to evaluate and
call your stored procedure on the target, then you need to build an expression.
See also:
To configure a C shared library on page 205
To configure a stored procedure (Oracle and Sybase) on page 206
Option Description
Before Insert InfoSphere CDC runs the user exit before
replicating an insert operation.
After Insert InfoSphere CDC runs the user exit after
replicating an insert operation.
Before Update InfoSphere CDC runs the user exit before
replicating an update operation.
After Update InfoSphere CDC runs the user exit after
replicating an update operation.
Before Delete InfoSphere CDC runs the user exit before
replicating a delete operation.
After Delete InfoSphere CDC runs the user exit after
replicating a delete operation.
Before Refresh InfoSphere CDC runs the user exit before
replicating a refresh operation.
After Refresh InfoSphere CDC runs the user exit after
replicating a refresh operation.
Before Truncate InfoSphere CDC runs the user exit before
replicating a truncate operation.
After Truncate InfoSphere CDC runs the exist after
replicating a truncate operation.
11. Specify the parameters that you want InfoSphere CDC to pass to the user exit
program.
12. Click Save.
In some environments, the target table may contain one or more columns that
store user-defined constants. Other applications usually maintain these
constant values, and they are not affected by InfoSphere CDC. If you do not
enable Retrieve Current Value, then InfoSphere CDC passes the default
Option Description
Before Insert InfoSphere CDC runs the user exit before
replicating an insert operation.
After Insert InfoSphere CDC runs the user exit after
replicating an insert operation.
Before Update InfoSphere CDC runs the user exit before
replicating an update operation.
After Update InfoSphere CDC runs the user exit after
replicating an update operation.
Before Delete InfoSphere CDC runs the user exit before
replicating a delete operation.
After Delete InfoSphere CDC runs the user exit after
replicating a delete operation.
Before Refresh InfoSphere CDC runs the user exit before
replicating a refresh operation.
After Refresh InfoSphere CDC runs the user exit after
replicating a refresh operation.
Before Truncate InfoSphere CDC runs the user exit before
replicating a truncate operation.
After Truncate InfoSphere CDC runs the exist after
replicating a truncate operation.
See also:
To configure a standard function
Option Description
Before Insert InfoSphere CDC runs the user exit before
replicating an insert operation.
After Insert InfoSphere CDC runs the user exit after
replicating an insert operation.
Before Update InfoSphere CDC runs the user exit before
replicating an update operation.
After Update InfoSphere CDC runs the user exit after
replicating an update operation.
Before Delete InfoSphere CDC runs the user exit before
replicating a delete operation.
After Delete InfoSphere CDC runs the user exit after
replicating a delete operation.
Before Refresh InfoSphere CDC runs the user exit before
replicating a refresh operation.
After Refresh InfoSphere CDC runs the user exit after
replicating a refresh operation.
Before Truncate InfoSphere CDC runs the user exit before
replicating a truncate operation.
After Truncate InfoSphere CDC runs the exist after
replicating a truncate operation.
9. Click Save.
Related concepts
Configuring table-level user exits for InfoSphere CDC for IBM i (version 6.2 and
below) or InfoSphere CDC for z/OS on page 207
For example, you may have an existing InfoSphere DataStage file-based job that
will not read the default data format generated by Management Console. In this
case, it may be easier for you to specify a Java class to customize the data format
rather than modifying your existing InfoSphere DataStage job.
A Java class that creates a custom data format must implement the
DataStageDataFormatIF interface.
See also:
To create a custom data format for InfoSphere DataStage
Subscription-level user exits can work alone or in tandem with table-level user
exits, to keep track of which table-level user exits were called during a transaction.
The subscription-level user exit could then use that information to apply actions
based on the tables in the transaction.
See also:
To configure a user exit for a subscription
You can run user exits either before or after the following conditions:
v Row level operations are applied to a table in a staging database
v Row level operations are applied to a JMS message destination
v Row level operations are applied to a table in a staging database and a JMS
message destination
For an example of a user exit that overrides the JMS properties of an existing
source table to XML mapping, see SampleUserExit1.java located in the samples
folder or directory of your InfoSphere CDC Event Server installation.
See also:
Option Description
Insert InfoSphere CDC Event Server runs the user
exit before or after applying an insert
operation to a table you have staged, before
or after applying an insert operation to a
JMS message destination, or both.
Update InfoSphere CDC Event Server runs the user
exit before or after applying an update
operation to a table you have staged, before
or after applying an update operation to a
JMS message destination, or both.
Delete InfoSphere CDC Event Server runs the user
exit before or after applying a delete
operation to a table you have staged, before
or after applying a delete operation to a JMS
message destination, or both.
Refresh InfoSphere CDC Event Server runs the user
exit before or after applying a refresh
operation to a table you have staged, before
or after applying a refresh operation to a
JMS message destination, or both.
Truncate InfoSphere CDC Event Server runs the user
exit before or after applying a truncate
operation to a table you have staged, before
or after applying a truncate operation to a
JMS message destination, or both.
For an example of a user exit that sends an XML message to a different JMS
message destination, see SampleUserExit2.java located in the samples folder or
directory of your InfoSphere CDC Event Server installation.
See also:
To send the XML message to another JMS message destination
For example, the following user exit applies XSLT on an existing XML message:
}
/**
* Apply XSLT transform to the output message
* @throws UserExitException
*/
private void applyXslt(EventServerIF eventServer, ReplicationEventIF p_Event)
throws UserExitException
{
//Get TS/ES XML Engine to create the xml file
See also:
To create an XML message and apply XSLT
Option Description
Insert InfoSphere CDC Event Server runs the user
exit before or after applying an insert
operation to a table you have staged, before
or after applying an insert operation to a
JMS message destination, or both.
You need to create the JMS destination you want to send the XML message to
using Java JMS methods. For more information, see http://java.sun.com/
products/jms/javadoc-102a/index.html.
See also:
To send an XML message to a different JMS message destination
Option Description
Insert InfoSphere CDC Event Server runs the user
exit before or after applying an insert
operation to a table you have staged, before
or after applying an insert operation to a
JMS message destination, or both.
Update InfoSphere CDC Event Server runs the user
exit before or after applying an update
operation to a table you have staged, before
or after applying an update operation to a
JMS message destination, or both.
Delete InfoSphere CDC Event Server runs the user
exit before or after applying a delete
operation to a table you have staged, before
or after applying a delete operation to a JMS
message destination, or both.
Refresh InfoSphere CDC Event Server runs the user
exit before or after applying a refresh
operation to a table you have staged, before
or after applying a refresh operation to a
JMS message destination, or both.
Truncate InfoSphere CDC Event Server runs the user
exit before or after applying a truncate
operation to a table you have staged, before
or after applying a truncate operation to a
JMS message destination, or both.
By developing a user exit, you can call a web service with InfoSphere CDC Event
Server. For example, you may be using a web service application to keep track of
new customers that have just registered online. You can access content from the
Web service application to include it in an XML message you configured with
InfoSphere CDC Event Server.
For an example of a user exit that queries a Web service, see SampleUserExit3.java
located in the samples folder or directory of your InfoSphere CDC Event Server
installation.
See also:
To query a Web service to access content
Option Description
UE1 If it is a stand-alone class
<Java package>.UE1 If the class is included in a Java package (for
example, com.datamirror.interface.UE1). The
files you generate from compiling the user
exit program must be located in a library or
folder that is referenced by the CLASSPATH
environment variable.
9. Type the parameters that you want to make available to the user exit program
in the Parameter box.
You can access the parameters in the Java class by invoking the getParameter()
method during the initialization process. There are no conventions for
specifying the parameters. The values you type in this box are free-form. The
string of parameter values cannot exceed 255 characters in length.
Option Description
Insert InfoSphere CDC Event Server runs the user
exit before or after applying an insert
operation to a table you have staged, before
or after applying an insert operation to a
JMS message destination, or both.
Update InfoSphere CDC Event Server runs the user
exit before or after applying an update
operation to a table you have staged, before
or after applying an update operation to a
JMS message destination, or both.
Delete InfoSphere CDC Event Server runs the user
exit before or after applying a delete
operation to a table you have staged, before
or after applying a delete operation to a JMS
message destination, or both.
Refresh InfoSphere CDC Event Server runs the user
exit before or after applying a refresh
operation to a table you have staged, before
or after applying a refresh operation to a
JMS message destination, or both.
Truncate InfoSphere CDC Event Server runs the user
exit before or after applying a truncate
operation to a table you have staged, before
or after applying a truncate operation to a
JMS message destination, or both.
For example, you may want to create a simple XML message whenever a new
employee is created. You can detect new employees by monitoring inserts into the
dbo.Employee table and create an source table to XML mapping using all columns
from this table. You can then send the XML message to a JMS queue called "HR1"
and also send this XML message to another queue called "IT1" each time a new
employee is added to the IT department.
See also:
To route the content of an XML message to another JMS message destination
on page 219
Option Description
Insert InfoSphere CDC Event Server runs the user
exit before or after applying an insert
operation to a table you have staged, before
or after applying an insert operation to a
JMS message destination, or both.
Update InfoSphere CDC Event Server runs the user
exit before or after applying an update
operation to a table you have staged, before
or after applying an update operation to a
JMS message destination, or both.
Delete InfoSphere CDC Event Server runs the user
exit before or after applying a delete
operation to a table you have staged, before
or after applying a delete operation to a JMS
message destination, or both.
Refresh InfoSphere CDC Event Server runs the user
exit before or after applying a refresh
operation to a table you have staged, before
or after applying a refresh operation to a
JMS message destination, or both.
Truncate InfoSphere CDC Event Server runs the user
exit before or after applying a truncate
operation to a table you have staged, before
or after applying a truncate operation to a
JMS message destination, or both.
String functions
Use these functions when you want InfoSphere CDC to manipulate strings. During
replication, you can have InfoSphere CDC concatenate multiple strings, remove
blank characters from a string, change the case of the characters in a string, replace
characters of a string with other characters, or extract a substring from a string.
Note: Some examples in this section use the double-angled bracket notation (<<
>>) and are based on the American Standard Code for Information Interchange
(ASCII) character set. Under a different character set, these examples do not
produce the same results as described.
See also:
Concatenation%CONCAT
Lowercase%LOWER on page 223
Left trim%LTRIM on page 224
Capitalization%PROPER on page 224
Character substitution%REPLACE on page 225
Right trim%RTRIM on page 227
Substring%SUBSTRING on page 228
Uppercase%UPPER on page 228
Concatenation%CONCAT
Use this function when you want InfoSphere CDC to concatenate multiple
character fields and literals to form a single string. There is no limit to the number
of input fields or the resulting length.
Syntax
%CONCAT(<parm1>, <parm2>, ...<parm20>)
Parameters
Character-based.
Examples
Concatenates the values from the FNAME and LNAME columns with a blank
character inserted between them. For example, if FNAME = "Ray" and LNAME =
"Kennedy", this function returns "Ray Kennedy".
Returns the NULL-terminated ASCII string "Anna Kim". For information about the
double-angled bracket notation, see String functions on page 222.
Lowercase%LOWER
Use this function when you want InfoSphere CDC to convert all uppercase
characters in a string to lowercase during replication.
Syntax
%LOWER(<parm>)
Parameters
parmSpecifies a character column, literal, or column function that returns a
character string.
Examples
%LOWER(DEPARTMENT)
%LOWER("BrUcE JoNeS")
%LOWER(%SUBSTRING("BrUcE JoNeS",3,2))
Left trim%LTRIM
Use this function when you want InfoSphere CDC to trim all leading blank
characters from a character string during replication. Blank characters that are
embedded in a string are not trimmed.
Syntax
%LTRIM(<parm>)
Parameters
Examples
Returns the string "Andrea Moss ". The %LTRIM function does not trim trailing
and embedded blank characters.
%LTRIM("<<32>><<32>><<32>>Anna Kim")
Returns the ASCII string "Anna Kim" with no leading blank characters.
Related concepts
String functions on page 222
Related reference
Right trim%RTRIM on page 227
Capitalization%PROPER
Use this function when you want InfoSphere CDC to convert the first letter of each
word to uppercase, and the remaining letters to lowercase during replication. A
word is a consecutive sequence of non-blank characters encapsulated by blank
characters and string boundaries.
Parameters
Examples
%PROPER(NAME)
Returns the value in the NAME column with the first letter of each word
capitalized. For example, "Steve Malone".
%PROPER("TiNa MaNcInI")
%PROPER(%SUBSTRING("tInA mAnCiNi",3,6))
%PROPER("mary-lou fernandez")
Returns the string "Mary-lou Fernandez". Note that "lou" is not converted to "Lou".
%PROPER("<<97><<110>><<110>><<97>><<32>><<107>><<105>><<109>>")
Character substitution%REPLACE
Use this function when you want InfoSphere CDC to replace leading, trailing, or
all occurrences of a specified character with another character during replication. It
provides a character-by-character replacement. You can use this function to replace
leading blank characters with zeros.
Syntax
%REPLACE(<parm>, "<type>", "<str1>", "<str2>")
Parameters
v parmSpecifies a character column, literal, or column function that returns a
character string. If parm is NULL, this function returns NULL.
v typeSpecifies the substitution type. You must enclose values of this parameter
in double quotes.
Examples
Replaces all leading blank characters in the CUSTNO column with zeros.
Replaces all leading occurrences of "A" with "1", "B" with "2", and "C" with "3" in
the CUSTNO column. Evaluation begins with the first character and continues
until a character other than "A", "B" or "C" is found. For example, if a column
value is "AC7777", this example returns "137777". If a column value is "ADC7777",
this example returns "1DC7777".
Removes all blank characters in the PHONENO column. This example illustrates
how the %REPLACE function can be used to remove a character from a string
instead of replacing it with another character.
Removes all leading blank characters in the PHONENO column. This example is
similar to the previous example, except that only leading blank characters are
removed. To remove leading blank characters, you can also use the %LTRIM
function. To remove trailing blank characters, use the %RTRIM function.
Replaces all trailing occurrences of "A" with "a", "C" with "c", and "Y" with "y" in
the PARTNO column. Evaluation begins with the last character and continues until
a character other than "A", "C" or "Y" is found. For example, if a column value is
"2361ACY", this example returns "2361acy". If a column value is "2361ADY", this
example returns "2361ADy".
Returns "458". Replaces all occurrences of "2" with "4", and removes all occurrences
of "9".
Returns "459899". Replaces all occurrences of "2" with "4". Does not remove
occurrences of "5".
On platform that use the ASCII character set, this functions replaces all occurrences
of NUL and carriage return in the PRODDESC column with blank characters.
Related concepts
String functions on page 222
Related reference
Left trim%LTRIM on page 224
Right trim%RTRIM
Right trim%RTRIM
Use this function when you want InfoSphere CDC to trim all trailing blank
characters from a character string during replication. Blank characters that are
embedded in a string are not trimmed.
Syntax
%RTRIM(<parm>)
Parameters
v parmSpecifies a character column, literal, or column function that returns a
character string.
Examples
Returns the string " Andrea Moss". The %RTRIM function does not trim leading
and embedded blank characters.
%RTRIM("Anna Kim<<32>><<32>><<32>>")
Returns the ASCII string "Anna Kim" with no trailing blank characters.
Substring%SUBSTRING
Use this function when you want InfoSphere CDC to create a character string that
is a subset of an existing string that begins at a specified starting position and
continues for a specified length.
Syntax
%SUBSTRING(<parm>, <position>, <length>)
Parameters
v parmSpecifies a character column, literal, or column function that returns a
character string.
v positionSpecifies the starting position. This value must be greater than or equal
to 1.
v lengthSpecifies the length of the substring. This value must be greater than or
equal to 1.
If position is greater than the length of parm , then the function returns a string of
blank characters, with a length of length. If position is less than the length of parm,
but position + length is greater then the length of parm , then the function returns a
string of length length that has the portion of parm that starts at position and ends
at the end of parm, right-padded with blank characters.
Examples
%SUBSTRING(DIVISION,3,2)
Returns two characters from the DIVISION column beginning from the third
position.
%SUBSTRING("Tony Jackson",0,2)
Generates a runtime error because the starting position cannot be less than 1.
%SUBSTRING("Anna<<32>>Kim<<0>>", 1, 8)
Uppercase%UPPER
Use this function when you want InfoSphere CDC to convert all lowercase
characters in a string to uppercase during replication.
Parameters
Examples
%UPPER(DEPARTMENT)
%UPPER("AnDrEa MoSs")
%UPPER("[emp ny]")
%UPPER(%SUBSTRING("AnDrEa MoSs",3,2))
%UPPER("<<97>><<110>><<110>><<97>><<32>><<75>><<73>><<77>>")
See also:
Century%CENTURY on page 230
Current date%CURDATE on page 231
Current time%CURTIME on page 232
Current timestamp%CURTMSTP on page 234
Syntax
%CENTURY(<parm>, "<type>", [centuryline])
Parameters
v parmSpecifies a character column, literal or column function that returns a date
value accepted by the function.
v typeSpecifies the format of the input date. You must enclose values of this
parameter in double quotes.
*YMDThe input format is yymmdd.
*MDYThe input format is mmddyy.
*DMYThe input format is ddmmyy.
*YMThe input format is yymm.
*MYThe input format is mmyy.
*JULThe input format is yyjjj, where jjj represent the sequence number of a
day in the calendar year. jjj must be between 1, which represents January 1st,
and 366, which represents December 31st in a leap year. For jjj values less
than 100, you must specify the leading zero or zeros. For example, the Julian
date for February 4th is 035, which represents the 35th day of the year.
v centurylineSpecifies the year in the century used to determine which century is
added to the date. All years that precede the century line year will be designated
as being in the 21st century. All years including and following the century line
year will be designated as being in the 20th century. If centuryline is greater than
99, all years are designated as being in the 21st century.
For example, if centuryline is set to 30 and the two-digit year specified by parm
is 19, this function returns 2019. If centuryline is set to 20 and the two-digit year
specified by parm is 33, this function returns 1933.
This parameter is optional. If you omit this parameter, InfoSphere CDC assumes
a default value of 40.
Examples
Input century line
Input Date (parm) Input Format (type) (centuryline) Result
101001 "*YMD" 20101001 (October 1,
2010)
211197 "*DMY" 0 21111997 (November
21, 1997)
032080 "*MDY" 60 03201980 (March 20,
1980)
0493 "*MY" 80 041993 (April 1993)
Related concepts
Date and time functions on page 229
Current date%CURDATE
Use this function when you want InfoSphere CDC to return the current date
during data replication (refresh or mirroring) activities on the source or target. For
example, you may want to track when InfoSphere CDC inserts a record or when it
performs updates on source and target columns. This function uses the system
clock you have set on the source or target.
Note: InfoSphere CDC for IBM i does not support this function.
Syntax
%CURDATE("<timezone>")
Parameters
timezoneSpecifies the time zone of the result. You must enclose values of this
parameter in double or single quotes.
v *LOCReturns the date local to the source or target.
v *UTCReturns the date in Coordinated Universal Time (UTC).
v *GMTReturns the date in Greenwich Mean Time (GMT). This is the same as
*UTC.
Examples
%CURDATE("*LOC")
If the local time is March 11, 2004, this function returns 2004-03-11.
%CURDATE("*UTC")
%CURDATE("*GMT")
For a server located in the Japan Standard Time (JST) zone, on August 28, 2007, at
1:21 AM, this function returns 2007- 08-27. JST is 9 hours ahead of UTC (UTC+9).
This example is equivalent to %CURDATE ("*UTC").
%SUBSTRING(%TOCHAR(%CURDATE("*LOC"), 10), 6, 5)
Returns the month and day of the %CURDATE function invocation local to the
source or target. You can use this example if you require the month and day only.
For example, if the local date is January 29, 2007, the expression returns "01-29".
The %TOCHAR function extracts the month, separator character, and day.
Related concepts
Date and time functions on page 229
Mapping initial values to target columns on page 153
Related reference
Character conversion%TOCHAR on page 235
Substring%SUBSTRING on page 228
Current time%CURTIME
Current timestamp%CURTMSTP on page 234
Current time%CURTIME
Use this function when you want InfoSphere CDC to return the time when it
inserts or updates a row on source and target columns. This function uses the
system clock on the source or target.
Note: InfoSphere CDC for IBM i does not support this function.
Syntax
%CURTIME("<timezone>")
Parameters
timezoneSpecifies the time zone of the result. You must enclose values of this
parameter in double or single quotes.
v *LOCReturns the time local to the source or target.
v *UTCReturns the time in Coordinated Universal Time (UTC).
v *GMTReturns the time in Greenwich Mean Time (GMT). This is the same as
*UTC.
Examples
%CURTIME("*LOC")
For a server located in the Hawaiian Standard Time (HST) zone, at 9:14:33 PM, this
function returns 07.14.33. HST is 10 hours behind UTC (UTC-10).
%CURTIME("*GMT")
For a server located in the Hawaiian Standard Time (HST) zone, at 9:14:33 PM, this
function returns 07.14.33. HST is 10 hours behind UTC (UTC-10). This example is
equivalent to %CURTIME ("*UTC").
Returns the time of the %CURTIME function invocation three time zones ahead
relative to the local time zone on the source or target. This example illustrates that
an expression can be defined to convert local time to the equivalent time in any
other time zone (not necessarily UTC). It returns a character result after performing
time calculations.
To modify the above expression to select a different time zone ahead or behind the
local time zone, change + 30000 to a different sign and value. For example,
changing +30000 to +20000 returns the equivalent time in the Central Standard
Time (CST) zone.
Returns the time difference between UTC and the time zone of the source or target
where the %CURTIME functions are invoked.
Note: This example compares equivalent times after obtaining two separate time
samples, which may not always produce the correct results. The expression will
not produce the correct result if %CURTIME ("*LOC") is invoked at 7:59:59 AM, local
time, and %CURTIME ("*UTC") is invoked one second later at 8:00:00 AM, local time.
Current timestamp%CURTMSTP
Use this function to when you want InfoSphere CDC to track the date and time
when it inserts or updates a row in source and target columns. This function uses
the system clock on the source or target.
Note: InfoSphere CDC for IBM i does not support this function.
Syntax
%CURTMSTP("<timezone>")
Parameters
timezoneSpecifies the time zone of the result. You must enclose values of this
parameter in double or single quotes.
v *LOCReturns the time local to the source or target.
v *UTCReturns the time in Coordinated Universal Time (UTC).
v *GMTReturns the time in Greenwich Mean Time (GMT). This is the same as
*UTC.
Examples
%CURTMSTP("*LOC")
If the local time is 2:05:54 AM on June 18, 2005, this function returns
2005-06-18-02.05.54.
%CURTMSTP("*UTC")
For a server located in the Japan Standard Time (JST) zone, at 4:31:01 AM on
September 22, 2011, this function returns 2011-09-21-19.31.01. JST is 9 hours ahead
of UTC (UTC+9).
%CURTMSTP("*GMT")
%TOCHAR(%CURTMSTP("*UTC"), 16)
Returns the date and time (hours and minutes only) of the %CURTMSTP function
invocation in UTC. You can use this example if you do not require the number of
seconds and microseconds.
Conversion functions
Use these functions when you want InfoSphere CDC to convert values from one
data type to another during replication. You can convert from any value to a
character string or a numeric value, or from a numeric or character value to a
datetime-type value.
See also:
Character conversion%TOCHAR
Character format conversion%TOCHARFORMAT on page 237
Date conversion%TODATE on page 238
Date and time conversion%TODATETIME on page 239
Number conversion%TONUMBER on page 242
Time conversion%TOTIME on page 243
Character conversion%TOCHAR
Use this function to convert any value to a character string.
Syntax
%TOCHAR(<parm>, <length>, [decimal])
Parameters
v parmSpecifies a column name, literal, or a column function. If you specify a
date, time, or timestamp for this parameter, the output format is "yyyy-MM-dd
HH:mm:ss". If you specify a DATE, the output format is "yyyy-MM-dd". If you
specify a TIME, the output format is "HH:mm:ss"
Note: Specify a negative value for this parameter if you would like %TOCHAR
to treat the incoming value as unsigned. This feature is only available with
InfoSphere CDC for z/OS.
v decimalAn integer value that specifies the number of decimal places in the
returned value. The following table provides several examples with integers that
have a defined number of decimal places and an example of how InfoSphere
CDC converts real floating decimals.
If length specifies a value greater than the length of parm, the result is left-padded
or right-padded with blank characters.
Examples
Input value Input length Decimal places
(parm) (length) (decimal) Result
12345 3 Not specified. "123"
123.45 5 Not specified. "123.4"
0.123 3 Not specified. "0.1"
1234 6 Not specified. "001234"
Related reference
Character format conversion%TOCHARFORMAT
Number conversion%TONUMBER on page 242
Use this function to convert any date or number to a string. This function returns
date formats found in java.text.SimpleDateFormat or number formats found in
java.text.DecimalFormat. If your input value is a String, this function returns a
String.
Syntax
%TOCHARFORMAT(<parm>, "<format>")
Parameters
v parmSpecifies the input value which can be a String, Date, or Number.
v formatSpecifies the format of the returned value. Note the following when
specifying values for this parameter:
If parm = NumberSpecify formats that are valid for
java.text.DecimalFormat.
If parm = DateSpecify formats that are valid for
java.text.SimpleDateFormat.
If parm = StringThe function will ignore this parameter and return a String.
Examples
Format for return value
Input value (parm) (format) Result
1234 "0.###E0" Returns a string in the following
format:
v 1.234E3
date "yyyy.MM.dd G 'at' Returns a string in the following
HH:mm:ss z" format:
v 2001.07.04 AD at 12:08:56 PDT
Date conversion%TODATE
Use this function when you want InfoSphere CDC to convert a numeric or
character data type value to a datetime-data type during replication. You can
convert dates from packed-numeric, zoned-numeric, or from character formats
without century, to datetime or character-type values with century.
Syntax
%TODATE(<date>, "<type>")
Parameters
v dateSpecifies the input date. If date is the name of a column containing a
character string, the length of that string must match the length for the format
specified by type as indicated below. InfoSphere CDC generates an error if the
length is any other value.
Note the following about the values returned by this function:
If you specify NULL for date, this function returns NULL.
If you specify "0" for date, this function returns "1901-01-01".
If you specify a DATE for date, this function returns a DATE
Note: If you specify "-" and "/" characters, these characters are removed before
the value is evaluated by InfoSphere CDC.
v typeSpecifies the format of the input date. You must enclose values of this
parameter in double quotes.
*YMDSpecifies the input format is yymmdd.
*MDYSpecifies the input format is mmddyy.
*DMYSpecifies the input format is ddmmyy.
*YYMDSpecifies the input format is ccyymmdd, where cc represents the
century.
*CYMDSpecifies the input format is cyymmdd, where c represents the
century. A value of 0 for c represents the 20th century. Any other value
represents the 21st century.
*JULSpecifies the input format is yyjjj, where jjj represent the sequence
number of a day in the calendar year. jjj must be between 1, which represents
January 1st, and 366, which represents December 31st in a leap year. For jjj
Examples
Input date (date) Input format (type) Result
760704 *YMD 1976-07-04 (July 4, 1976)
100195 *MDY 1995-10-01 (October 10, 1995)
000000 *MDY 1901-01-01 (January 1, 1901)
010768 *DMY 1968-07-01 (July 1, 1968)
19560205 *YYMD 1956-02-05 (February 5, 1956)
1100216 *CYMD 2010-02-16 (February 16,
2010)
95004 *JUL 1995-01-04 (January 4, 1995)
102032 *CJUL 2002-02-01 (February 2, 2002)
1991359 *YJUL 1991-12-25 (December 25,
1991)
Related reference
Date and time conversion%TODATETIME
Note: InfoSphere CDC for IBM i does not support this function.
Syntax
%TODATETIME (<date>, "<type>", <time>)
Note: If you specify "-" and "/" characters, these characters are removed before
the value is evaluated by InfoSphere CDC.
v typeSpecifies the format of the input date. You must enclose values of this
parameter in double quotes.
*YMDSpecifies the input format is yymmdd.
*MDYSpecifies the input format is mmddyy.
*DMYSpecifies the input format is ddmmyy.
*YYMDSpecifies the input format is ccyymmdd, where cc represents the
century.
*CYMDSpecifies the input format is cyymmdd, where c represents the
century. A value of 0 for c represents the 20th century. Any other value
represents the 21st century.
*JULSpecifies the input format is yyjjj, where jjj represent the sequence
number of a day in the calendar year. jjj must be between 1, which represents
January 1st, and 366, which represents December 31st in a leap year. For jjj
values less than 100, you must specify the leading zero or zeros. For example,
the Julian date for February 4th is 035, which represents the 35th day of the
year.
When you set type to *JUL, if you specify a value for yy between 40 and 99,
the %TODATETIME function returns the corresponding year in the 20th
century. For example, 1940. If you specify a value for yy between 0 and 39,
the %TODATETIME function returns the corresponding year in the 21st
century. For example, 2039.
*CJULSpecifies the input format is cyyjjj, where c represents the century. A
value of 0 for c represents the 20th century. Any other value represents the
21st century.
*YJULSpecifies the input format is ccyyjjj, where cc represents the century.
Examples
The table below provides examples for this function. These examples show the
colon (:) as the separator in the returned ISO time values. Depending on your
environment, a different character may separate the year, the month, and the day
in the output date. Also, a different character may separate the hours, the minutes,
and the seconds in the output time.
Input date (date) Input format (type) Input time (time) Result
891102 *YMD 112500 1989-11-02 11:25:00
(November 2, 1989 at
11:25 AM)
030496 *MDY "13:42:00" 1996-03-04 13:42:00
(March 4, 1996 at 1:42
PM)
000000 *MDY "10:55:00" 1901-01-01 10:55:00
(January 1, 1901 at
10:55 AM)
210570 *DMY "09:05:00" 1970-05-21 09:05:00
(May 21, 1970 at 9:05
AM)
20100902 *YYMD 023000 2010-09-02 02:30:00
(February 9, 2010 at
2:30 AM)
1060723 *CYMD 193300 2006-07-23 19:33:00
(July 23, 2006 at 7:33
PM)
91060 *JUL 220100 1991-03-01 22:01:00
(March 1, 1991 at
10:01 PM)
097106 *CJUL 043500 1997-04-16 04:35:00
(April 16, 1997 at 4:35
AM)
Related reference
Date conversion%TODATE on page 238
Time conversion%TOTIME on page 243
Number conversion%TONUMBER
Use this function when you want InfoSphere CDC to convert a character field or
literal to a numeric value during replication. If your input value is a number, this
function returns a number.
Syntax
%TONUMBER(<parm>)
Parameters
v parmSpecifies a character column, literal or column function that returns a
character string. It must be in the following format:
[<whitepsace>] [<sign>] [<digits>] [.<digits>] [{e | E} [<sign>] <digits>]
In the specification above, the white space can consist of one or more blank or
tab characters. The signs must be plus (+) or minus (-), and you can specify only
decimal digits. At least one digit must appear after the decimal point. The
decimal digits may be followed by an exponent that consists of the letter E (in
upper or lower case) and an optionally signed decimal integer.
Note the following when using the %TONUMBER function:
If parm does not follow the format above, the %TONUMBER function returns
zero.
If you convert a correctly formed character field or literal that contains an
exponent, the %TONUMBER function returns a signed decimal of arbitrary
precision with a 32-bit scale.
Floating point values and integer values expressed in character form are
converted to a signed decimal of arbitrary precision with a 32-bit scale.
Precision may be lost when you convert numerical values expressed in
character form that exceed a certain number of digits.
If parm is a number, this function returns a number.
Numeric.
Examples
Input value (parm) Result
"12.45" Returns a floating point value of 12.45. If
this function is mapped to an integer
column, then it truncates the decimal part is
truncated and returns 12.
"3" Returns an integer value of 3.
Time conversion%TOTIME
Use this function when you want InfoSphere CDC to convert a character, numeric,
or time data type to a time data type during replication. You can convert from
different formats based on the type of the input value.
Use this function to when you want InfoSphere CDC to track the date and time
when it inserts or updates a row in source and target columns. This function uses
the system clock on the source or target.
Note: InfoSphere CDC for IBM i does not support this function.
Syntax
%TOTIME(<time>)
Parameters
timeSpecifies a column or literal that can have one of the following types:
v Time, in the format HMMSS or HHMMSS. For example, 71500 represents 7:15
AM and 223000 represents 10:30 PM.
v Numeric. This value must be positive, and if it contains a fractional part, the
fraction must be zero.
v Character, in one of the following formats:
[whitespace] digit digit digit digit digit digit [whitespace]
This format lets you specify a time value that contains valid separator characters
(colon, comma, period or one or more spaces) between hours, minutes, and
seconds. Any number of blank characters can precede the first digit or follow the
last digit.
You cannot specify more than one separator character in the time value. For
example, %TOTIME (12:05.20) is not valid. You can omit the number of seconds,
in which case the %TOTIME function assumes zero seconds. For example,
%TOTIME ("12:05") returns 12:05:00. You can omit leading zeros in the number of
hours, minutes, and seconds. For example, %TOTIME ("12 5 20") returns 12:05:20.
[whitespace] digit [digit] separator digit [digit] [whitespace] {A | a | P | p}
[{M | m}] [whitespace]
This format lets you specify a time value that indicates AM or PM. You can
specify AM and PM in a number of different ways, such as A, AM, Am, a, aM,
am, P, or PM. Any number of blank characters can precede the first digit or
follow the AM/PM specification.
You cannot specify more than one separator character in the time value. For
example, %TOTIME ("04: 20 PM") is not valid. You cannot specify seconds in this
format. If you do so, the %TOTIME function assumes zero seconds. You can
omit leading zeros in the number of hours and minutes. For example, %TOTIME
("3 5 P") returns 15:05:00.
Note the following with respect to return values for this function:
v If your input value is NULL, this function returns NULL.
v If your input value is a Time this function returns a Time.
v If InfoSphere CDC encounters an error when parsing the input value, this
function returns 00:00:00".
Examples
The following examples show the colon (:) as the separator character in the
returned ISO (International Organization for Standardization) time values.
Depending on your environment, a different character may separate the hours,
minutes, and seconds in the output time.
See also:
Conditional%IF
Variable%VAR on page 246
Conditional%IF
Use this function when you want InfoSphere CDC to evaluate a conditional
expression and return different results during replication.
Syntax
%IF(<conditional>, <expression_if_true>, <expression_if_false>)
Parameters
v conditionalSpecifies a conditional expression that evaluates to true or false. The
conditional expression must compare identical data types.
v expression_if_trueSpecifies an expression that is evaluated if the condition is
true.
v expression_if_falseSpecifies an expression that is evaluated if the condition is
false.
Examples
If the value in the ID column is equal to 1, this function returns the string "ID is 1".
Otherwise, it returns the string "ID is not 1".
Variable%VAR
Use this function when you want InfoSphere CDC to evaluate a conditional
expression and return different results during replication.
Syntax
%VAR(<variable_name>, [expression])
Parameters
v variable_nameSpecifies the name of the defined or retrieved variable.
v expressionSpecifies a literal or a complex expression. This parameter is
optional. If you specify it, the function creates a new variable, assigns the given
value to it, and returns the value of the variable. If the variable already exists,
the function assigns the new value to it.
If you omit this parameter, the function retrieves the value of the variable,
provided that the variable is defined (using the %VAR function) in a preceding
column or previously in the current expression.
You can pass a variable in the same row, from column to column, in ascending
column sequence. However, you cannot pass a variable between rows.
Examples
%VAR(SBTTL, PRICE*QTY)
If the value in the PRICE column is 10 and the value in the QTY column is 5, then
this function assigns the value 50 to the SBTTL variable, and returns the value 50.
%VAR(SBTTL) If SBTTL is defined either in an expression for a preceding column
or earlier in the current expression, this function returns the current value of the
SBTTL variable.
Sets the QTY variable to QTYORD plus QTYBACKORD. If QTY is less than 100,
then the result of the expression is QTY * PRICE. Otherwise, the result of the
expression is QTY * PRICE * (1 - DISCOUNT).
Data functions
Use these functions when you want InfoSphere CDC to retrieve column values
during replication. When you use these functions, InfoSphere CDC can return the
value of a source column before applying an update, the value of a target column
before applying an update, and the value of a column for a specific row in a table.
See also:
Before value%BEFORE
Current value%CURR
Retrieve column%GETCOL (DB2 for i) on page 249
Retrieve column%GETCOL (Dynamic SQL) on page 252
Retrieve column%SELECT on page 255
Before value%BEFORE
Use this function when you want InfoSphere CDC to retrieve the value of a source
column before applying an update.
Syntax
%BEFORE(<parm>)
Parameters
parmSpecifies the name of a source column. You cannot specify a journal control
field, an expression, or a column function as the input parameter.
The data type of the source column (parm). When a row is inserted into the target
table, including all rows that are inserted during a refresh, this function returns
NULL. Otherwise, this function returns the appropriate default value for the data
type of the target column.
Examples
%BEFORE(CRLIMIT)
Returns the previous value in the CRLIMIT column, before it was updated on the
source by the change being replicated.
Related reference
Current value%CURR
Current value%CURR
Use this function when you want InfoSphere CDC to retrieve the value of a target
column before applying an update on a source column.
By default %CURR will only access the target database to retrieve the current
value when the source operation is an UPDATE. In general it provides no value if
Note: InfoSphere CDC for z/OS does not support this function.
Syntax
%CURR(<parm>)
Parameters
parmSpecifies the name of a source column. You cannot specify a journal control
field, an expression, or a column function as the input parameter.
The data type of the target column (parm). When a row is inserted into the target
table, including all rows that are inserted during a refresh, this function returns the
appropriate default value for the data type of the target column.
The %CURR function returns the value of the target column as single-byte
characters, even if the source column contains multibyte data.
Note: This function does not support the retrieval of large object columns such as
BLOB, CLOB, and XML from the target database.
Examples
%CURR(BALANCE)
Returns the current value of the target column BALANCE. In an expression, the
current balance would be placed in the derived column before the update to
BALANCE is applied to the target table.
%CURR(BALANCE) - %BEFORE(BALANCE)
Calculates the difference between the values in the source and target columns
before an update is made. If the result is not equal to zero, the column values were
not the same before the update was applied on the source and on the target. You
can use this example only for numeric fields.
You can use this example to maintain the total of two or more numeric column
values that are contained in the same table on different datastores.
In each source table, the SRCCNT column is mapped to the corresponding target
column with the same name. The expression in this example is assigned to the
derived column TGTTOL on the target. When a value in a SRCCNT column is
updated, the difference between the new value and the previous value is
calculated using the %BEFORE function. This difference is added to the current
sum stored in the derived column TGTTOL. The result of the expression is
assigned to the derived column.
You can use the %GETCOL function in expressions to perform the following
operations:
v Obtain columns from one or more keyed secondary tables and join them with an
existing primary table before sending data to the target. The primary table refers
to the source table being replicated. The secondary tables refer to tables
referenced in the %GETCOL function.
v Specify how keys of the secondary tables are populated, to allow InfoSphere
CDCto perform the necessary secondary reads.
v Use columns from secondary tables that were retrieved previously to populate
keys for subsequent reads (the population of key column values is not restricted
to primary columns only).
v Specify the order that table reads are performed.
v Condition the table reads that are performed.
v Read tables external to InfoSphere CDC to perform dynamic translations on the
target.
Note: This topic contains information about the %GETCOL function supported by
InfoSphere CDC for IBM i.
This function reads a table and returns the value of the column specified, based on
the key column values that are identified. If more than one row satisfy the key
requirements specified, then this function returns the first row only. If the read is
unsuccessful, then this function returns the default value specified and sends a
message to the appropriate message queue.
The specified column in the table must exist when specifying the expression.
This function returns the value of the specified column from a row retrieved by a
previous %GETCOL function invocation. The short syntax lets you retrieve more than
one column from a table (that was read previously using the %GETCOL function),
The <table_name> and record_format parameters specified in the short format of the
%GETCOL function invocation must match the <table_name> and record_format
parameters specified in the long format of the %GETCOL function invocation.
Parameters
v column_nameSpecifies the name of a column. You cannot specify an expression
for this parameter.
v table_nameSpecifies the name of a table. This table must be keyed. You cannot
specify an expression for this parameter. You can specify the table name using
one of the following formats:
The library, file, and member names are specified. For example,
"LIBRARY/FILE(MEMBER)".
The library and file are specified. InfoSphere CDC assumes a default value of
*FIRST for the member name. For example, "LIBRARY/FILE".
The file is specified. InfoSphere CDC assumes a default value of *LIBL for the
library name and a default value of *FIRST for the member name. For
example, "FILE".
The file and member names are specified. InfoSphere CDC assumes a default
value of *LIBL for the library name. For example, "FILE(MEMBER)".
v default_valueSpecifies a default value to return if the read fails. This value must
be a literal or constant, depending on the data type of the specified column. For
character, date, time, and timestamp data types, you must enclose values of this
parameter in double quotes. For example, "NO SALESREP" or "1995-05-10". If
you specify NULL as the default value, then the column must be nullable. You
cannot specify an expression for this parameter.
If you omit this parameter, then you must enter a comma instead of the
parameter value to indicate its position in the parameter list.
If you omit this parameter, then this function returns a default value according
to the data type of the column specified.
The data type of the column retrieved (column_name). The %GETCOL function returns
the value of the column as single-byte characters, even if the source column
contains multibyte data.
Examples
The following examples are of scenarios where the %GETCOL function is used:
Retrieves the CUSTNAME column from a previous read of the CUSTMAST table
in library PRODLIB, member *FIRST, and record format *FIRST. If the read is
unsuccessful (for example, not found) and assuming that the data type for the
CUSTNAME column is CHARACTER, then this function returns blanks characters.
Retrieves the CUSTNAME column from a previous read of the CUSTMAST table
in library PRODLIB, member *FIRST, and record format *FIRST. If the read is
unsuccessful (for example, not found), then this function returns "NO
CUSTMAST".
Retrieves the CUSTNAME column from a previous read of the CUSTMAST table
in library PRODLIB, member *FIRST, and record format "FMT2". The previous read
must have "FMT2" specified for the record format.
Use this function to perform a secondary table column lookup based on the
specified secondary columns. The %GETCOL function retrieves data from secondary
table columns. To use this function before replication, you must add a derived
column to the primary table and enter an expression for that column that uses the
%GETCOL function. You can also use this function when entering an expression for a
target column.
To use this function, the secondary tables must have WHERE clause columns. The
WHERE clause columns must be specified by name and you must provide a value
expression for every WHERE clause column. Any column in the replicating table can
be referenced by value expressions, and the captured column value is substituted
in the expression.
If the secondary columns have different data types, then you must convert them to
appropriate data types using conversion column functions such as %TOCHAR.
If you are using InfoSphere CDC for z/OS, then see %GETCOL and %SELECT
Function Calls and Processing Efficiency in your InfoSphere CDC for z/OS
documentation for information about performance considerations when using the
%GETCOL or %SELECT column functions.
This function gives you the option of specifying the encoding to be used for a
column in a secondary table. You should only specify a value for ENCODING if
you want to override or change the default encoding of the column as set in your
database and detected by InfoSphere CDC. When retrieving data from a secondary
table, InfoSphere CDC will use the following criteria (in the order specified) to
determine the encoding for a column:
1. The ENCODING specification for a column in a secondary table that is
explicitly identified in %GETCOL.
2. The ENCODING specification for a column in your subscription if the
secondary table is specified in the subscription. This encoding value is specified
on the Encoding tab in the Mapping Details view of Management Console
3. The default encoding of the column in your database.
This function returns the value of a the specified column from a row retrieved by a
previous %GETCOL function invocation. The short syntax lets you retrieve more than
one column from a table (that was read previously using the %GETCOL function),
without reading the table again. You must use the long syntax format of this
function to specify an encoding.
The <table_name> parameter specified in the short format of the %GETCOL function
invocation must match the <table_name> parameter specified in the long format of
the %GETCOL function invocation. If the read is unsuccessful or a previous %GETCOL
function invocation was not performed, then InfoSphere CDC generates an error
message and sets the values of the derived column in which the %GETCOL function
is used to default values, based on the data type of the derived column.
Parameters
v secondary_column_nameSpecifies the name of a column in a secondary table.
You cannot specify an expression for this parameter. If the specified column does
not exist in the secondary table, then InfoSphere CDC generates an error
message when verifying the expression that contains the %GETCOL function. If you
want to override or change the default encoding for a column as set by your
database and detected by InfoSphere CDC, you have the option of using
ENCODING <encoding> to specify the ISO/IANA name for the encoding of the
column. ENCODING <encoding> is not supported for InfoSphere CDC for z/OS.
This option is only supported when using the long syntax format.
If you are using InfoSphere CDC for IBM Informix Dynamic Server, the values
you specify here must be in lower case.
v table_nameSpecifies the name of a table. Note the following when specifying
this parameter:
If you installed InfoSphere CDC for Oracle, you can specify the table name in
the format '<OWNER_NAME>.<TABLE_NAME>', where the owner and table
are in uppercase. If you omit the owner name, then InfoSphere CDC assumes
that the owner is the user that installed InfoSphere CDC. If ownership of the
table cannot be determined, then InfoSphere CDC assumes the default value
of PUBLIC for the owner name. If you installed InfoSphere CDC for Microsoft
SQL Server or InfoSphere CDC for Sybase, you must specify the table name
in the format "<database_name>.<owner_name>.<table_name>".
If you installed InfoSphere CDC for z/OS, you must specify the table name in
the format "<owner_name>.<table_name>" or <owner_name>.<table_name>.
If you installed InfoSphere CDC for DB2 LUW, you must specify the table
name in the format "[owner_name].<table_name>" or
'[owner_name].<table_name>'.
Note: For InfoSphere CDC for z/OS, you can specify up to nine
secondary_column_name/key_value pairs.
Examples
For examples and scenarios for the %GETCOL function, see the related topics below.
Retrieve column%SELECT
Use this function to specify a valid SQL SELECT statement that retrieves one or
more column values from a secondary table so that they can be logically joined to
a primary table record.
To use this function, the z/OS user identifier that is used to start the InfoSphere
CDC address space must have sufficient DB2 for z/OS privileges to perform SQL
SELECT statements.
CAUTION:
The use of SQL SELECT statements may constitute a security concern in your
environment. Certain clauses and functions may have side effects that result in
the changing of DB2 table data, the generation of data outside of the control of
DB2 or both. Therefore, you should exercise caution when using the %SELECT
function to issue SQL SELECT statements.
Syntax
%SELECT(<sql_select_stmt>, <parm>, <parm2>, ..., <parm>, [default_value],
[default_value2], ...,[default_value])
Parameters
v sql_select_stmtSpecifies a character string containing a valid SQL SELECT
statement. The statement must be valid according to DB2 for z/OS usage rules.
For usage rules, see your DB2 for z/OS documentation. You must use parameter
placeholders to refer to values that are not available until the expression is being
executed. To identify parameter placeholders in the SQL SELECT WHERE
clause, use question marks (?).
In the SQL WHERE clause, you can use any operators that are supported by
DB2 for z/OS, such as IN. For information about other operators that you can
use, see your DB2 for z/OS documentation.
v parm1, parm2, ..., parmnSpecify literals, column functions, expressions,
expression variables, or primary table columns. In the WHERE clause, the value
specified for parm1 replaces the first question mark, the value specified for
The data type of the first secondary table column listed in the SQL SELECT
statement.
The result of the %SELECT function is a value from the first column specified in
the SQL SELECT statement. If two or more column values are retrieved by the SQL
SELECT statement, then these values are assigned to variables. By default, the
variable names are the same as the corresponding column names. If these variable
names cannot be defined, then the names are set to COLn, where n is the numeric
position, starting at 1, of the corresponding column in the SQL SELECT statement.
Using the %VAR function in expressions, you can retrieve the values assigned to
variables and map them to subsequent columns in the primary table. Using a
single %SELECT function to retrieve all secondary table column values and then
using the %VAR function to map to subsequent columns is more efficient than
invoking the %SELECT function multiple times to retrieve each column value
individually.
Note: If you have defined variables that have the same names as those created by
InfoSphere CDC automatically, then the previously defined variables will be
overwritten. Therefore, make sure existing variable names that you have defined
do not conflict with variable names created by InfoSphere CDC.
Examples
The following examples use the relationship between primary and secondary
tables:
Assuming the primary and secondary tables shown above, you map the %SELECT
function to the EMPCOUNTRY column in the EMPLOYEE table.
For an employee in the EMPLOYEE primary table, this example returns their
country from the COUNTRY secondary table record. If COUNTRY does not
contain a record that satisfies the condition in the WHERE clause, then this
function returns the default value for the data type of the COUNTRY column. For
example, blank characters if the data type is character.
Assuming the primary and secondary tables shown above, you map the %SELECT
function to the EMPQ1 column in the EMPLOYEE table.
For an employee in the EMPLOYEE primary table, who works at Branch 4, this
example returns their first quarter sales figure from the SALES secondary table
record.
Since this example returns more than one column value, InfoSphere CDC defines
three variables, named Q2, Q3, and Q4, to maintain the second, third, and fourth
quarter sales figures, respectively. You can retrieve these values using the %VAR
function and map them to the EMPQ2, EMPQ3, and EMPQ4 columns in
EMPLOYEE.
If SALES does not contain a record that satisfies the condition in the WHERE
clause, then the function returns 0. In addition, InfoSphere CDC sets the three
variables Q2, Q3, and Q4 to 0.
Assuming the primary and secondary tables shown in the previous image, you
map the %SELECT function to the EMPINCOME column in the EMPLOYEE table.
For an employee in the EMPLOYEE primary table, this example returns their
income from the SALARY secondary table record.
Since this example returns more than one column value, InfoSphere CDC defines
three variables, named CODE, LASTADJDATE, and NEXTADJDATE, to maintain
If SALARY does not contain a record that satisfies the condition in the WHERE
clause, then:
v The %SELECT function returns 0.
v The CODE variable is set to "Z".
v The LASTADJDATE variable is set to 1970-01-01.
v The NEXTADJDATE variable is set to 1901-01-01 (the z/OS default date value).
In this example, you must specify a default value for LASTADJDATE only.Since
this column is listed third in the SQL SELECT statement, you must also specify
default values for the INCOME and CODE columns. To eliminate the need to
specify a default value for CODE, reference LASTADJDATE before CODE in the
SQL SELECT statement.
Assuming the primary and secondary tables shown in the previous image, you
map the %SELECT function to the EMPVACUSED column in the EMPLOYEE
table.
For an employee in the EMPLOYEE primary table located in United States, United
Kingdom, Japan, or France, this example returns the amount of vacation used from
the VACATION secondary table record. If VACATION does not contain a record
that satisfies the condition in the WHERE clause, then the %SELECT function
returns 0.
This example returns the next value for sequence SEQ1. In this case, the data type
of the result is the same as the data type of the sequence object. This example uses
the %SELECT function to retrieve the next value for a sequence in DB2 for z/OS
V8 or higher. SYSDUMMY1 is an existing DB2 dummy system table referenced in
the SQL SELECT statement to satisfy syntax requirements.
You must enter any integer value for the second parameter, in order to call the
function. For example, 1.
For information about sequences and the types of values that you can generate
from sequences, see your DB2 for z/OS documentation.
This example returns the previous value for sequence SEQ2. In this case, the data
type of the result is the same as the data type of the sequence object.
You must enter any integer value for the second parameter, in order to call the
function. For example, 24.
For information about sequences and the types of values that you can generate
from sequences, see your DB2 for z/OS documentation.
See also:
Stored procedure%STPROC
User exit%USER on page 260
User exit%USER (InfoSphere CDC for Microsoft SQL 5.x) on page 264
User Exit%USERFUNC on page 265
Stored procedure%STPROC
Use this function to call a stored procedure. You can call a stored procedure from a
derived column on the source or create an expression on the target.
Note: InfoSphere CDC for z/OS and InfoSphere CDC for DB2 UDB do not
support this function. On the z/OS platform, use the %USER function to call a
user exit program that issues SQL statements.
Syntax
%STPROC(stored_procedure_name, <parm1>, <parm2>, ..., <parm20>)
Parameters
v stored_procedure_nameSpecifies the name of the stored procedure in the default
database. You must enclose values of this parameter in single quotes. If you
installed InfoSphere CDC for Microsoft SQL Server, you must specify the name
of the stored procedure in the format
<databae_name>.<owner_name>.<stored_procedure_name>. The database and owner
name are not required if the stored procedure is defined in the default database.
v parm1, parm2, ..., parm20Specify columns or literals that are passed as
parameters to the stored procedure (maximum 20). The type and order of the
parameters specified in the %STPROC function invocation must match the type
and order of the parameters defined in the stored procedure.
If you installed InfoSphere CDC for Sybase, the first parameter defined in the
stored procedure specifies the value returned by the function. Do not specify this
parameter in the list of parameters for the %STPROC function (parm1, parm2, ...,
parm20).
You can omit any number of trailing parameters. InfoSphere CDC assumes the
default value if a parameter is not specified. For example, for a stored procedure
Examples
The following example returns the customer name that corresponds to a specified
customer identification number.
User exit%USER
Use this function to call a user exit program from an expression. This function
provides flexibility when complex logic that cannot be expressed using the
provided column functions is required. You can use this function to call a user exit
program with input parameters.
For more information about user exit programs, see the appropriate InfoSphere
CDC user exits guide.
Note: InfoSphere CDC for Microsoft SQL Server does not support this function. If
you are using an InfoSphere CDC product other than InfoSphere CDC for z/OS,
you cannot use this function to call a stored procedure.
Syntax
%USER(<program_name>, <parm1>, <parm22>, ..., <parmn>
The data type of the result returned by the user exit program.
Examples
%USER('USERSEL1, BRANCH)
This function calls the COBOL program USERSEL1, passing the BRANCH column
as a parameter. USERSEL1 checks whether or not BRANCH is set to '11'. If it is,
then the user exit program returns a one-byte character value of Y. Otherwise, it
returns a character value of N.
Note: The following user exit program is provided for illustration purposes only
and should be tested for all production environments.
To call stored procedures in expressions defined on the target, use the %STPROC
function.
For information about creating Microsoft SQL Server stored procedures, see
InfoSphere CDC for Microsoft SQL Server User Exits Guide.
Note: This function is only supported by InfoSphere CDC for Microsoft SQL
Server on the source.
Syntax
%USER(<database_name>.<owner_name>.<stored_procedure_name>, <parm1>,
<parm2>, ..., <parm20>
Parameters
v database_nameSpecifies the name of the database where the stored procedure
resides.
v owner_nameSpecifies the owner of the stored procedure. For example, dbo.
v stored_procedure_nameSpecifies the name of the stored procedure.
v parm1, parm2, ..., parm20Specify columns or literals that are passed as
parameters to the stored procedure (maximum 20). The type and order of the
parameters specified in the %USER call must match the type and order of the
parameters defined in the stored procedure.
The first parameter defined in the stored procedure must be the OUTPUT
parameter followed by the input parameters. Do not specify this parameter in
the %USER parameter list (parm1, parm2, ..., parm20).
The number of parameters specified in the stored procedure must match the
number of parameters specified in Management Console.
You can omit any number of trailing parameters. InfoSphere CDC assumes the
default value if a parameter is not specified. For example, for a stored procedure
Examples
%USER("ibm.dbo.sp_date_diff",COL_DATE) %USER("ibm.dbo.sp_date_diff","12-
jan-2000")
The first call example specifies a source column name as input parameter
(COL_DATE), while the second call example specifies a value as input parameter
("12-jan-2000"). These examples assume that a stored procedure, similar to the
following, is defined in the database. The example stored procedure calculates the
difference in days between the current date and a date specified as parameter:
CREATE PROCEDURE dbo.sp_date_diff @out_int int output, @in_date datetime AS
select @out_int = DATEDIFF(day, @in_date, getdate()) GO
%USER("ibm.dbo.sp_join",col_item_number)
%USER("ibm.dbo.sp_join",12)
The first call example specifies a source column name as input parameter
(col_item_number), while the second call example specifies a value as input
parameter (12). These examples assume that a stored procedure, similar to the
following, is defined in the database. The example stored procedure performs a
join to a description table to get the description of an item given its item number:
CREATE PROCEDURE dbo.sp_join
@out_item_description varchar(10) output
@in_item_number int
AS
SELECT @out_item_description = inventory_db.dbo.description.item_desc
FROM inventory_db.dbo.item_list INNER JOIN
inventory_db.dbo.description ON inventory_db.dbo.item_list.item_number =
inventory_db.dbo.description.item_number
WHERE (inventory_db.dbo.description.item_number = @in_item_number)
GO
Related reference
Stored procedure%STPROC on page 259
User exit%USER on page 260
User Exit%USERFUNC
User Exit%USERFUNC
Use this function to call a Java class user exit program or a stored procedure from
an expression. This function provides flexibility when complex logic that cannot be
expressed using the provided column functions is required. You can use this
function to call a user exit program with input parameters. This function also
supports MBCS data. For more information about user exit programs, see your
InfoSphere CDC user exits documentation.
Syntax
%USERFUNC(function_type, program_name, [<parm1>, <parm2>, ..., <parmn>]
Examples
This function calls the Java user exit program of USERSEL1 and passes the
BRANCH column as a parameter. USERSEL1 checks whether or not BRANCH is
set to '11'. If it is, then the user exit program returns a one-byte character value of
Y. Otherwise, it returns a character value of N.
%USERFUNC("STOREDPROC","dbo.sp_date_diff",COL_DATE)
%USERFUNC("STOREDPROC","dbo.sp_date_diff","12-jan-2000")
The first call example specifies a source column name as input parameter
(COL_DATE), while the second call example specifies a value as input parameter
("12-jan-2000"). These examples assume that a stored procedure, similar to the
following, is defined in the database. The example stored procedure calculates the
difference in days between the current date and a date specified as parameter. The
stored procedure must exist in your database and you must specify the stored
procedure name and database owner or schema:
CREATE PROCEDURE dbo.sp_date_diff
@out_int int output,
@in_date datetime
AS
select @out_int = DATEDIFF(day, @in_date, getdate())
GO
%USERFUNC("STOREDPROC","dbo.sp_join",col_item_number)
%USERFUNC("STOREDPROC","dbo.sp_join",12)
The first call example specifies a source column name as input parameter
(col_item_number), while the second call example specifies a value as input
parameter (12). These examples assume that a stored procedure, similar to the
following, is defined in the database. The example stored procedure performs a
join to a description table to get the description of an item given its item number.
See also:
Retrieving a column from another table using the %GETCOL function (DB2 for
i)
Performing an outer join using the %GETCOL function (DB2 for i) on page
268
Nesting columns to join data using the %GETCOL function (DB2 for i) on
page 268
Combining columns using the %GETCOL function (DB2 for i) on page 268
In this example, you will retrieve the column NAME from the STATE table using
the STATE column from the EMPLOYEE table. To use this example, perform the
following steps:
1. Add a derived column, STNAME, based on the NAME column, to the STATE
table.
2. Enter the following expression for the STNAME derived column:
See also:
Retrieving a column using the %GETCOL function (Dynamic SQL)
Retrieving a column using the %GETCOL function without reading the same
row from the table
Retrieving a column using nested %GETCOL functions (Dynamic SQL) on
page 270
Filtering rows using the %GETCOL function (Dynamic SQL) on page 271
To use the example, you must add a derived column to the MASTER.DBO.EMPLOYEE
primary table and enter the specified %GETCOL function in that column.
This example retrieves the NAMEB column from the MASTER.DBO.BRANCH secondary
table, using the value in the BRANCH column in the primary table and the key
column BRANCHB in the secondary table.
If a record in the primary table has a branch number that does not exist in the
MASTER.DBO.BRANCH table, then this function returns "" for that record in the
retrieved column.
This function call retrieves the NAMES column from the MASTER.DBO.STATE
secondary table, using the key column STATE in the primary table and the key
column STATES in the secondary table. If a record in the primary table has a state
that does not exist in MASTER.DBO.STATE, then this function returns the default
value for the data type of the NAMES column. For example, blank characters if the
data type is character.
Used after the previous %GETCOL function, this function call retrieves the
COUNTRYS column from the MASTER.DBO.STATE secondary table, without reading
again the same row from the table. If a record in the primary table has a state that
does not exist in MASTER.DBO.STATE, then this function returns the default value for
the data type of the COUNTRYS column. For example, blank characters if the data
type is character.
To use the example, you must add a derived column to the MASTER.DBO.EMPLOYEE
primary table and enter the specified %GETCOL function in that column.
This function call retrieves the NAMES column from the MASTER.DBO.STATE
secondary table, using the key column STATE in the primary table and the key
column STATES in the secondary table. If a record in the primary table has a state
that does not exist in MASTER.DBO.STATE, then this function returns the default
value for the data type of the NAMES column. For example, blank characters if the
data type is character.
Used after the previous %GETCOL function, the second %GETCOL function in this
example is called first to retrieve the COUNTRYS column from the
MASTER.DBO.STATE table. Then, the first %GETCOL function is called to retrieve the
NAMEC column from the MASTER.DBO.COUNTRY table using the key column
COUNTRYS in MASTER.DBO.STATE and the key column COUNTRYC in
MASTER.DBO.COUNTRY.
To use the example, you must add a derived column to the MASTER.DBO.EMPLOYEE
primary table and enter the specified %GETCOL function in that column.
This example combines the CUSTID and CUSTADDR tables into a single CUSTOMER table
with all five columns. By calling the %GETCOL function twice, you retrieve values
of two columns from the same row in the secondary table. The first call reads the
entire row into memory and the second call retrieves data from the same row in
memory, without reading the same table twice.
Related concepts
Filtering rows and columns on page 291
XPath functions
The XPath functions implemented by InfoSphere CDC Event Server follow specific
syntax. For details regarding the XPath functions, see W3C's Web site at
http://www.w3.org. In the current release the following XPath functions are
implemented:
See also:
ceiling
concat on page 273
contains on page 273
floor on page 273
false on page 273
formatNumber on page 274
normalizeSpace on page 274
not on page 274
number on page 275
position on page 275
round on page 275
startsWith on page 275
string on page 276
stringLength on page 276
substring on page 276
substringAfter on page 276
substringBefore on page 277
sum on page 277
translate on page 277
true on page 278
ceiling
Returns the smallest integer greater than or equal to the numeric value of the
argument.
Syntaxceiling(value)
concat
Concatenates two or more values into one string.
Return ValueString
contains
Determines whether a string is contained within another string. The function
returns true if value 1 contains value 2, otherwise, false.
Syntaxcontains(value1, value2)
Return ValueBoolean
floor
Returns the largest integer that is less than or equal to the numeric value of the
argument.
Syntaxfloor(value)
Return ValueNumber
false
Returns false.
Syntaxfalse( )
Return ValuebBoolean
formatNumber
Formats a numeric value according to a specified pattern. The default pattern
implemented follows Java JDK Version 1.1 specification. For more information on
number formats, see the Java API documentation.
Syntaxformat-number(value, format-pattern)
Input Parameters
v value represents an input value that can be converted to a number.
v format-pattern represents a string value that contains the formatting rules.
Return ValueString
normalizeSpace
Trims the leading and trailing white spaces (blank spaces, tabs and new line
characters), and converts multiple white spaces to a single blank space.
Syntaxnormalize-space(value)
Return ValueString
not
Returns true if the argument is false, returns false if the argument is true.
Syntaxnot(value)
Return ValueBoolean
Syntaxnumber(value)
Return ValueNumber
position
Returns a number equal to the context position from the expression evaluation
context.
Syntaxposition( )
Input ParametersNone
Return ValueNumber
round
Returns the closest integer to the numeric value of the argument.
Syntaxround(value)
Return ValueNumber
startsWith
Returns true if one string begins with another.
Syntaxstarts-with(value1, value 2)
Input Parameters
v value1 represents an input value: an expression, a literal, or a function.
v value2 represents the substring to be searched.
Return ValueBoolean
Syntaxstring(value)
Return ValueString
stringLength
This function returns the length of a string.
Syntaxstring-length(value)
Return ValueNumber
substring
This function extracts a substring from a string starting at, and ending with, a
specified position.
Input Parameters
v value represents an input value: an expression, a literal, or a function.
v beginIndex represents the beginning position, zero-based.
v length represents the end position, zero based. If omitted, the substring runs to
the end of the input string.
Return ValueString
substringAfter
Extracts a substring from a string. The substring to be extracted appears after the
first occurrence of a specified substring.
Syntaxsubstring-after(value, searchSubstring)
Input Parameters
v value represents an input value: an expression, literal, or a function.
v searchSubstring represents the substring to be searched.
substringBefore
Syntaxsubstring-before(value, searchSubstring)
Input Parameters
v value represents an input value: an expression, a literal, or a function.
v searchSubstring represents the substring to be searched.
Return ValueString
sum
Syntaxsum(node_set)
Return ValueNumber
translate
Syntaxtranslate(value, from, to)
Input Parameters
v value represents an input value: an expression, a literal, or a function.
v from represents the characters to be replaced.
v to represents the characters to be used as the replacement for the from
characters. If omitted, the from characters are removed.
Return ValueString
DescriptionReturns true.
Input ParametersNone
Return ValueBoolean
Transform extensions
To meet specific transform requirements, these extensions have been developed to
supplement XPath and XSLT recommendations provided by W3C. The first
extension is an XPath expression for self-reference. A leading # symbol means
self-reference from the target point of view. For example, /root/level1/@attr1
points to an attribute in the source DOM, while #/root/level1/@attr1 points to an
attribute in the target that is the XML document to be generated. InfoSphere CDC
Event Server functions are marked with the sxt: prefix, which must be used with
the function name.
See also:
sxt:add on page 279
sxt:db-lookup on page 279
sxt:divide on page 279
sxt:filter on page 280
sxt:formatDate on page 280
sxt:getSequentialNum on page 281
sxt:getSubField on page 281
sxt:getSysDateTime on page 281
sxt:getSysDate on page 282
sxt:getSysTime on page 282
sxt:groupConcat on page 282
sxt:ifExist on page 282
sxt:ifReturn on page 283
sxt:isEqual on page 283
sxt:multiply on page 283
sxt:nodeConcat on page 283
sxt:padLeft on page 284
sxt:padRight on page 284
sxt:proper on page 284
sxt:setDefault on page 285
sxt:subtract on page 285
sxt:toLowerCase on page 285
sxt:toUpperCase on page 286
sxt:trim on page 286
278 InfoSphere Change Data Capture Management Console: Administration Guide
sxt:add
Syntaxsxt:add (value1, value2, [value3,...])
Input Parametersvalue1, value2, [value3, ...] represent two or more values that can
be converted to numbers.
Return ValueNumber
sxt:db-lookup
Syntaxsxt:db-lookup (JDBCDriver, URL,UserName, Password, SQLStatement
|StoredProcedure[,param1,param2,...])
Input Parameters
v JDBCDriverRepresents the name of a valid JDBC driver class.
v URLRepresents a unique URL to the database.
v UserNameRepresents a valid user name to access the database.
v PasswordRepresents a valid password associated with the user name.
v SQLStatementRepresents the SQL statement to be applied to the database. Only
standard SQL types are supported.
v StoredProcedure[,param1,param2,...] Represents the stored procedure. The
syntax is: (outputParameter Datatype) call ProcedureName ([inputParameter
Datatype, ...])
outputParameterThe stored procedure can have only one output parameter,
and the output parameter must be the last parameter. The supported data
types are: CHAR, VARCHAR, LONGVARCHAR, INTEGER, DOUBLE, DATE,
TIME, TIMESTAMP
inputParameterRepresents the value of the input parameter (optional).
stringThis function will return the first column in the first row of the result set
sxt:db-lookup("sun.jdbc.odbc.JdbcOdbcDriver","jdbc:odbc:pubs", "sa","sa","SELECT
country_name FROM countries WHERE country_id=?", @countryID)
sxt:divide
Syntaxsxt:divide (value1, value2)
Return ValueNumber
sxt:filter
Syntaxsxt:filter (node-set, condition)
Input Parameters
v node-set represents the node-set to be selectively returned if a node meets the
condition.
v condition represents a filter condition that can be evaluated (true or false).
Return ValueNode-set
Example<sxt:attribute name="keys"
value="sxt:groupConcat(sxt:filter(data_key, sxt:is-equal(data_type,2)),
)"/>
sxt:formatDate
Syntaxsxt:formatDate (value, original-format-pattern, to-format-pattern)
DescriptionThis function formats the date string using the specified pattern. The
patterns must follow the rules in Java. For more information on date formats, see
the Java API documentation.
Input Parameters
v value represents an input value that can be converted to a date.
v original-format-pattern represents a string value that contains the original
formatting rules.
v to-format-pattern represents a string value that contains the formatting rules for
the converted date. The patterns must follow the rules in Java.
yyyy-MM-dd (for example, 2001-01-25)
MMM dd, yyyy (for example, Jan 25, 2004)
MMMM d, yyyy (for example, January 25, 2004)
M/dd/yyyy (for example 1/25/2004)
yyyy-MM-dd HH:mm:ss (for example, 2004-01-25 13:25:30)
yyyy-MM-dd hh:mm:ss a (for example, 2004-01-25 01:25:30 PM).
Return ValueString
Input Parameters
v seed represents the start value of a counter.
v increment represents the increment for each number.
Return ValueNumber
sxt:getSubField
Syntaxsxt:getSubField (value, delimiter, subFieldIndex)
Input Parameters
v value represents an input value: an expression, a literal, or a function.
v delimiter represents a delimiter used to separate the sub-field values. For
example: comma, tab, |, and so on.
v subFieldIndex represents the ordinal position of the sub-field. For example, the
first sub-field is 1, and so on.
Return ValueString
sxt:getSysDateTime
SyntaxgetSysDateTime ( )
DescriptionThis function returns the system date and system time at runtime.
Input ParametersNone
Return ValueString
Example<sxt:element name="UpdateTimestamp"
value="sxt:getSysDateTime()"/>
Input ParametersNone
Return ValueString
sxt:getSysTime
Syntaxsxt:getSysTime ( )
Input ParametersNone
Return ValueString
sxt:groupConcat
Syntaxsxt:groupConcat (nodeToConcat, delimiter)
Input Parameters
v nodeToConcat represents the node to be concatenated. It must be a node-set.
v delimiter represents the delimiter to be used for separating each sub-value.
Return ValueString
sxt:ifExist
Syntaxsxt:if-exist (nodeOrExpr1, node OrExpr2)
Input Parameters
v nodeOrExpr1 represents the first node or expression.
v nodeOrExpr2 represents the second node or expression.
Return ValueString
sxt:ifReturn
Syntaxsxt:if-return (testCondition, valueForTrue, valueForFalse)
Input Parameters
v testCondition represents an expression that can be evaluated to true or false.
v valueForTrue represents the value to be returned when the condition is true.
v valueForFalse represents the value to be returned when the condition is false.
Return ValueString
sxt:isEqual
Syntaxsxt:is-equal (nodeOrExpr, valueToTestAgainst)
Input Parameters
v nodeOrExpr represents a node/expression whose value is compared with the
specified value.
v valueToTestAgainst represents a specific value for testing the node or the
expression.
Return ValueBoolean
sxt:multiply
Syntaxsxt:multiply (value1, value2, [value3, ...])
Input Parametersvalue1, value2, [value3, ...] represent two or more values that can
be converted to numbers.
Return ValueNumber
sxt:nodeConcat
Syntaxsxt:nodeConcat (flag, nodeToConcat, delimiter)
Input Parameters
v flag represents an expression that can be evaluated to true or false.
v nodeToConcat represents the node to be concatenated. It must be a node-set.
v delimiter represents the delimiter to be used for separating each sub-value.
Return ValueString
sxt:padLeft
Syntaxsxt:pad-left (string_to_pad, value, string_to_fill)
Input Parameters
v string_to_pad specifies the string to be modified by adding characters to the left.
v value specifies the length of the string to be returned.
v string_to_fill specifies the string that contains the characters to fill.
Return ValueString
sxt:padRight
Syntaxsxt:pad-right (string_to_pad, value, string_to_fill)
Input Parameters
v string_to_pad specifies the string to be modified by adding characters to the
right.
v value specifies the length of the string to be returned.
v string_to_fill specifies the string that contains the characters to fill.
Return ValueString
sxt:proper
Syntaxsxt:proper (string)
Return ValueString
sxt:setDefault
Syntaxsxt:setDefault (nodeOrExpr, defaultValue)
Input Parameters
v nodeOrExpr represents a node/expression to be tested.
v defaultValue represents the value to be returned when the node/expression
contains an empty string.
Return ValueString
Example<sxt:element name="Language"
value="sxt:setDefault(@lang,English)"/>
sxt:subtract
Syntaxsxt:subtract (value1, value2, [value3, ...])
DescriptionThis function subtracts one or more values from the first value
specified.
Input Parametersvalue1, value2, [value3, ...] represent two or more values that can
be converted to numbers.
Return ValueNumber
sxt:toLowerCase
Syntaxsxt:toLowerCase (value)
Return ValueString
Return ValueString
sxt:trim
Syntaxsxt:trim (value)
DescriptionThis function strips off the leading and trailing blank spaces of a
string.
Return ValueString
It is very easy to use your Java classes in your mapping project. The methods must
be public but need not be static. Make sure that any external Java classes you want
to use can be found in the CLASSPATH environment variable. InfoSphere CDC
Event Server will use Java Reflection API to call your programs.
InfoSphere CDC Event Server provides three types of calling conventions that can
manipulate the following objects:
See also:
Simple string objects (type I)
SQL data types (type II) on page 287
XML objects (type III) on page 287
Example<sxt:element name="MyTag"
value="javas:com.ibm.MyClass.someMethod(@cust_id)"/>
In the current release, only type I (simple string objects) is fully implemented,
while type II (SQL data types) and type III (XML objects) will be implemented in a
future release.
See also:
+ Operator on page 288
- Operator on page 288
* Operator on page 288
div Operator on page 288
mod Operator on page 288
= Operator on page 288
!= Operator on page 288
< Operator on page 289
<= Operator on page 289
> Operator on page 289
>= Operator on page 289
or Operator on page 289
and Operator on page 289
+ Operator
DescriptionAdds two numbers. You can also use it to add two expressions that
return a numeric result.
- Operator
DescriptionYields the difference between two numbers or indicates the negative
value of a numeric expression.
* Operator
DescriptionMultiplies two numbers.
div Operator
DescriptionDivides two numbers and returns a floating decimal.
mod Operator
DescriptionDivides two numbers and returns only the remainder.
= Operator
DescriptionEqual. If the expression is equal to the specified value, the operator
returns true. If the expression is not equal to the specified value, the operator
returns false.
Exampleprice=7.80
!= Operator
DescriptionNot equal to. If the expression is not equal to the specified value, the
operator returns true. If the expression is equal to the specified value, the operator
returns false.
Exampleprice!=7.80
Exampleprice<7.80
<= Operator
DescriptionCompares two specified numeric expressions and determines
whether expression1 is less than or equal to the expression2; if it is, the operator
returns true. If the expression1 is greater than expression2, the operator returns false.
Exampleprice<=7.80
> Operator
DescriptionCompares two numeric expressions and determines whether
expression1 is greater than expression2; if it is, the operator returns true. If expression1
is less than or equal to expression2, the operator returns false.
Exampleprice>7.80
>= Operator
DescriptionCompares two numeric expressions and determines whether
expression1 is greater than or equal to expression2 (true) or expression1 is less than
expression2 (false).
or Operator
DescriptionLogical or.
and Operator
DescriptionLogical and.
() parentheses Operator
DescriptionControls the order in which the operators execute in the expression.
Parentheses override the normal precedence order and cause the expressions
within the parentheses to be evaluated first. When parentheses are nested, the
contents of the innermost parentheses are evaluated before the contents of the
outer ones.
/ Operator
DescriptionSelects from the root node.
// Operator
DescriptionSelects nodes in the document that match the selection no matter
where they are.
@ Operator
DescriptionIdentifies an attribute of a node.
Filtering rows
In order to include or exclude particular rows for replication, you need to build a
row-filtering expression. All row-filtering expressions that you define must return a
boolean result. For example, you may have a source column such as SALARY that
maintains the salary for each employee in your organization. You may only want
to replicate those rows to the target table for those employees that have a salary
greater than $48,000. In this scenario, you would need to define a row-filtering
expression (SALARY > 48000).
You can use column manipulation functions, basic numeric operators, and SQL
SELECT WHERE clauses in your row-filtering expressions.
See also:
To filter rows
To filter rows
1. Click Configuration > Subscriptions.
2. Select the subscription.
3. Click the Table Mappings view and select the table mapping from the Source
Table column.
4. Right-click and select Open Mapping Details.
5. Click the Filtering tab.
6. Click Editor and build a row-filtering expression.
The expression must return a boolean result.
7. Click Verify to check the syntax of the expression and click OK to return to the
Filtering tab.
8. Choose one of the following options in the Row-filtering area:
v Select rows that match the expressionSelect this option if you want
InfoSphere CDC to replicate the source rows that satisfy your row-filtering
expression.
By default, InfoSphere CDC replicates inserts, updates, and deletes to the target
table during replication. However, you can control the updates that InfoSphere
CDC replicates using the select critical column feature. When you select a column
as critical, InfoSphere CDC only replicates update operations when any critical
column has changed value.
For example, you may have a source table that maintains customer account
information. Instead of receiving every update made to the source table, you may
only want the target table to receive the row when the customer account balance is
updated. In this scenario, you would select the column
(Customer_Account_Balance) as a critical column. InfoSphere CDC will only
replicate this row when there are updates made to the Customer_Account_Balance
column.
See also:
To select critical columns
Filtering columns
By default, InfoSphere CDC replicates all mapped source columns to the target
table. If there is a source column you want to exclude for replication, then you can
clear it on the Filtering tab. Excluding source columns for replication may become
necessary if the column contains confidential information that you do not want the
target to receive.
See also:
To filter columns
1. Click Configuration > Subscriptions.
2. Select the subscription.
3. Click the Table Mappings view and select the table mapping from the Source
Table column.
4. Right-click and select Open Mapping Details.
5. Ensure that the source column has been unmapped from any target columns on
the Column Mappings tab.
6. Click the Filtering tab.
Source columns that you can clear for replication are selected with a green
check mark in the Replicate column.
If a source column has been mapped to a target column, the check mark will be
grey instead of green and cannot be unchecked. You will have to unmap the
source column on the Column Mappings tab before you will be able to filter it
from replication.
7. Clear the green check mark for any columns that you do not want InfoSphere
CDC to replicate data from a source columns
8. Click Save.
Related concepts
Filtering columns on page 292
InfoSphere CDC does not detect conflicts in target columns that are:
v Populated with expressions using the %BEFORE, %CURR, %GETCOL,
%STPROC, and %USER column functions.
v Populated with journal control fields.
v Not populated by a value.
Notes:
v InfoSphere CDC does not detect conflicts in columns that have Large Object
(LOB) data types.
v Conflict detection and resolution is only available when you map your tables
using Standard replication. Conflict detection and resolution is supported for
InfoSphere CDC Version 5.3 and higher.
For more information on the requirements to configure a user exit program for
conflict detection and resolution, see the "User Exits" section in the InfoSphere
CDC documentation for your platform.
Use the Conflicts tab to set conflict detection and resolution so that the source
wins. When InfoSphere CDC resolves conflicts so that the source column wins, it
applies the row from the source table to the target table. This ensures the target
table row matches the data in your source table upon replication. For example, a
Use the Conflicts tab to set conflict detection and resolution so that the target
wins. When InfoSphere CDC resolves conflicts for target wins, it does not apply
any source changes to the target table. This preserves the row in the target table as
InfoSphere CDC does not apply data from the source in the event of a conflict.
For example, a remote location ships 25 pens and reduces the quantity of their
pens to 175. Before starting replication with InfoSphere CDC, a clerk accidently
changes the quantity of the pens to 300 on the target table. If InfoSphere CDC is
configured to resolve conflicts for target wins, then no change is made to the target
table and it is the same both before and after replication.
Note: Conflict detection and resolution is only available when you map your
tables using Standard replication. Conflict detection and resolution is supported
for InfoSphere CDC version 5.3 and higher. Conflict detection and resolution is not
available for InfoSphere CDC for Teradata, InfoSphere CDC for InfoSphere
DataStage or InfoSphere CDC Event Server.
See also:
To resolve conflicts for source row wins
To resolve conflicts for target row wins on page 297
Related concepts
Resolving conflicts for source or target wins on page 295
Mapping using standard replication on page 83
When InfoSphere CDC resolves conflicts for largest value wins, it applies the
change to the target if the source row has a larger value than the corresponding
row on the target table. For example, if the comparison column contains revision
times, then the target row matches the row that was most recently updated (largest
time value).
When InfoSphere CDC resolves conflicts for smallest value wins, it only applies
the change to the target if the value in the source row is smaller than the
corresponding row on the target table. For example, if the comparison column
contains quantities, then InfoSphere CDC matches the target row with the row that
has the smaller quantity.
When resolving conflicts for smallest value wins, InfoSphere CDC treats NULL
values as the smallest possible value. If the row does not exist on the target table,
then InfoSphere CDC uses NULL as the comparison value. If InfoSphere CDC
detects the conflict while deleting a row, then it uses the before image of the source
table and compares it to the target value. If both the source and target values are
the same, then InfoSphere CDC resolves the conflict using the Target Wins method
(no change is applied to the target).
If both the source and target values are the same, then InfoSphere CDC resolves it
using the Target Wins method (no change is applied to the target).
Note: Conflict detection and resolution is only available when you map your
tables using Standard replication. Conflict detection and resolution is supported
for InfoSphere CDC version 5.3 and higher. Conflict detection and resolution is not
available for InfoSphere CDC for Teradata, InfoSphere CDC for InfoSphere
DataStage or InfoSphere CDC Event Server.
See also:
To resolve conflicts for largest value wins
To resolve conflicts for smallest value wins on page 299
Related concepts
Mapping using standard replication on page 83
When InfoSphere CDC resolves conflicts with a user exit program, it applies the
image returned by the user exit program to the target table. Configuring a user exit
program lets you specify the row you want InfoSphere CDC to use to resolve the
conflict on the target table. When your user exit program returns a row, InfoSphere
CDC applies that row to the target table to resolve the conflict.
For example, a remote location receives a new shipment of erasers with a quantity
of 400 and updates their INVENTORY table by inserting a new row. When
InfoSphere CDC resolves the conflict according to the specifications in the user exit
program.
Note: Conflict detection and resolution is only available when you map your
tables using Standard replication. Conflict detection and resolution is supported
for InfoSphere CDC version 5.3 and higher. Conflict detection and resolution is not
available for InfoSphere CDC for Teradata, InfoSphere CDC for InfoSphere
DataStage or InfoSphere CDC Event Server.
See also:
To resolve conflicts with user exit programs
Related concepts
Mapping using standard replication on page 83
You can suppress operations if you mapped tables using either Standard or
Adaptive Apply replication.
See also:
To suppress an insert, update, or delete
Related concepts
Mapping using standard replication on page 83
Mapping using Adaptive Apply on page 102
See also:
To prevent row operations from being audited
To audit only the after image
Related concepts
Mapping using LiveAudit on page 91
You can view these messages in the Events area of the Subscriptions view of the
Monitoring perspective.
See also:
To detect conflicts on row operations
Related concepts
Resolving conflicts for source or target wins on page 295
Mapping using Adaptive Apply on page 102
When InfoSphere CDC applies the soft delete, the target table will contain:
v the before image of the row that was deleted and
v the journal entry type Delete.
Depending on whether you want InfoSphere CDC for Oracle to apply the soft
delete to all mapped target tables or to apply the soft delete on a specific target
table in the subscription, you must enable one of the following system parameters:
v DM_ADAPTIVE_APPLY_SOFT_DELETESInfoSphere CDC for Oracle applies a soft
delete on all target tables mapped using Adaptive Apply in a subscription.
v DM_ADAPTIVE_APPLY_<SCHEMA>.<TABLENAME>InfoSphere CDC for
Oracle applies a soft delete on a specific target table mapped using Adaptive
Apply in a subscription.
See also:
To enable InfoSphere CDC for Oracle to apply a soft delete
This tab is only available for subscriptions targeting a JMS message destination.
See also:
To create an XML message
See also:
To import an XML, schema, or mapping definition file
To export an XML schema or mapping definition file
See also:
To build an XPath expression
See also:
To query columns from other tables
In addition to the JMS header properties provided with InfoSphere CDC Event
Server, you may also need to associate extra information in the header of an XML
message. InfoSphere CDC Event Server lets you specify custom JMS header
properties in an XML message. You can use this information in a JMS selector to
filter messages.
See also:
To add a JMS message header property
To add a custom JMS message header property on page 314
To delete a custom JMS message header property on page 314
See also:
To enable InfoSphere CDC Event Server to trim text
To disable InfoSphere CDC Event Server from differentiating between an
empty string from a NULL value on page 316
To disable streamed transformation mode on page 316
When you have a subscription that contains a target table that is not synchronized
with the source table, you can flag the source table for a refresh. Tables that are
flagged for refresh and have a replication method of Mirror will be refreshed
before mirroring begins.
InfoSphere CDC offers two types of refresh operations: Standard Refresh and
Differential Refresh.
A Standard Refresh results in a complete copy of the data in a source table being
sent to the target table. This operation truncates or deletes the contents of the
target table and then inserts the new contents as sent by the source system.
A Differential Refresh updates the target table by applying only the differences
between it and the source table. Instead of the target table being cleared at the start
of the refresh and repopulated with data, as with the Standard Refresh, the
Differential Refresh compares each row in the target table with each row in the
source table to identify missing, changed or additional rows. The primary
advantage of the Differential Refresh is that the target table stays online during the
refresh operation.
The order in which data is retrieved from the database during a refresh depends
on the type of refresh performed. During a Standard Refresh, no ORDER BY sort is
used; the database determines the order in which the data is returned. During a
Differential Refresh, InfoSphere CDC queries the database using an ORDER BY
sort on the table keys chosen in the table mapping to sort the source and target
tables and determine their differences.
When a refresh is performed with multiple tables, the order in which each
individual table is refreshed is based on the group order, as set in Refresh Order
option. If no Refresh Order is set, then tables are refreshed in alphabetical order.
After a refresh has successfully completed, the subscription can be restarted for
mirroring. InfoSphere CDC will then process the backlog of changes. For tables
which weren't refreshed InfoSphere CDC will continue processing changes from
the position where mirroring ended. For tables which were refreshed, InfoSphere
CDC will process all the changes that committed after refresh began for that table.
See also:
To flag a source table for a Standard Refresh
To flag a source table for a Differential Refresh on page 320
Related concepts
Changing the refresh order of tables on page 321
Starting a refresh on a subscription on page 330
InfoSphere CDC mirrors changes to the target table from the current position in
the stream of changed data. This position is set by InfoSphere CDC when you
select Mirror (Change Data Capture) after mapping your tables in the Map Tables
wizard. If you want to override the position set by InfoSphere CDC, then you can
manually mark a table capture point in Management Console. When you decide to
start mirroring on the subscription, InfoSphere CDC identifies the position you
have set as the point in time from which to capture and replicate database changes
to the target.
See also:
See also:
To park a table from replication
Any remaining table mappings that you did not add to a group are refreshed in
alphabetical order by InfoSphere CDC last.
See also:
To change the refresh order of tables
See also:
To change the replication method of a table
Related concepts
Starting mirroring on page 328
Ending replication on page 332
Note: If you are replicating your source table using InfoSphere CDC for
Oracle Trigger-based edition and decide to change the replication method
from Mirror to Refresh, then InfoSphere CDC disassociates the journal table
from the source table. This was the journal table you had selected in the Map
Tables wizard. After InfoSphere CDC completes the refresh operation on the
subscription, if you want InfoSphere CDC to continue mirroring changes
from this source table using the same journal table, then you must change
the replication method back to Mirror and select the same journal table you
were using before.
v Prevent RecursionPrevents InfoSphere CDC from replicating changes back
to the source database when you have configured a subscription for
bidirectional replication. This is only available in versions of InfoSphere CDC
that support both source and target databases. Contact IBM Technical
Support to implement bidirectional replication in your environment.
v Use Relative Record NumberEnables InfoSphere CDC to replicate updates
to the target using a relative record number. When this option is checked,
InfoSphere CDC sends the Relative Record Number to the target and expects
the Relative Record Number to be the identifying column on the target side.
This means that the target tables cannot be updated by more than one source
table (a target table cannot be a warehouse for multiple source tables). If you
do not check this box, then InfoSphere CDC for IBM i uses a unique key to
replicate to the target.
Notes:
When this option is checked, if the source table is reorganized, InfoSphere
CDC Event Server will automatically start a refresh for that table.
If no Relative Record Number is available on the target table (for example,
if the table resides on a non-IBM i system), you can still make use of this
option by mapping the Relative Record Number on the source table to a
column in the target table to. For more information, see Source RRN
(&CNTRRN) on page 174.
This option is only available when using an InfoSphere CDC for IBM i
source.
Related tasks
To set propagation control on a subscription on page 52
See also:
To select a new journal table
See also:
To select a member for replication
See also:
To change the message destination of a table
Scheduled End (Net Change) mirroring replicates changes (to the target) up to a
user-specified point in the source database log and then ends replication. Use this
type of mirroring when business requirements dictate that you only replicate your
data periodically and you have a clearly defined end point for the state of your
target database when replication ends. Scheduled End (Net Change) mirroring
allows you to end replication at the following points in your source database log:
v Current time or Now
v User-specified date and time
v User-specified log position
These user specified end points ensure that your target database is in a known
state when replication ends.
Ending replication allows you to prepare for transitional activities in your business
environment and allows you to move to the next step in your business processes.
If you are replicating data continuously with Continuous mirroring and business
reasons arise that require an end to replication, InfoSphere CDC provides multiple
options that suit most business needs. If your business requirements dictate that
replication must end at a particular point in your source database log because the
target database must be in a known state when replication ends, you can choose
from the following options:
v Current time or Now
v User-specified date and time
v User-specified log position
If business requirements do not require a specific end point but do require a time
frame for ending replication, InfoSphere CDC provides escalating options (Normal,
Immediate, and Abort) that end replication more rapidly at the expense of a
slower start when resuming replication. For example, a routine end to replication
with no particular urgency may require the Normal option, whereas a sudden
business need to end replication rapidly may require the Abort option.
You can also refresh all tables or a subset of tables in your subscription depending
on your business requirements. A refresh sends a complete copy of data in a source
table to the target table and overwrites any existing rows in the target table. Unlike
mirroring, a refresh operation with InfoSphere CDC does not require additional
database logging which reduces the workload of your source database.
Starting mirroring
InfoSphere CDC provides two types of mirroring for source tables that are mapped
to target tables: Continuous and Scheduled End (Net Change). The type of
mirroring you select depends on your business needs.
Scheduled End (Net Change) mirroring replicates changes (to the target) up to a
user-specified point in the source database log and then ends replication. Use this
type of mirroring when business requirements dictate that you only replicate your
data periodically and you have a clearly defined end point for the state of your
target database when replication ends. Scheduled End (Net Change) mirroring
allows you to end replication at the following points in your source database log:
v Current time or Now
v User-specified date and time
v User-specified log position
These user specified end points ensure that your target database is in a known
state when replication ends.
For example, if you start Scheduled End (Net Change) mirroring and specify a
time of 12 PM, InfoSphere CDC will continue mirroring all changes that have been
committed to the target until 12 PM in the source database log. At this point,
mirroring will end. You can also reschedule the Scheduled End (Net Change)
mirroring to a new time or log position if business reasons warrant.
See also:
To start continuous mirroring on page 329
To start scheduled end (net-change) mirroring on page 329
When you have a subscription that contains a target table that is not synchronized
with the source table, you can flag the source table for a refresh. Tables that are
flagged for refresh and have a replication method of Mirror will be refreshed
before mirroring begins.
InfoSphere CDC will refresh all of the flagged tables within a single subscription as
one sequential operation which will run to completion. Each table is refreshed
individually one at a time until all flagged tables have finished refreshing. Refresh
is an operation which applies to a single subscription, so while one subscription is
refreshing other subscriptions are not affected; they may continue mirroring data
for different tables or refreshing tables as required. To perform a parallel refresh,
multiple subscriptions can be used.
InfoSphere CDC offers two types of refresh operations: Standard Refresh and
Differential Refresh.
A Standard Refresh results in a complete copy of the data in a source table being
sent to the target table. This operation truncates or deletes the contents of the
target table and then inserts the new contents as sent by the source system.
Both a Standard Refresh and Differential Refresh can be further refined through the
use of a WHERE clause to only include rows within a specified range. This is
useful for tables where only the most recent data requires a refresh.
The order in which data is retrieved from the database during a refresh depends
on the type of refresh performed. During a Standard Refresh, no ORDER BY sort is
used; the database determines the order in which the data is returned. During a
When a refresh is performed with multiple tables, the order in which each
individual table is refreshed is based on the group order, as set in Refresh Order
option. If no Refresh Order is set, then tables are refreshed in alphabetical order.
After a refresh has successfully completed, the subscription can be restarted for
mirroring. InfoSphere CDC will then process the backlog of changes. For tables
which weren't refreshed InfoSphere CDC will continue processing changes from
the position where mirroring ended. For tables which were refreshed, InfoSphere
CDC will process all the changes that committed after refresh began for that table.
See also:
To start a refresh
Related concepts
Promoting subscription changes on page 349
Flagging a source table for refresh on page 317
Changing the refresh order of tables on page 321
To start a refresh
1. Stop mirroring on any active subscriptions that will have tables refreshed.
2. Ensure that the tables to be refreshed have been flagged for refresh.
3. Click Monitoring > Subscriptions.
4. If the subscription is available for editing, right-click one or more subscriptions
and select Start Refresh.
The Start Refresh dialog shows all tables in the selected subscriptions that have
been flagged for refresh
5. If you want to view the refresh details for a specific table, select it and click
Refresh Options.
If multiple table mappings were selected, any enabled row constraints will not
be displayed on the Refresh Options dialog.
6. Click OK.
Related concepts
Controlling the apply of refresh operations on page 189
Ending replication
Ending replication allows you to prepare for transitional activities in your business
environment and allows you to move to the next step in your business processes.
Here are some examples of transitional activities in your business environment that
may require an end to replication:
v Initiating a database backup.
v Performing a regularly scheduled reboot of your source database server.
v Quiescing your database in preparation for an upgrade.
v Weekly batch processing has just completed.
v Preparing for off-line maintenance activities.
If you are replicating data continuously with Continuous mirroring and business
reasons arise that require an end to replication, InfoSphere CDC provides multiple
332 InfoSphere Change Data Capture Management Console: Administration Guide
options that suit most business needs. If your business requirements dictate that
replication must end at a particular point in your source database log because the
target database must be in a known state when replication ends, you can choose
from the following options:
v Current time or Now
v User-specified date and time
v User-specified log position
An example of a scenario that might require these options is that you are
populating a reporting instance and you need stable (non-changing) data in your
reporting instance during the day. At the end of the day when you shut down
your application, you can choose one of the Scheduled End (Net Change) options
to update the reporting instance with data from the current day as well.
If business requirements do not require a specific end point but do require a time
frame for ending replication, InfoSphere CDC provides escalating options (Normal,
Immediate, and Abort) that end replication more rapidly at the expense of a
slower start when resuming replication. For example, a routine end to replication
with no particular urgency may require the Normal option, whereas a sudden
business need to end replication rapidly may require the Abort option. A routine
reboot of a SAN might be appropriate for the Normal option, whereas a sudden
and unexpected hardware or application failure may require the Abort option.
If you initiate an end to replication and business reasons warrant a change in the
desired time frame, you can reschedule the end of replication by specifying a new
date and time, a new position in the database log, or choose another option for
ending replication.
Ending replication is also necessary if you want to update and make changes to
your subscription by:
v Adding a table mapping to the subscription.
v Deleting a table mapping from the subscription.
v Temporarily removing a table mapping from the subscription (parking a table).
v Modifying mapping details such as source and target column mappings, derived
columns, data translations, row and column selections, user exits, and so on.
v Updating the properties of a subscription when the structure of your source
and/or target tables change.
See also:
To end replication
To end replication
1. Click Monitoring > Subscriptions.
2. If the subscriptions are available for editing, right-click one or more
subscriptions and select End Replication.
3. Depending on your version of InfoSphere CDC, choose from the following
options.
InfoSphere CDC version 6.5:
v NormalInfoSphere CDC completes in progress work and then ends
replication. If a refresh is in progress, Normal will complete the refresh for
the current table before replication ends.
Note: As latency between the source and target increases, the amount of time
required to end replication will also increase.
See also:
To send an XML message to a JMS message destination or a staging target
database
You can set notifications so that they are sent from either a source or target
datastore, or set notifications so that they are sent from a subscription. When you
set a notification on the datastore, the InfoSphere CDC loads these as default
notification settings across all subscriptions that use that datastore. This means that
each subscription that uses the datastore for replication inherits the notification
settings by default. Setting notifications at the datastore level is useful when you
want to set the same notifications for all your datastores regardless of which
subscriptions use them. However, if you have a subscription that uses the same
datastore in some special way, then you can set the notification at the subscription
level.
Set notifications from the datastore before setting notifications from each
subscription. This is to help you during diagnose and track the location of your
notifications.
Filtering notifications
You can filter notifications. When an event occurs in your replication environment,
InfoSphere CDC generates messages in the Events area of the Subscriptions view
of the Monitoring perspective. Each message is identified with an event ID. Using
the event ID, you can specify the messages for which you want to be notified or
those which should be suppressed. For example, if you want to be notified when
mirroring fails on a subscription, you can specify the event ID for that message in
the Filter Messages dialog box.
Copying notifications
You can copy notification settings to notification categories in the same datastore or
subscription. Email notification settings include information such as the name of
the person to which you send a notification or the subject line of an e-mail. You
can copy this information to other notification categories in the same datastore.
For example, you may have already set an e-mail notification that gets sent to
john_smith@ibm.com when the datastore DM0001@50000 on the source-side detects
a fatal communications error on the network. You may have set other notifications
that get sent in different events, but want all those notifications sent to the same
account. Instead of having to manually specify that john_smith@ibm.com receive
all notifications detected from DM0001@50000 in each notification, you can copy
this setting to other notification categories. Before you setup an e-mail notification
for MAPI, you should read the considerations outlined for these protocols in your
InfoSphere CDC for Microsoft SQL Server documentation.
You can also set latency notifications that alert you when InfoSphere CDC has
passed your warning or problem thresholds. You must specify a threshold before
you can set up a notification.
Depending on the InfoSphere CDC product you have installed, you can select
certain notification handlers in the Notifications dialog box:
v Message QueueYou can indicate that you want to relay a message to a
specified message queue when a certain type of message is generated. You have
the option of relaying that message to up to ten different message queues. To
specify a message queue, you need to specify both the name of the message
queue and the library where it resides.
v User Exit/User HandlerYou can indicate that you want to launch a user exit
program when a certain type of message is generated. Note that you are
responsible for creating the user exit program and ensuring that it works
properly. For more information about creating user exit programs for alerts and
alarms, see the appropriate InfoSphere CDC End-User Documentation.
v EmailYou can indicate that you want to send the generated message to an
e-mail address. Depending on the type of datastore, SMTP (Simple Mail Transfer
Protocol) and MAPI (Messaging Application Program Interface) can be used for
sending e-mail messages. Unless explicitly stated, each setting described below
applies to both SMTP and MAPI.
v SNMP (Simple Network Management Protocol)You can indicate that you
want to send a trap containing the generated message to an SNMP management
system.
v Event LogYou can indicate that you want to send the generated message to
the Windows application log.
v TSDPRINTYou can indicate that you want to send the generated message to
the TSDPRINT spool file provided with InfoSphere CDC for z/OS.
Notification categories
Notification categories represent the events that InfoSphere CDC detects in your
source and target datastores.
v Scrape/Refresh Events (Source)Categorizes notifications that are generated for
events that occur when InfoSphere CDC scrapes or refreshes data from your
source datastore.
v Apply Events (Target)InfoSphere CDC generates notifications related to events
that occur during the target apply process. For example, InfoSphere CDC can
generate a message when there is failure to apply on the target table.
v Communications EventsCategorizes notifications that are generated for
communication events that can occur between source and the target datastores.
For example, InfoSphere CDC can generate a message when there is a failure to
create TCP/IP socket.
v Environment EventsCategorizes notifications that are generated when
requirements for a basic replication environment are not met. For example,
InfoSphere CDC can generate a message when it cannot connect to a database,
or when permissions have not been set.
v Journal/Log Maintenance EventsCategorizes notifications that are generated
when InfoSphere CDC reads the journal or during log maintenance.
See also:
To set an e-mail (MAPI) notification
To set an email (SMTP) notification on page 341
To set an e-mail notification (InfoSphere CDC for Oracle) on page 341
To set an e-mail notification on page 342
To set a notification for the CHCPRINT spool file on page 342
To set a notification for an operator system log on page 342
To set a notification for a UNIX system log on page 343
To set a notification using a user exit program on page 343
To set a notification using a user exit program on page 343
To set a notification using a user exit program on page 344
To set a notification for a message queue on page 344
To filter a notification message on page 345
See also:
To set notifications for a subscription
To view the datastore default notifications for a subscription on page 346
See also:
To copy notification settings
When you set a notification, InfoSphere CDC sends you a notification after the
following events:
v NormalLatency for the journal or log is below the warning threshold. This
means that latency is acceptable and within your normal range. Latency is
normal according to the latency thresholds you have set for the subscription.
See also:
To set a latency threshold and notification
Promoting subscriptions
Use the Promote Subscription wizard to promote your subscription to a new
environment. For example, you can promote your subscription from a
development environment and into a production environment when you are ready
to use that subscription in replication activities.
See also:
Be aware that if SQL Where clauses have been specified to define a subset of rows
within a refresh configuration for a table mapping, they will not be promoted to
the new table mapping.
See also:
To promote selected table mappings to a new environment
To promote selected table mappings to an existing subscription on page 356
Related concepts
Before you promote a subscription or selected table mappings on page 349
The Monitoring perspective lets you diagnose potential problems by allowing you
to perform the following actions:
v Examine the amount of latency for a subscription. You can set latency thresholds
and notifications for your subscriptions to help you determine when latency is
becoming a problem.
v View replication activity for a subscription
v Check system messages and events that relate to a subscription or a datastore in
the Event Log or Current Replication Events area. You can view messages for
each subscription and datastore in your replication configuration.
v Analyze replication performance
The Replication area of the summary breaks down replication into five states and
shows a count of how many subscriptions fall within each state:
v MirroringIncludes subscriptions that have a state of Mirroring Continuous
and Mirroring Scheduled End
v RefreshIncludes subscriptions that have a state of Refreshing
v FailedIncludes subscriptions that have a state of Failed.
v InactiveIncludes subscriptions that have a state of Inactive or Unknown
v OtherIncludes all other kinds of states, such as Starting, Ending, Locked.
The Replication area can also be used as a filter; clicking a state changes the list to
include only subscriptions in that state. The Clear Filter link returns the list to its
default display.
The Latency area of the summary breaks down latency levels into three states:
Problem, Warning and Normal. A count is shown indicating how many
subscriptions fall within each state. You need to have set latency threshold values
for your subscriptions in order for values to be displayed in this area, otherwise
the subscriptions will fall into the normal category.
An icon is displayed beside the subscription name to visually indicate its state.
Related concepts
Viewing replication events on page 364
Locking subscriptions within a datastore on page 52
In order to view latency information, you need to ensure that Collect Statistics is
enabled for the subscription. Once enabled, an icon will be displayed in a
column on the right side of the subscription list.
You can drill down in this view to see a more detailed explanation of latency by
double-clicking on the area title.. A summary of latency values and a graph will be
displayed:
v CurrentIndicates the amount of time the subscription is latent in replicating
data to the target.
v HighIndicates the highest amount of time a subscription has experienced
latency since you started to collect statistics.
v LowIndicates the least amount of time a subscription has experienced latency
since you started to collect statistics.
v AverageIndicates the average amount of time a subscription has experienced
latency since you started to collect statistics.
Latency considerations
v To receive accurate latency statistics for a subscription, ensure that your system
time (for each machine where you have installed InfoSphere CDC) is
synchronized and that the time zone matches the time zone of your region.
InfoSphere CDC calculates latency based on your system time and the offset
from Coordinated Universal Time (UTC).
v Depending on the platform on which you have InfoSphere CDC, you can set the
DEADBAND PERCENTAGE system parameter to greater than zero on your target
datastore if you want InfoSphere CDC to apply padding around your latency
threshold.
See also:
To view latency values for a subscription
In order to view replication activity, you need to ensure that the Collect Statistics
button is enabled for the subscription. Once enabled, an icon will be
displayed in a column on the right side of the subscription list.
Activity - Refresh
If your subscription is refreshing, a pie chart depicting the progress of the refresh
will be displayed, along with the following information:
v Tables completedDisplays a percentage value for the number of tables in the
subscription that have finished refreshing.
v Refresh startedDisplays the date and time that the refresh began.
v Refresh completedDisplays the date and time that the refresh ended.
v Table nameSpecifies the name of the target table currently being refreshed. This
information will only be displayed while the refresh is in progress.
v Rows readSpecifies the number of rows in the source table that have been
read. This information will only be displayed while the refresh is in progress.
Double-clicking Activity - Refresh will drill down into a more detailed view of the
replication activity.
The pie chart is displayed again, along with a list of the tables to be refreshed. For
each table, the following information is displayed:
v Source TableSpecifies the source table.
v Target TableSpecifies the target table being refreshed.
v DurationDisplays the amount of time the refresh has lasted.
v Records ReadDisplays the number of records that have been read on the
source table.
v Records AppliedDisplays the number of records in the table that have been
applied to the target table.
v StatusDisplays the current status of the table. The status will be Refreshing...
will the refresh of a table is still in progress or Completed when the refresh of
the table has completed.
Activity - Mirroring
If you select Operations, a list of basic replication activities (inserts, updates, and
deletes) for the source and target datastores is displayed on the left.
If you select Bytes, a list of processed volume activities (measured in bytes) for the
source and target datastores is displayed on the left.
For the Operations tab, the Cumulative column displays a count of the activities
that occurred after statistics collection was enabled during the current replication
session (the current session being when mirroring or refresh was started, until
replication is ended). The next time that replication is started, the event count will
return to zero and begin again. The frequency at which Management Console
collects data for the cumulative count is based upon the value set in the Statistics
Sample rate (seconds) box on the Preferences dialog. The count will begin after
the first instance of the specified interval.
Up to five of these activities can be selected to plot the graph on the right. Each
activity will be assigned a different color on the graph.
See also:
To view replication activities for a subscription
Related concepts
Setting statistics preferences on page 21
There are several categories of events, which are listed by increasing severity:
v InformationThese events provide feedback about InfoSphere CDC operations.
These events do not indicate that an error has occurred.
v DiagnosticThese events contain information that helps you diagnose or solve
a problem that may occur as a result of a certain action or operation. This
category of events is generated only by InfoSphere CDC for IBM i, InfoSphere
CDC for Oracle version 6.0 and earlier, InfoSphere CDC for Microsoft SQL
version 5.3.4 and earlier replication engines.
v NoticeThese events describe situations that InfoSphere CDC has detected,
which alerts you about a potential error. This category of events is generated
only by InfoSphere CDC for IBM i, InfoSphere CDC for Oracle version 6.0 and
earlier, InfoSphere CDC for Microsoft SQL version 5.3.4 and earlier replication
engines.
v WarningThese events describe situations that InfoSphere CDC has detected,
which alerts you about a potential error.
v ErrorThese events describe an error that InfoSphere CDC has detected, or
explain conditions that led to InfoSphere CDC shutting down.
v EscapeThese events describe an error that InfoSphere CDC has detected, or
explain conditions that led to InfoSphere CDC shutting down. This category of
events is generated only by InfoSphere CDC for IBM i, InfoSphere CDC for
Oracle version 6.0 and earlier, InfoSphere CDC for Microsoft SQL version 5.3.4
and earlier replication engines.
See also:
To view events (InfoSphere CDC version 6.5 and later) on page 366
To retrieve events that occurred within a date range (InfoSphere CDC version
6.5 and later) on page 366
To copy events
1. Click Monitoring > Subscriptions.
2. Select a subscription.
3. Double-click on Current Replication Events or Event Log Summary, as
applicable.
4. Select an event or hold Ctrl and select multiple events.
5. Right-click and select Copy Selected Events.
6. Paste the events in the desired application.
Related concepts
Viewing replication events on page 364
To export events
1. Click Monitoring > Subscriptions.
2. Select a subscription.
3. Double-click on Current Replication Events or Event Log Summary, as
applicable.
4. Right-click in the list of events and select Export Events.
5. If you want to export events from the source datastore, select the Source
Events check box and select one of the following items from the list box:
v AllClears all events generated by the source datastore.
v DatastoreClears all events generated by the source datastore applying to
the source datastore.
v SubscriptionClears all events generated by the source datastore applying
to subscriptions.
v Single ScrapeClears all events generated by the source datastore applying
to Single Scrape.
6. If you want to export events from the target datastore, select the Target Events
check box and select one of the following items from the list box:
v AllClears all events generated by the target datastore.
v DatastoreClears all events generated by the target datastore applying to
the target datastore.
v SubscriptionClears all events generated by the target datastore applying to
subscriptions.
v Single ScrapeClears all events generated by the target datastore applying
to Single Scrape.
7. You are prompted to save the list of events in a formatted text file to your local
computer.
Related concepts
Viewing replication events on page 364
Note: Be aware that the collection of table-level statistics may stress resources and
affect performance.
Available metrics
The following is a list of the metrics available for analyzing subscription
performance.
See also:
Datastore metrics
Single Scrape metrics on page 372
Log reader metrics on page 373
Log parser metrics on page 374
Source transformation engine metrics on page 376
Target transformation engine metrics on page 377
Target database metrics on page 378
Datastore metrics
These metrics allows you to analyze replication activities specific to the source
datastore.
See also:
Time check missed count - seconds
Free memory - bytes on page 371
Maximum memory - bytes on page 371
Total memory - bytes on page 371
Garbage collections - count on page 371
Garbage collection CPU time - milliseconds on page 372
Global memory manager - bytes used for replication on page 372
DescriptionTracks how often and by how much InfoSphere CDC missed its
periodic time check. InfoSphere CDC will record the number of seconds missed,
cumulatively.
BenefitUse this statistic in conjunction with the Total memory and Maximum
memory statistics to better understand memory utilization. A low value for this
statistic would indicate a memory starvation issue and could be addressed by
allocating more memory to the engine.
Related reference
Total memory - bytes
Maximum memory - bytes
DescriptionTracks the user configured memory for the InfoSphere CDC Java
Virtual Machine (JVM).
BenefitUse this statistic in conjunction with the Free memory and Total memory
statistics to better understand memory utilization.
Related reference
Free memory - bytes
Total memory - bytes
BenefitUse this statistic in conjunction with the Free memory and Maximum
memory statistics to better understand memory utilization. This value should be
less than or equal to Maximum memory.
Related reference
Free memory - bytes
Maximum memory - bytes
BenefitCould indicate too much memory was being allocated by having very
large garbage collection blocks occurring
See also:
Disk size - bytes
Disk writes - bytes
Disk reads - bytes
BenefitUse this statistic to understand staging store sizing. A large size on disk
could indicate large latency for one or more subscriptions or a stopped
subscription.
See also:
Physical bytes read - bytes
Log position timestamp
Committed transactions - count
CPU time - seconds
DescriptionTracks the physical bytes read by the log reader. This includes any
extra I/O that is done by replication engines to read logs. For API-based log
readers, this value will be 0.
BenefitUse this statistic to understand log reader activity. A large number would
indicate a lot of log data being processed. If this number is high and the amount of
data replicated is low, it means that InfoSphere CDC is filtering out most
information from the log. If the number is low, there is not a lot going on in the
database.
BenefitUse this statistic to understand CPU usage. A high value could indicate a
lot of out-of-scope data.
See also:
Disk size - bytes
Disk writes - bytes
Disk reads - bytes
In scope transactions - count
New tables - count on page 375
CPU time - seconds on page 375
Transaction histogram (0 to 1/2 X) - bytes on page 375
Transaction histogram (1/2X to X) - bytes on page 375
Transaction histogram (X to 2X) - bytes on page 375
Transaction histogram (2X to 4X) - bytes on page 376
Transaction histogram (4X to 8X) - bytes on page 376
Transaction histogram (8X and larger) - bytes on page 376
BenefitUse this statistic to understand staging store sizing. A large size on disk
could indicate large transactions being processed or many concurrent open
transactions.
BenefitUse this statistic to understand log parser activity. Each time a new table
is encountered by InfoSphere CDC, the source database must be queried for the
table's structure. Seeing a high value for this statistic could indicate a loss of
performance due to source database queries to retrieve table information,
explaining why latency would increase for a period of time.
BenefitUse this statistic to understand CPU usage. If this value is high the CPU
could be the constraint for parsing of the log. Splitting the subscription might
resolve this issue.
See also:
Rows evaluating Derived Expressions - count
Rows calling source db - count
Rows calling User Exits - count on page 377
CPU Used - seconds on page 377
MBCS conversions - bytes on page 377
BenefitUse this statistic to understand CPU usage. A value equal to the time
period would indicate a CPU bottleneck.
See also:
CPU time - seconds
Rows evaluating Expressions - count on page 378
Rows calling target DB - count on page 378
Rows calling User Exits - count on page 378
MBCS conversions - bytes on page 378
DescriptionTracks the number of rows with at least one call out to the target
database.
BenefitUse this statistic to understand activity due to user exits. A large number
would indicate potential performance issues due to calls out to user functionality.
See also:
CPU used - seconds on page 379
CDR conflicts - count on page 379
Adaptive apply changes - count on page 379
Apply commits - counts on page 379
Average array size - count on page 379
SQL errors ignored - count on page 379
Slow DB operations - count on page 380
BenefitUse this statistic to understand CPU usage. A value equal to the time
period would indicate a CPU bottleneck.
DescriptionTracks the number of SQL data errors that have been ignored.
The following list provides examples of common situations in which you may
experience latency:
v Insufficient network bandwidth for the volume of transactions that you are
processing is increasing the amount of time between changes on the source table
and the same change on the target table. To resolve this problem, contact your
network administrator.
v A large refresh is occurring.
v Resource intensive batch jobs or background tasks on either the source or target
can result in increased latency for subscriptions until these processes are
complete.
v InfoSphere CDC is replicating tables with Large Objects (LOB), increasing
latency due to large table row sizes.
v A database lock contention, in which a reporting system on the target database
may unexpectedly lock data in the database, may force InfoSphere CDC to wait
for the locks to be released.
To determine what is causing the latency to occur, use the Bottlenecks area of the
Performance view to identify where bottlenecks are occurring. This view displays
a bar chart featuring the five components of the pipeline:
v Log ReaderDisplays bottleneck levels for the log reader on the source
replication engine.
v Source EngineDisplays bottleneck levels for the log parser on the source
replication engine.
v CommunicationsDisplays bottleneck levels for communications for the source
replication engine.
The results of the bar chart will help you isolate where bottlenecks are occurring.
Once you have identified the problem area, you can perform a more in-depth
analysis by charting metrics specific to that area.
You can analyze table-level performance, if you suspect that individual tables
within a subscription are causing latency issues. InfoSphere CDC provides a list of
the source tables in the subscription that are the most active. Before proceeding
with table-level analysis, you should be aware that the collection of table-level
statistics might require additional resources and can affect system performance.
See also:
To view bottlenecks for a subscription
To chart metrics for a subscription
To chart metrics for tables
To view the busiest tables in a subscription on page 382
To stop table-level performance monitoring on page 382
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Notes:
v If you make changes to a system parameter during active replication, you must
stop and restart replication for the changes to take effect.
v When upgrading to a later version of InfoSphere CDC, any preexisting settings
for system parameters are maintained.
See also:
AuthCode on page 384
DBMS on page 384
dbUser on page 384
dllname on page 384
DSN on page 384
NetServiceName on page 385
pwdencrypt on page 385
Startup Timeout on page 385
TSSrcCP on page 386
AuthCode
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to adjust the authorization code issued by IBM.
Note: You can also modify the authorization using the Authorization Code Setup
utility
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
DBMS
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToTarget
dbUser
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
dllname
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToTarget
DSN
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
NetServiceName
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToTarget
pwdencrypt
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to encrypt or decrypt user identifiers and passwords
stored in InfoSphere CDC metadata tables.
Applies ToSource
Default Setting1
Guidelines
Encryption or decryption does not affect existing user identifiers and passwords in
InfoSphere CDC metadata tables. Any changes you make to this system parameter
apply only to user identifiers and passwords added after setting the system
parameter.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Related reference
Deadband Percentage on page 398
Startup Timeout
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 385
Applies ToSource and Target
TSSrcCP
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to identify the code page InfoSphere CDC uses for each
instance of a target database.
Applies ToTarget
Default SettingThe system code page when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
TSTgtCP
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to identify the source system code page of InfoSphere
CDC.
Applies ToSource
Default SettingThe system code page when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
TCP_KEEPALIVE_SECS
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to determine the time (in seconds) InfoSphere CDC
waits before sending a keep alive notification over the network. During idle
periods, InfoSphere CDC sends a keep alive notification to keep the connection
open.
Minimum Setting0
Guidelines
v To prevent the firewall from closing during active data replication, set this
parameter to a value lower than the configured firewall timeout.
v To set TCP_KEEPALIVE_SECS:
1. Create a registry key called HKEY_LOCAL_MACHINE\SOFTWARE\DataMirror\
InfoSphere CDC\Comms
Note: It is important you set this system parameter when you have a firewall
connection that has been configured to timeout. This prevents the firewall from
closing the connection.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
WindowsAuthentication
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this parameter, see your IBM representative.
See also:
AutoRestart
convertNotNullableColumns on page 388
MirrorError on page 388
RefreshError on page 389
RefreshMode on page 389
AutoRestart
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Applies ToSource
Default Setting0
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 387
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Related reference
convertNotNullableColumns
convertNotNullableColumns
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to indicate whether or not NULL values will be
converted to default values when replicating data that contains NULL values to
non-nullable target columns.
Applies ToTarget
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
MirrorError
RefreshError on page 389
convertNotNullableMsg on page 400
D_MIRROR_MIRROR_ERROR_STOP on page 499
D_MIRROR_REFRESH_ERROR_STOP on page 499
MirrorError
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to start or stop InfoSphere CDC from continuing
mirroring when it encounters one or more errors.
Default SettingEND
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
RefreshError
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to start or stop InfoSphere CDC from continuing
mirroring when it encounters one or more errors.
Applies ToTarget
Default SettingEND
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
RefreshMode
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to set how InfoSphere CDC applies rows to the target
during a refresh operation. InfoSphere CDC can use BCP (bulk copy refresh) in
which a block of rows are sent as a single unit during a refresh operation. This
method is faster than the standard method of refreshing tables used by InfoSphere
CDC.
Applies ToTarget
Default SettingBCP
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 389
Note: Use the RefreshBlock system parameter to set the number of records in a
block.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Related reference
RefreshBlock on page 395
See also:
Cleanup Interval
Cleanup Log Events
Cleanup Record Count on page 391
LogCleanupMethod on page 392
Report Position Interval on page 392
Synchronization Interval on page 393
Cleanup Interval
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to set the time (in seconds) for InfoSphere CDC to clean
up the distribution database on the source system.
Applies ToSource
Use this system parameter to enable or disable InfoSphere CDC from generating a
notification during a cleanup cycle. InfoSphere CDC can generate regular
notifications to indicate how many processed log entries it deleted from the
distribution database during a cleanup cycle. If the cleanup cycle completes in a
short period of time, then InfoSphere CDC only generates notifications that mark
the start and end of each cleanup cycle.
The Cleanup Log Events system parameter is set to either YES or NO:
v YESGenerates notifications indicating the duration of the cleanup cycle and
how many processed log entries have been deleted from the distribution
database.
v NODoes not generate notifications indicating the duration of the cleanup cycle
and how many processed log entries have been deleted from the distribution
database.
Default SettingNO
Notes:
v InfoSphere CDC places notifications in the Event Log.
v If you modify the value after setting the system parameter, InfoSphere CDC uses
the modified value after completing the next cleanup cycle.
v The time between consecutive cleanup cycles is determined by the Cleanup
Interval system parameter.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Viewing replication events on page 364
Setting system parameters on source and target datastores on page 71
Use this system parameter to increase or decrease the number of log entries
InfoSphere CDC can delete from the distribution database during a cleanup cycle.
Depending on the number of log entries you set for deletion and the amount of
data being mirrored in your environment, multiple operations may be required to
delete all processed log entries during a cleanup cycle.
Applies ToSource
Guidelines
v You may want to reduce the number of operations applied to the distribution
database and set this parameter to a higher number so that InfoSphere CDC can
delete a greater number of log entries. Although this improves the performance
of the cleanup cycle, a higher number of log entries can increase the amount of
time it takes for InfoSphere CDC to complete the cleanup cycle. This can also
conflict with other processes that use the distribution database (for example, the
Microsoft log reader process and the InfoSphere CDC log scraper process). To
avoid conflicts with other processes that access the distribution database, set this
parameter to a smaller number of log entries that InfoSphere CDC can delete
during a clean up cycle.
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 391
v To ensure a short cleanup cycle, set this parameter to the approximate number
of log entries that InfoSphere CDC can delete in your environment in 1 second.
Notes:
v If you set a value outside the acceptable range, then InfoSphere CDC uses the
defaults.
v If you modify the value after setting the system parameter, InfoSphere CDC uses
the modified value after completing the next cleanup cycle.
v The time between consecutive cleanup cycles is determined by the Cleanup
Interval system parameter.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Related reference
Cleanup Log Events on page 390
LogCleanupMethod
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to enable or disable InfoSphere CDC from using IBM
stored procedures to clean up transactions in the distribution database.
Applies ToSource
Default Setting0
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Use this system parameter to set how often (in milliseconds) InfoSphere CDC
informs the target system about its log position. When the source system is in idle
mode and there are no log entries for the subscription, the source system informs
the target system of its current log position. The target system uses this
information to advance its bookmarks.
Applies ToSource
Guidelines
v If the number of milliseconds is set low, then the target system can provide
accurate progress notifications that indicate how far replication has progressed.
v If the number of milliseconds is set high, it may affect the accuracy of the
information displayed in progress and bookmark notifications.
Notes:
v If you set a value outside the acceptable range, then InfoSphere CDC uses the
defaults.
v This system parameter can also prevent InfoSphere CDC from rereading log
entries that do not apply to the table currently being replicated.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Synchronization Interval
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to set how often (in seconds) InfoSphere CDC performs
log synchronization between the source and the target. Synchronization is achieved
when the source reports to the target the position of the last committed change.
Applies ToSource
Guidelines
If you are replicating large volumes of data, set this system parameter to a lower
number of seconds to remove obsolete logs more frequently.
Note: If a value outside the acceptable range is specified, the default setting is
used.
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 393
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
See also:
CommitmentControl
Commit Group Size on page 395
RefreshBlock on page 395
SeparateCommits on page 396
CommitmentControl
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to enable or disable InfoSphere CDC from using
commitment control. Enabling commitment control maintains transaction
consistency during replication and ensures that all transactions are applied to the
target system. If there is a communications or server failure and you have enabled
this system parameter, then InfoSphere CDC rolls back the partially applied
transaction to the last commit.
Applies ToSource
Default Setting0
Note: You can set the maximum number of rows that InfoSphere CDC can contain
a committed transaction using the RefreshBlock system parameter.
Specifies the number of rows applied to the database before a commit is issued.
Applies ToTarget
This system parameter allows the subscriber to issue the commits on an interval
basis rather than on each entry thus reducing the number of commits and leading
to an improvement in overall apply performance.
Note: This parameter only affects the commit size if the CommitmentControl
parameter is set to 0.
Specify the number of entries you want InfoSphere CDC to apply before issuing a
commit. For example, if you set this parameter to 10, a commit is issued every ten
entries.
Default Setting0 rows. InfoSphere CDC does not use commit groups to perform
synchronization.
RefreshBlock
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to set the number of rows InfoSphere CDC can contain
in a refresh block or a commit group. Depending on how you are refreshing data
to the target, InfoSphere CDC can contain rows for bulk copy refresh or a commit
group operations.
Applies ToTarget
Guidelines
v If the table you are replicating is relatively large, IBM recommends increasing
the number of records (refresh block or commit group) to improve performance.
v If you are encounter errors during replication, reduce the number of records.
Although performance is affected, lowering the number of records may
eliminate these errors during replication.
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 395
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Related reference
CommitmentControl on page 394
SeparateCommits
SeparateCommits
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to control how InfoSphere CDC commits bookmarks.
InfoSphere CDC can commit bookmarks together or separate from the user data.
For more information about bookmarks and how to retrieve bookmark values on
the target, see Transformation Server for Microsoft SQL Server Commands Reference.
Applies ToTarget
Default SettingOff
Guidelines
IBM recommends that you set this parameter to On only for performance reasons.
If you set this parameter to On and InfoSphere CDC encounters an error during
the apply process and ends the apply process abnormally, then this may result in
the bookmark not being synchronized with the target system.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
See also:
AllowEventLogClear
AllowEventLogClear
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToSource
See also:
Unicode Handling
Unicode Handling
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to indicate the default method of treating data in
defined Unicode columns. For each InfoSphere CDC installation on a server, this
system parameter defines the system default method of treating data in Unicode
columns. If a Unicode column is set to System Default on the Encoding tab of the
Mapping Details view in Management Console, InfoSphere CDC uses the method
for processing Unicode columns that you select in this system parameter.
Applies ToSource
Data types
Default SettingNOCHANGE
Note: NOCHANGE does not ensure that replicated non-single-byte character data
in Unicode columns are represented properly on the target. For replicated
non-single-byte character data, you many need to apply user exit programs or
other customization to properly represent the data in Unicode columns.
For more information about user exit programs, see your InfoSphere CDC for
Microsoft SQL Server documentation
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 397
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Related tasks
To set handling for Unicode character encoding on page 170
See also:
Deadband Percentage
Monitor Sample Interval on page 400
Deadband Percentage
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Applies ToTarget
Identifies the size of the range around each latency threshold setting. Based on
latency thresholds defined, a latency message is generated when latency has risen
above or fallen below a threshold. Latency is calculated at regular intervals, where
the interval is the current setting for the MONITOR_SAMPLE_INTERVAL system
parameter. You can set notifications in response to a generated latency message.
For example, assume that a latency threshold is 5 minutes and this system
parameter is set to 10. A 10% range is applied around the 5 minute threshold. The
following calculations are performed to determine the lower and upper limits (in
minutes) of the range around the threshold:
v Padding = 10% of 5 minutes = 0.5 minutes (rounded up to 1 minute)
v Padding is rounded up or down to the nearest whole minute:
Upper limit of range = 5 minutes + 1 minute (padding) = 6 minutes
Lower limit of range = 5 minutes - 1 minute (padding) = 4 minutes
As a result, a latency message will be generated only when latency rises above 6
minutes or falls below 4 minutes. Given sample latency over a ten minute period
where latency is calculated every minute, three latency messages are generated.
This graph illustrates latency message generation with the DEADBAND_PERCENTAGE
value set to 10%:
If the number of latency messages generated over the ten minute period for the
10% (3 latency messages) and 3% (5 latency messages) settings are averages, an
additional 288 latency messages would be generated each day if this system
parameter is not changed from its default setting to 10%.
Since there are two latency thresholds that you can set (a warning threshold and a
problem threshold), two separate ranges are defined when padding is at least one
minute. In this case, each range is attached to its threshold, and the two ranges can
overlap with no change in behavior.
If a value outside the acceptable range is specified, the default setting is used.
Default Setting3%
Minimum Setting3%
Maximum Setting10%
Note: If you set a value outside the acceptable range, then InfoSphere CDC uses
the defaults.
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 399
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting latency thresholds and notifications on page 346
Setting system parameters on source and target datastores on page 71
Related reference
pwdencrypt on page 385
Use this system parameter to set how often (in seconds) InfoSphere CDC updates
replication latency metrics. InfoSphere CDC samples the target system to determine
if latency has risen above or fallen below the specified threshold settings.
Notes:
v InfoSphere CDC generates latency notifications when latency rises above or falls
below the thresholds and places these in the Event Log.
v If you set a value outside the acceptable range, then InfoSphere CDC uses the
defaults.
Related concepts
Setting latency thresholds and notifications on page 346
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
See also:
convertNotNullableMsg
DM_STATUS_INTERVAL on page 401
Heartbeat Timeout on page 402
InvalidNumericMsg on page 402
convertNotNullableMsg
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Applies ToTarget
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
convertNotNullableColumns on page 388
DM_STATUS_INTERVAL
Heartbeat Timeout on page 402
InvalidNumericMsg on page 402
DM_STATUS_INTERVAL
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to set how often (in seconds) InfoSphere CDC issues
progress notifications about the status of replication activities.
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 401
Notes:
v InfoSphere CDC places progress notifications in the Event Log.
v If a value outside the acceptable range is specified, the default setting is used.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Heartbeat Timeout
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
InfoSphere CDC sends internal heartbeat notifications between the source and
target systems to verify communications and the status of replication processes for
each active subscription. If the source or target do not receive a reply to a
notification within the specified timeout interval, then InfoSphere CDC determines
that a problem has occurred and attempts to stop all its source and target
processes for each active subscription.
Applies ToSource
Notes:
v InfoSphere CDC places notifications (message identifiers 3165 and 11010) in the
Event Log when a heartbeat timeout occurs.
v If you set a value outside the acceptable range, then InfoSphere CDC uses the
defaults.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Viewing replication events on page 364
Setting system parameters on source and target datastores on page 71
InvalidNumericMsg
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to enable or disable InfoSphere CDC from generating a
notification each time it detects an invalid numeric field.
Applies ToTarget
Default SettingYES
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
See also:
CommTrace
ProgramTrace on page 404
traceActive on page 404
TraceLevel on page 404
trcCleanup on page 405
trcCOMM on page 405
trcFiles on page 405
trcFncCalls on page 405
trcJrlSync on page 406
trcReplStatus on page 406
trcScan on page 406
trcSQL on page 406
trcThread on page 406
CommTrace
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to turn tracing of the communications module on or off.
Applies ToTarget
Default SettingOFF
Notes:
v The trace should only be produced if requested by IBM technical support.
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 403
v Activating a trace adversely affects performance.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
ProgramTrace
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to activate or deactivate InfoSphere CDC from tracing
the update module.
Applies ToTarget
Default SettingOFF
Notes:
v The trace is encrypted and should only be produced if requested by IBM
technical support.
v Activating a trace adversely affects performance.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
traceActive
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToSource
TraceLevel
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to set the level of detail produced by a program trace.
Applies ToTarget
Default Setting3
trcCleanup
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToSource
trcCOMM
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToSource
trcFiles
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to identify the location of the file that contains
information produced by an update or communications module trace.
Guidelines
You must specify the full path of the folder where you want to place the trace file.
Note: You can enable tracing using the ProgramTrace and CommTrace system
parameters.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Related reference
CommTrace on page 403
ProgramTrace on page 404
trcFncCalls
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 405
Applies ToSource
trcJrlSync
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToSource
trcReplStatus
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToSource
trcScan
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToSource
trcSQL
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToSource
trcThread
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
For information about setting this system parameter, see your IBM representative.
Applies ToSource
See also:
TrimVarchar on page 407
For information about setting this system parameter, see your IBM representative.
Applies ToTarget
See also:
DeadlockRetrys
DM_LOCK_DETECTION
DM_LOCK_TIMEOUT on page 408
DeadlockRetrys
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to identify the number of attempts InfoSphere CDC
applies a table or row-level operation (clear table, insert, update, or delete) to the
target table after detecting a deadlock. If the operation cannot be applied after the
specified number of attempts has been made, InfoSphere CDC cancels the
operation and generates an error notification in Event Log.
Applies ToTarget
DM_LOCK_DETECTION
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to turn lock detection on or off. If InfoSphere CDC
attempts to modify a table or row that has been locked by another process, then
turning lock detection ON enables InfoSphere CDC to wait for a specific amount of
time before attempting to apply the data again.
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and earlier) 407
Default SettingON
Note: You can specify the time to wait using the DM_LOCK_TIMEOUT system
parameter.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
Related reference
DM_LOCK_TIMEOUT
DM_LOCK_TIMEOUT
VersionInfoSphere CDC for Microsoft SQL Server version 5.3 and earlier
Use this system parameter to set the amount of time (in seconds) that InfoSphere
CDC waits before attempting to modify a locked user or metadata table. When
InfoSphere CDC attempts to modify a locked table, it places a notification in the
Event Log. These notifications identify the specific table and row that InfoSphere
CDC could not modify.
Applies ToTarget
Notes:
v If you set a value outside the acceptable range, then InfoSphere CDC uses the
defaults.
v Table locking notification is supported for tables containing user data and
replication metadata tables.
Related concepts
System parameters for InfoSphere CDC for Microsoft SQL Server (version 5.3 and
earlier) on page 383
Setting system parameters on source and target datastores on page 71
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Notes:
v If you make changes to a system parameter during active replication, you must
stop and restart InfoSphere CDC for the changes to take effect.
v When upgrading to a later version of InfoSphere CDC, any preexisting settings
for system parameters are maintained.
See also:
mirror_auto_restart_interval_minutes
mirror_auto_restart_interval_minutes
VersionInfoSphere CDC for Sybase version 6.3 Fix Pack 3 TFE 9 and later.
Use this parameter to indicate how long (in minutes) InfoSphere CDC will attempt
to automatically restart continuous mirroring for persistent subscriptions.
Applies ToSource
Default0
Minimum0
Maximum60
Copyright IBM Corp. 2008, 2011 409
Notification system parameters
Notification system parameters let you control if you should generate InfoSphere
CDC messages in the Event Log for specific events.
See also:
events_max_retain
global_shutdown_after_no_heartbeat_response_minutes
global_conversion_not_possible_warning
events_max_retain
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter to control the maximum number of events that
InfoSphere CDC will store in the event log. If InfoSphere CDC generates more
events than the specified maximum, then the earliest events will be deleted.
Default Setting10000
Minimum -1
Maximum2147483647
global_shutdown_after_no_heartbeat_response_minutes
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Applies ToSource
global_conversion_not_possible_warning
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter to control whether or not InfoSphere CDC generates a
warning in the Management Console Event Log in the following situations:
v Data conversion is not possible for a specific data value.
v Converted data types are encountered that are out of range.
Applies ToTarget
Default Settingfalse
Related concepts
System Parameters for InfoSphere CDC for Microsoft SQL Server (version 6.0 and
later) on page 409
Setting system parameters on source and target datastores on page 71
Related reference
global_default_after_database_minimum_timestamp on page 417
global_default_before_database_minimum_timestamp on page 418
See also:
global_max_batch_size
mirror_interim_commit_threshold on page 412
refresh_commit_after_max_operations on page 412
global_max_batch_size
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter to specify the maximum number of rows that
InfoSphere CDC can place in an array and apply to the target database during
refresh or mirroring. InfoSphere CDC collects rows and places them in an array (in
memory) while receiving table-level operations from the source system. InfoSphere
CDC applies the rows from the array when there is a change to a different table,
when there is a new table-level operation, or when the maximum number of rows
in an array has been reached. You can use this parameter during mirroring only if
mirror_end_on_error is true and mirror_expected_errors_list is empty. Use only
during a refresh if refresh_end_on_error is true and refresh_expected_errors_list is
empty. Before InfoSphere CDC places rows into an array, it allocates memory for
the maximum number of rows you specify and multiplies this integer by the
System Parameters for InfoSphere CDC for Microsoft SQL Server (version 6.0 and later) 411
maximum length of a row. If the maximum number of rows is too large, then
InfoSphere CDC cannot allocate enough memory and will shut down. Management
Console references this area to present replication latency information.
Applies ToTarget
mirror_interim_commit_threshold
VersionInfoSphere CDC for Microsoft SQL Server version 6.3 Fix Pack 3 and
later.
In cases where large transactions are done on the source system, it can be more
efficient to break a large transaction into smaller transactions when applying data
to the target. You can configure this behavior using this system parameter.
The default value of 0 for this system parameter indicates that the product
guarantees transactional delivery of change data to the target. A value greater than
0 indicates that you want InfoSphere CDC to break up large transactions into
smaller transactions. For example, a value of 2000 indicates that InfoSphere CDC
will split up large source transactions so that each transaction committed to the
target database contains no more than 2000 operations.
Applies ToTarget
Default Setting0
Minimum Setting0
refresh_commit_after_max_operations
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
This system parameter identifies the number of rows comprising each transaction
during refresh. To reduce the workload on the target database during refresh,
InfoSphere CDC periodically commits the changes to the target database rather
than performing the refresh as a single large transaction.
Applies ToTarget
Default Setting1000
Maximum Setting2147483647
Minimum Setting1
See also:
global_unicode_as_char
global_unicode_as_char
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
This system parameter indicates the default method of treating data in defined
Unicode columns. For each InfoSphere CDC installation on a server, this system
parameter defines the system default method of treating data in Unicode columns.
If a Unicode column is set to System Default on the Encoding tab of the Mapping
Details view in Management Console, InfoSphere CDC uses the method for
processing Unicode columns that you select in this system parameter.
Note: Setting this parameter to false does not ensure that replicated
non-single-byte character data in Unicode columns are represented properly on
the target. For replicated non-single-byte character data, you may have to apply
user exit programs or other customizations to properly represent data in
Unicode columns. For more information about user exit programs, see the
InfoSphere CDC End-User Documentation for your platform.
Applies ToSource
Default Settingfalse
Note: The following SQL Server data types are considered to be Unicode columns
and are therefore affected by the value assigned to this system parameter:
v nchar
v nvarchar
System Parameters for InfoSphere CDC for Microsoft SQL Server (version 6.0 and later) 413
Related concepts
System Parameters for InfoSphere CDC for Microsoft SQL Server (version 6.0 and
later) on page 409
Setting system parameters on source and target datastores on page 71
Common encoding conversion scenarios on page 164
See also:
mirror_logging_by_empty_triggers
auto_configure_supplemental_logging on page 531
mirror_logging_by_empty_triggers on page 531
mirror_logging_by_empty_triggers
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
This system parameter allows you to choose empty triggers as your supplemental
logging method for Microsoft SQL Server 2000.
If you choose false and are using Microsoft SQL Server 2000, you must add your
database to replication/publication with the following steps:
1. Set up Microsoft Replication and verify that the Distribution database exists.
2. Add the database to Microsoft Replication using the following query:
EXEC sp_replicationdboption @dbname = 'your_db_name', @optname =
'publish', @value = 'true'
Note that you can use the following query to check if your database is enabled for
Microsoft Replication:
exec sp_helpreplicationdboption
Applies ToSource
Default Settingtrue
See also:
mirror_global_disk_quota_mb
mirror_global_disk_quota_gb
mirror_global_disk_quota_mb
VersionInfoSphere CDC for Microsoft SQL Server version 6.3
Use this system parameter to globally set a disk quota (in MB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum100
mirror_global_disk_quota_gb
VersionInfoSphere CDC for Microsoft SQL Server version 6.5
Use this system parameter to globally set a disk quota (in GB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
System Parameters for InfoSphere CDC for Microsoft SQL Server (version 6.0 and later) 415
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum1
See also:
convert_not_nullable_column
convert_not_nullable_message on page 417
global_default_after_database_minimum_timestamp on page 417
global_default_before_database_minimum_timestamp on page 418
mirror_end_on_error on page 418
mirror_expected_errors_list on page 418
refresh_end_on_error on page 419
refresh_expected_errors_list on page 419
refresh_loader_drop_index on page 419
refresh_with_referential_integrity on page 420
userexit_max_lob_size_kb on page 420
convert_not_nullable_column
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter to control how InfoSphere CDC behaves when it applies
a null value to a non-nullable column. When set to true (default value), the null
value will be replaced with a default value (based on the data type of the column)
and InfoSphere CDC will generate a warning in the event log. When set to false,
InfoSphere CDC applies the null value directly to the non-nullable column which
will result in an error and cause a shutdown of InfoSphere CDC on the target
database.
Default SettingTrue
convert_not_nullable_message
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Applies ToTarget
Default SettingTrue
global_default_after_database_minimum_timestamp
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
In environments where the timestamp range in your source database differs from
the target database, this system parameter allows you to control the default values
that InfoSphere CDC sets on the target for out-of-range date-time values.
Use this system parameter to control the value substituted by InfoSphere CDC in
the target database when a value is being set on a target date-time column that is
greater than the maximum accepted value for the target database.
System Parameters for InfoSphere CDC for Microsoft SQL Server (version 6.0 and later) 417
Related reference
global_conversion_not_possible_warning on page 410
global_default_before_database_minimum_timestamp
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
In environments where the timestamp range in your source database differs from
the target database, this system parameter allows you to control the default values
that InfoSphere CDC sets on the target for out-of-range date-time values.
Use this system parameter to control the value substituted by InfoSphere CDC in
the target database when a value is being set on a target date-time column that is
less than the minimum accepted value for the target database.
mirror_end_on_error
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter to indicate if you want to end mirroring after an apply
error occurs on the target database.
Applies ToTarget
Default SettingTrue
Related concepts
System Parameters for InfoSphere CDC for Microsoft SQL Server (version 6.0 and
later) on page 409
Setting system parameters on source and target datastores on page 71
mirror_expected_errors_list
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when applying data changes to the target during mirroring. The
error specified must correspond to the integer error code (database-vendor specific)
returned by the SQLException class in JDBC (Java Database Connectivity). Specify
multiple errors with a comma separated list of integer error codes.
Applies ToTarget
refresh_end_on_error
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter to indicate if you want to end a refresh after an apply
error occurs.
Applies ToTarget
Default SettingTrue
Related concepts
System Parameters for InfoSphere CDC for Microsoft SQL Server (version 6.0 and
later) on page 409
Setting system parameters on source and target datastores on page 71
refresh_expected_errors_list
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when refreshing data to the target. The error specified must
correspond to the integer error code (database-vendor specific) returned by the
SQLException class in JDBC (Java Database Connectivity). Specify multiple errors
with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
refresh_loader_drop_index
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
This system parameter indicates whether or not InfoSphere CDC will drop all
indexes on the tables being refreshed and then rebuild the indexes after the refresh.
In most environments, this will improve refresh performance.
If the refresh fails for any reason, InfoSphere CDC will write SQL statements to a
file which will allow you to manually rebuild the indexes for all tables in your
database. The location of the file is specified in the Management Console event log.
Applies ToTarget
Default Settingtrue
System Parameters for InfoSphere CDC for Microsoft SQL Server (version 6.0 and later) 419
refresh_with_referential_integrity
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter to indicate whether or not you want the data removed
from all the target tables being refreshed before repopulating any of them. This is
most useful when there are referential integrity constraints on the tables being
refreshed.
Applies ToSource
Default Settingfalse
userexit_max_lob_size_kb
VersionInfoSphere CDC for Microsoft SQL Server version 6.0 and later
Use this system parameter to set the maximum size of LOB data (in kb) that
InfoSphere CDC can pass to a user exit.
Applies ToTarget
Default Setting128 kb
Maximum9223372036854775807 kb
Minimum1 kb
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Note: If you make changes to a system parameter during active replication, you
must stop and restart replication for the changes to take effect.
See also:
CODE_PAGE on page 422
DEFAULT_ORACLE_HOME on page 422
DEFAULT_ORACLE_SID on page 422
DEFAULT_ORACLE_USER on page 423
DM_COMMS_HOME on page 423
D_MIRROR_HOME on page 423
D_MIRROR_LOG on page 423
DM_DYNAMIC_PARAMETER_CHECK_INT on page 424
DM_MAX_MONITOR_ENTRIES on page 424
DM_TS_MAX_POOL_SIZE_MB on page 425
DM_TS_POOL_BLOCK_SIZE_MB on page 425
<subscription>_MAX_POOL_SIZE_MB on page 426
CODE_PAGE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the code page associated with NLS_LANG.
This value is set during installation and should not be modified except under the
guidance of a IBM technical support.
Default SettingThe system code page when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
NLS_LANG on page 437
DEFAULT_ORACLE_HOME
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this parameter to specify the installation directory for the Oracle database
instance that is started by default. Modify this parameter only if you installed
InfoSphere CDC in multiple database instances.
Applies ToSource
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DEFAULT_ORACLE_SID
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToSource
Default SettingThe Oracle SID specified when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DEFAULT_ORACLE_USER
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the name of the user for the Oracle database
instance that is started by default. Modify this parameter only if you installed
InfoSphere CDC in multiple database instances.
Applies ToSource
Default SettingThe Oracle user specified when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DM_COMMS_HOME
VersionInfoSphere CDC for Oracle version 6.2 and earlier
For information about setting this system parameter, see your IBM representative.
D_MIRROR_HOME
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the directory (full path) where InfoSphere
CDC is installed on the server.
D_MIRROR_LOG
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the directory (full path) where InfoSphere
CDC log files are located.
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 423
Applies ToSource and Target
DM_DYNAMIC_PARAMETER_CHECK_INT
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify how often, in seconds, InfoSphere CDC
checks for changes to the values of dynamic system parameters during active
replication to a subscription. For example, to check once a day, set this parameter
to 216,000.
Minimum Setting0. InfoSphere CDC does not check for changes to dynamic
system parameters.
DM_MAX_MONITOR_ENTRIES
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to increase or decrease the number of subscriptions that
InfoSphere CDC can support in the Monitor in Management Console. InfoSphere
CDC allocates an entry for each source and target datastore within a subscription.
For example, if you have a datastore that is being used as a source datastore
within 20 subscriptions and as a target datastore within 10 subscriptions, then you
must set this system parameter to at least 30. InfoSphere CDC will allocate 30
entries for this datastore.
Applies ToSource
DM_TS_MAX_POOL_SIZE_MB
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter when you need to resize the staging store component of
InfoSphere CDC. You can specify a value in megabytes (MB). After specifying the
size of the staging store, you should specify the number of blocks you want
InfoSphere CDC to create using the DM_TS_POOL_BLOCK_SIZE_MB system parameter.
Applies ToSource
This setting must be large enough to store data for the largest predicted transaction
that occurs in the Oracle database. If the size of the active staging store is not large
enough to accommodate all data, InfoSphere CDC issues an error message
(Message ID 307) in the event log and shuts down. The staging store size should
be at least 150% of the largest predicted transaction.
Note: After changing the value of this parameter, you must set the journal position
to the last applied position by running the setjrnpos command.
For more information about the setjrnpos command, see the "setjrnposSet
journal position in the commands" section of the InfoSphere CDC for Oracle End-User
Documentation.
To set the journal position, see "Running the Bookmark Viewer Command and
Setting the Journal Position on the Source" in the "Installing InfoSphere CDC"
section of the InfoSphere CDC for Oracle End-User Documentation.
Related reference
DM_TS_POOL_BLOCK_SIZE_MB
RLD_SYSTEM_TXQSIZE on page 429
DM_TS_POOL_BLOCK_SIZE_MB
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter when you are in the process of resizing the staging
store component of InfoSphere CDC and need to specify a block size you want
InfoSphere CDC to create for the staging store. You must have already specified
the size of the staging store (in MB) using the DM_TS_MAX_POOL_SIZE_MB system
parameter.
The value you specify for DM_TS_POOL_BLOCK_SIZE_MB indicates the block size you
want InfoSphere CDC to create for the staging store. The size you had specified
with the DM_TS_MAX_POOL_SIZE_MB system parameter is adjusted based on the block
size you specify.
Applies ToSource
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 425
Default SettingNone. If you do not specify a block size for this system
parameter, then InfoSphere CDC will create a maximum of 4 blocks (no larger than
20 MB each) of space for the staging store. For example, you may have specified
100 MB for the staging store using the DM_TS_MAX_POOL_SIZE_MB system parameter.
In this scenario, InfoSphere CDC will create a maximum 5 blocks of 20 MB each.
Related reference
DM_TS_MAX_POOL_SIZE_MB on page 425
<subscription>_MAX_POOL_SIZE_MB
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter when you want to resize the staging store for a specific
subscription. You can specify a value in megabytes (MB). After specifying the size
of the staging store, you should specify the block size you want InfoSphere CDC to
create using the <subscription>_POOL_BLOCK_SIZE_MB system parameter.
Applies ToSource
This setting must be large enough to store data for the largest predicted transaction
that occurs in the Oracle database. If the size of the active staging store is not large
enough to accommodate all data, InfoSphere CDC issues an error message
(Message ID 307) in the event log and shuts down. The staging store size should
be at least 150% of the largest predicted transaction.
Note: After changing the value of this parameter, you must set the journal position
to the last applied position by running the setjrnpos command.
For more information about the setjrnpos command, see the "setjrnposSet
journal position in the commands" section of the InfoSphere CDC for Oracle End-User
Documentation.
To set the journal position, see "Running the Bookmark Viewer Command and
Setting the Journal Position on the Source" in the "Installing InfoSphere CDC"
section of the InfoSphere CDC for Oracle End-User Documentation.
Related reference
RLD_SYSTEM_TXQSIZE on page 429
<subscription>_POOL_BLOCK_SIZE_MB
<subscription>_POOL_BLOCK_SIZE_MB
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter when you are in the process of resizing the staging
store component for a specific subscription and need to specify a block size you
want InfoSphere CDC to create for the staging store. You must have already
specified the size of the staging store (in MB) using the
<subscription>_TS_POOL_BLOCK_SIZE_MB system parameter.
Applies ToSource
Default SettingNone. If you do not specify a block size for this system
parameter, then InfoSphere CDC will create a maximum of 4 blocks (no larger than
20 MB each) of space for the staging store. For example, you may have specified
100 MB for the staging store using the <subscription>_TS_POOL_BLOCK_SIZE_MB
system parameter. In this scenario, InfoSphere CDC will create a maximum 5
blocks of 20 MB each.
Related reference
<subscription>_MAX_POOL_SIZE_MB on page 426
LD_LIBRARY_PATH
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the path to the InfoSphere CDC libraries and
the database libraries for Solaris and Linux operating systems. This value is set
during installation and should not be modified.
Default SettingThe path to the InfoSphere CDC libraries and the Oracle libraries
when InfoSphere CDC was installed
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
LIBPATH
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the path to the InfoSphere CDC libraries and
the database libraries (for AIX operating systems). This value is set during
installation and should not be modified.
Default SettingThe path to the InfoSphere CDC libraries and the database
libraries when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
ORACLE_HOME
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToSource
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 427
Default SettingThe Oracle home directory specified when InfoSphere CDC was
installed.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
ORACLE_SID
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToSource
Default SettingThe Oracle SID specified when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
PASSWORD
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to identify the encrypted database password, which can
be set using the dmsetpass command. For information about dmsetpass, see
dmsetpassSet Password in the Commands section of the InfoSphere CDC for
Oracle documentation for version 6.2 and below.
Applies ToSource
This parameter was set during installation and should not be modified.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
PUBLISH_METADATA
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to enable or disable the display of InfoSphere CDC
metadata tables in Management Console.
Applies ToSource
Default SettingOFF
RLD_SYSTEM_TXQSIZE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the size, in megabytes (MB), for the active
transaction queue store maintained by InfoSphere CDC. The active transaction
queue store contains data for concurrent transactions that have been extracted from
the Oracle redo log.
Applies ToSource
This setting must be large enough to store data for all concurrent transactions that
occur in the Oracle database. If the size of the active transaction queue store is not
large enough to accommodate all data, InfoSphere CDC issues an error message
and shuts down.
Default Setting128 MB
Minimum Setting5 MB
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
<subscription>_TXQSIZE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the size, in megabytes (MB), you want to
allocate per subscription for the active transaction queue store. This area represents
the amount of space required to store data for a single transaction, extracted from
the Oracle redo log.
This system parameter is useful when you want to allocate a specific amount of
queue storage for a specific subscription you have added in InfoSphere CDC
Management Console. If you want all other subscriptions to use the same storage
size, then use the RLD_SYSTEM_TXQSIZE to allocate queue storage size.
Applies ToSource
Default SettingThere is no default value for this system parameter. If you decide
not to specify a value in megabytes for this system parameter, then InfoSphere
CDC will use the value you specified for the RLD_SYSTEM_TXQSIZE system
parameter.
Notes:
v The subscription name precedes the name of the system parameter (TXQSIZE).
For example, sub1TXQSIZE.
v The name of the system parameter is not case-sensitive. If you have added two
subscriptions in Management Console named SUB1 and sub1, then both
subscriptions will use the same value specified for the system parameter.
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 429
v This system parameter applies only to the Redo Log edition of InfoSphere CDC
for Oracle.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
RLD_SYSTEM_TXQSIZE on page 429
SHLIB_PATH
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the path to the InfoSphere CDC libraries and
the database libraries for HP-UX operating systems. This value is set during
installation and should not be modified.
Default SettingThe path to the InfoSphere CDC libraries and the database
libraries when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
STARTUP_TIMEOUT
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the maximum waiting period, in seconds, for
process handling to complete during InfoSphere CDC startup. It indicates how
long the InfoSphere CDC communication module waits for the database
initialization program to start before timing out.
Applies ToSource and Target. Target only for InfoSphere CDC for Teradata.
Default Setting120
Minimum Setting60
Maximum Setting3600
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
TCP_KEEPALIVE_SECS
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this parameter to specify the time interval, during idle periods, to wait before
sending a keep alive message over the network. If a connection is idle for the
specified time interval, InfoSphere CDC sends a keep alive message to keep the
connection open.
Setting this system parameter is needed in environments that have firewalls with
timeout connection values, to prevent them from closing the connection. Set this
parameter to a value lower than the firewall timeout, so that the firewall does not
close the connection during data replication.
Minimum Setting0
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
USER
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the Oracle user name that was specified
during installation. You can also set this user using the dmsetpass command. For
information about dmsetpass, see the dmsetpassSet Password in the Commands
section of the InfoSphere CDC for Oracle documentation for version 6.2 and earlier.
Applies ToSource
Default SettingThe InfoSphere CDC user specified when InfoSphere CDC was
installed.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
See also:
convertNotNullableColumns on page 432
D_MIRROR_MIRROR_ERROR_LIST on page 432
D_MIRROR_MIRROR_ERROR_STOP on page 433
D_MIRROR_REFRESH_ERROR_LIST on page 433
D_MIRROR_REFRESH_ERROR_STOP on page 434
DM_ADAPTIVE_APPLY_SOFT_DELETES on page 434
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 431
DM_ADAPTIVE_APPLY_<SCHEMA>.<TABLENAME> on page 435
DM_ADAPTIVE_APPLY_MIMIC_SOURCE_OPERATION on page 435
DM_ARRAY_BIND_MAX on page 436
FILTER_NOCHANGE_UPDATES_FOR_AUDIT on page 436
NLS_LANG on page 437
NLS_NCHAR on page 437
NOT_NULL_DATE_DEFAULT on page 437
TRIM_CHAR_TO_VARCHAR on page 437
TRIM_VARCHAR_TO_VARCHAR on page 438
TRIM_TO_NULL on page 438
UNICODE_HANDLING on page 439
convertNotNullableColumns
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to indicate whether or not NULL values will be
converted to default values when replicating data that contains NULL values to
non-nullable target columns.
Applies ToTarget
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
D_MIRROR_MIRROR_ERROR_STOP on page 433
D_MIRROR_REFRESH_ERROR_STOP on page 434
convertNotNullableMsg on page 457
D_MIRROR_MIRROR_ERROR_LIST
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to allow certain errors to be ignored during mirroring.
For example, to ignore primary key violations, but to stop mirroring on any other
update errors, set D_MIRROR_MIRROR_ERROR_LIST=1. This value corresponds to the
Oracle error "ORA-00001: unique constraint violated (<schema>.<constraint>)".
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
D_MIRROR_MIRROR_ERROR_STOP
D_MIRROR_MIRROR_ERROR_STOP
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this parameter to indicate whether or not mirroring continues after an error
has occurred during a row insert, delete, or update operation.
Applies ToTarget
Default SettingON
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
D_MIRROR_MIRROR_ERROR_LIST on page 432
D_MIRROR_REFRESH_ERROR_LIST
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to allow certain errors to be ignored during data
refresh.
Applies ToTarget
For example, to ignore primary key violations, but to stop refresh on any other
update errors, set D_MIRROR_REFRESH_ERROR_LIST=1. This value corresponds to the
Oracle error "ORA-00001: unique constraint violated (<schema>.<constraint>)".
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 433
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
D_MIRROR_MIRROR_ERROR_STOP on page 433
D_MIRROR_REFRESH_ERROR_STOP
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to indicate whether or not InfoSphere CDC should
continue to perform a refresh after encountering an error during a row insert
operation.
Applies ToTarget
Default SettingON
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
D_MIRROR_REFRESH_ERROR_LIST on page 433
DM_ADAPTIVE_APPLY_SOFT_DELETES
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to enable InfoSphere CDC to apply a soft delete on all
target tables mapped using Adaptive Apply in a subscription.
Applies ToTarget
DM_ADAPTIVE_APPLY_<SCHEMA>.<TABLENAME>
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to enable InfoSphere CDC to apply a soft delete on a
specific target table mapped using Adaptive Apply in a subscription.
Applies ToTarget
DM_ADAPTIVE_APPLY_MIMIC_SOURCE_OPERATION
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to modify the how InfoSphere CDC applies data to the
target when you have mapped your source and target tables using Adaptive
Apply. If you enable this system parameter, InfoSphere CDC avoids performing a
SELECT query on the target table and you may benefit with performance
improvement.
For information about setting this system parameter, see your IBM representative.
Applies ToTarget
Default SettingOFF
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 435
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DM_ARRAY_BIND_MAX
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the maximum number of rows that
InfoSphere CDC can place in an array and apply to the target database. InfoSphere
CDC collects rows and places them in an array (in memory) while receiving
table-level operations from the source system. InfoSphere CDC applies the rows
from the array when there is a change to a different table, when there is a new
table-level operation, or when the maximum number of rows in an array has been
reached.
Applies ToTarget
Default Setting25
Minimum Setting1
Guidelines
Before InfoSphere CDC places rows into an array, it allocates memory for the
maximum number of rows you specify and multiplies this integer by the
maximum length of a row. If the maximum number of rows is too large, then
InfoSphere CDC cannot allocate enough memory and will shut down.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
FILTER_NOCHANGE_UPDATES_FOR_AUDIT
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to indicate whether or not updates that have identical
before and after column images (that is, the row has been updated to the same
value), are replicated to the target table for any tables configured for LiveAudit
replication.
Applies ToSource
This parameter only affects tables that are configured for LiveAudit replication. For
non-audit tables, only updates that change the column data are replicated to the
target tables.
NLS_LANG
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the database character set preceded with a
period. For more information about setting this system parameter, see your IBM
representative.
NLS_NCHAR
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to set the database national character set.
For information about setting this system parameter, see your IBM representative.
NOT_NULL_DATE_DEFAULT
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToTarget
Specifies the default value that InfoSphere CDC assigns to a NULL date being
replicated to a non-nullable date column on the target database. If this parameter is
not specified, InfoSphere CDC uses the Default Setting.
Default Setting1901-01-01
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
TRIM_TO_NULL on page 438
TRIM_CHAR_TO_VARCHAR
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify whether or not trailing blank characters are
trimmed from source columns of CHAR data type when replicating data to target
columns of VARCHAR data type.
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 437
Applies ToTarget
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
TRIM_TO_NULL
TRIM_VARCHAR_TO_VARCHAR
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify whether or not trailing blank characters are
trimmed from source columns of VARCHAR data type when replicating data to
target columns of VARCHAR data type.
Applies ToTarget
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
TRIM_TO_NULL
TRIM_TO_NULL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify how source columns that contain blank
characters only are handled during data replication.
Applies ToTarget
If the target column is non-nullable, source columns that contain blank characters
only are handled according to the convertNotNullableColumns system parameter.
The table below explains how the TRIM_ system parameters affect the data
replicated to the target for source columns that contain blank characters only.
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
TRIM_VARCHAR_TO_VARCHAR on page 438
TRIM_CHAR_TO_VARCHAR on page 437
UNICODE_HANDLING
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to indicate the default method of treating data in
defined Unicode columns. For each InfoSphere CDC installation on a server, this
system parameter defines the system default method of treating data in Unicode
columns. If a Unicode column is set to System Default on the Encoding tab of the
Mapping Details view in Management Console, InfoSphere CDC uses the method
for processing Unicode columns that you select in this system parameter.
Applies ToSource
The following Oracle data types are considered to be Unicode columns, and are
therefore affected by the value assigned to this system parameter:
v NCHAR
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 439
v NVARCHAR2
v NCLOB
Note: If replicating data to a non-Oracle target, NOCHANGE does not ensure that
replicated non-single-byte character data in Unicode columns are represented
properly on the target. For replicated non single-byte character data, you may need
to apply user exit programs or other customizations to properly represent data in
Unicode columns. For more information about user exit programs, see your
InfoSphere CDC for Oracle documentation.
Default SettingNOCHANGE
Note: NOCHANGE does not ensure that replicated non-single-byte character data
in Unicode columns are represented properly on the target. For replicated
non-single-byte character data, you many need to apply user exit programs or
other customization to properly represent the data in Unicode columns.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Replicating multibyte (MBCS) and double-byte (DBCS) character data on page
163
See also:
CASCADE_OMIT_TARGETS
PREVENT_RECURSION on page 441
CASCADE_OMIT_TARGETS
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to indicate whether or not cascading replication will be
disabled for specific subscriptions.
Applies ToSource
PREVENT_RECURSION
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this parameter to indicate whether or not to prevent cascading replication for
bidirectional configurations.
Applies ToSource
Default SettingON
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
CASCADE_OMIT_TARGETS on page 440
See also:
REPORT_POSITION_INTERVAL
MONITOR_PURGE_INTERVAL on page 442
MONITOR_REFRESH_PERIOD on page 442
REPORT_POSITION_INTERVAL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify how often (in seconds) the source informs the
target about its position in the current journal during times of no activity. During
times of no activity, when there are no journal entries to be processed pertaining to
the current subscription, the source informs the target of its current position so that
the target can advance its bookmarks accordingly. By specifying a low setting for
this parameter, the target can reflect more accurately how far replication has
progressed.
Applies ToSource
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 441
After a shutdown and restart, you can use this system parameter to prevent
InfoSphere CDC from rereading entries that do not apply to the current replication
configuration.
The value of this parameter affects the information that is displayed in progress
and bookmark messages. A high value for this parameter may result in
information that is not up-to-date being displayed.
Default Setting5
Minimum Setting1
Maximum Setting300
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
MONITOR_PURGE_INTERVAL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the time interval between journal purges.
When this time interval has elapsed, InfoSphere CDC removes from its journals all
records that have been committed on all targets to which they are replicated.
Applies ToSource
Specify this parameter in the format #h#m#s, where # is the number of hours,
minutes, and seconds, respectively. For example, 1h30m represents 1 hour and 30
minutes. If a time specification value is 0, you can omit it.
Default Setting1h
Minimum Setting1m
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
MONITOR_REFRESH_PERIOD
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this parameter to specify the time interval between journal polls. InfoSphere
CDC performs journal polls to check for new changes on the source.
Applies ToSource
Note: If you replicate large volumes of data, set this parameter to its minimum
value so that InfoSphere CDC checks for changes more frequently.
Specify this parameter in the format #h#m#s, where # is the number of hours,
minutes, and seconds, respectively. For example, 1h30m represents 1 hour and 30
minutes. If a time specification value is 0, you can omit it.
Minimum Setting1s
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
See also:
COMMIT_GROUP_SIZE
COMMIT_LEVEL on page 444
COMMIT_INTERVAL on page 444
MAINTAIN_TRANSACTION_CONSISTENCY on page 445
SYNCHRONIZATION_COMMIT_ GROUP_SIZE on page 445
SYNCHRONIZATION_INTERVAL on page 446
TRANSACTION_GROUP_SIZE on page 446
TRANSACTION_INTERVAL on page 447
TRANSACTION_RECORDS_THRESHOLD on page 447
COMMIT_GROUP_SIZE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the minimum number of rows InfoSphere
CDC should apply to the database before a commit is issued. InfoSphere CDC
issues a commit on the target when the transaction that contains the rows
completes.
Applies ToTarget
Default Setting5000
Minimum Setting0. InfoSphere CDC does not use commit groups to apply data
to the target.
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 443
Guidelines
Note: Use this parameter only if InfoSphere CDC is not running under
commitment control (COMMIT_LEVEL =0).
COMMIT_LEVEL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to indicate the level of commitment control for
InfoSphere CDC to process transactions.
Applies ToTarget
COMMIT_INTERVAL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the time interval between commits, in
seconds, to limit the number of commits InfoSphere CDC issues on the target
database. Use the COMMIT_GROUP_SIZE and COMMIT_INTERVAL system parameters
together. InfoSphere CDC issues a commit when either when the number of rows
specified by COMMIT_GROUP_SIZE has been applied to the target, or when the time
interval specified by COMMIT_INTERVAL has elapsed. Setting only one of these system
parameters without the other can result in uncommitted data on the target.
When the COMMIT_INTERVAL time expires, InfoSphere CDC issues a commit on the
target database for transactions that completed within that time interval.
Applies ToTarget
Default Setting60
Note: Use this parameter only if InfoSphere CDC is not running under
commitment control (COMMIT_LEVEL =0).
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
COMMIT_LEVEL on page 444
COMMIT_GROUP_SIZE on page 505
D_MIRROR_MIRROR_ERROR_STOP on page 433
MAINTAIN_TRANSACTION_CONSISTENCY
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToSource
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
COMMIT_LEVEL on page 444
SYNCHRONIZATION_COMMIT_ GROUP_SIZE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the number of transactions applied to the
database before InfoSphere CDC performs synchronization between the source and
target.
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 445
The SYNCRONIZATION_COMMIT_GROUP_SIZE and SYNCHRONIZATION_INTERVAL system
parameters are intended to be used together. Synchronization occurs either when
the number of transactions (specified by SYNCRONIZATION_COMMIT_GROUP_SIZE) have
been applied or when the time interval (specified by SYNCHRONIZATION_INTERVAL)
has elapsed, whichever comes first.
Default Setting128
Minimum Setting0. InfoSphere CDC does not use commit groups to perform
synchronization.
DynamicYes
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
SYNCHRONIZATION_INTERVAL
SYNCHRONIZATION_INTERVAL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToSource
Default Setting1
Minimum Setting1
Maximum Setting300
DynamicYes
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
SYNCHRONIZATION_COMMIT_ GROUP_SIZE on page 445
TRANSACTION_GROUP_SIZE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToTarget
Default Setting500
Minimum Setting0
Guidelines
Note: Use this parameter only if InfoSphere CDC is running under commitment
control. The COMMIT_LEVEL system parameter should be set to2 on the target
database, and the MAINTAIN_TRANSACTION_CONSISTENCY system parameter should be
set to ON on the source database.
TRANSACTION_INTERVAL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the time interval, in seconds, that can elapse
between transactions before InfoSphere CDC issues a commit. If there are no
transactions received by the target system, then InfoSphere CDC issues a commit
immediately. Use this system parameter with the TRANSACTION_GROUP_SIZE system
parameter. InfoSphere CDC issues a commit after applying the number of
transactions specified by the TRANSACTION_GROUP_SIZE system parameter, or when
the time interval specified by TRANSACTION_INTERVAL system parameter has elapsed.
Setting only one of these system parameters without the other can result in
uncommitted transactions on the target.
Applies ToTarget
Default Setting1
Minimum Setting0
Guidelines
InfoSphere CDC issues a commit only when a commit is received by the target
system and you have reached the transaction group size, or exceeded the time
interval, or exceeded the records threshold.
TRANSACTION_RECORDS_THRESHOLD
VersionInfoSphere CDC for Oracle version 6.2 and earlier
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 447
Use this system parameter to specify the maximum number of operations within a
transaction or group of transactions before InfoSphere CDC issues a commit
Applies ToTarget
Default Setting3000
Minimum Setting0
See also:
D_MIRROR_SP_TRACE
D_MIRROR_TRACE
D_MIRROR_TRACE_FILE_SIZE on page 449
D_MIRROR_TRACE_ON_ERROR on page 449
DM_PRINT_DIAGNOSTICS on page 450
D_MIRROR_ALARM_TRACE on page 450
D_MIRROR_SP_TRACE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to enable tracing for your stored procedure user exit.
Applies ToTarget
Default SettingOFF
DynamicNo
D_MIRROR_TRACE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
When enabling this setting, also set the size of the trace file to an appropriate
value using the D_MIRROR_TRACE_FILE_SIZE system parameter. To avoid disk space
problems, set the size of the trace file to a value that is not too high.
Default SettingOFF
DynamicYes
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
D_MIRROR_TRACE_FILE_SIZE
D_MIRROR_LOG on page 423
DIRPATH_LOGGING on page 454
D_MIRROR_ALARM_TRACE on page 450
D_MIRROR_TRACE_FILE_SIZE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the maximum size of a trace file in bytes.
InfoSphere CDC creates two trace files. When the first trace file reaches its
maximum size, InfoSphere CDC creates a second file. When the second trace file
reaches its maximum size, InfoSphere CDC starts overwriting the first file.
D_MIRROR_TRACE_ON_ERROR
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify whether or not InfoSphere CDC enables
tracing automatically when an error occurs.
Default SettingOFF
DM_PRINT_DIAGNOSTICS
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToSource
Note: If you enable tracing, it may cause large trace files to be created, which
can consume a large amount of disk space and affect performance. To avoid
running into disk space shortage problems, use this parameter only if advised
by IBM technical support.
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
D_MIRROR_ALARM_TRACE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to Indicate whether or not tracing for notification is
enabled.
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
D_MIRROR_TRACE on page 448
See also:
DIRPATH_BUF_ROWS
DIRPATH_BUF_SIZE on page 452
DIRPATH_CACHE_DATE_SIZE on page 453
DIRPATH_LOAD on page 453
DIRPATH_LOGGING on page 454
DIRPATH_DO_RECOVERY on page 454
DIRPATH_BUF_ROWS
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the number of rows allocated in the internal
buffer used for direct path loading. By setting this parameter to a value greater
than 0, you can improve direct path loading performance.
Applies ToTarget
The table below explains how the DIRPATH_BUF_ROWS and DIRPATH_BUF_SIZE system
parameters affect the size of the internal buffer that InfoSphere CDC uses for direct
path loading.
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 451
Default Setting0
Minimum Setting0
Maximum Setting231
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Related reference
DIRPATH_BUF_SIZE
DIRPATH_BUF_SIZE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the size, in bytes, for the internal buffer used
for direct path loading. By setting this parameter to a value greater than 0, you can
improve direct path loading performance.
Applies ToTarget
The table below explains how the DIRPATH_BUF_SIZE and DIRPATH_BUF_ROWS system
parameters affect the size of the internal buffer that InfoSphere CDC uses for direct
path loading.
Default Setting0
Minimum Setting0
Maximum Setting231
DIRPATH_CACHE_DATE_SIZE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the number of DATE (date and timestamp)
values to be cached per table being refreshed, during direct path loading. If the
table being refreshed contains DATE data type columns, you can improve direct
path loading performance by setting this parameter to a value higher than the
default setting. If the table being refreshed does not contain any DATE data type
columns, this parameter has no effect.
Applies ToTarget
Minimum Setting0
Maximum Setting2^32
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DIRPATH_LOAD
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToTarget
Note: If you want to enable direct path loading, then you need perform a
refresh on each subscription to send data to the target datastore.
v OFFDirect path loading is disabled.
Default SettingON
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 453
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DIRPATH_LOGGING
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToTarget
Indicates whether or not full image redo logging is performed. This system
parameter corresponds to the Oracle NOLOGGING keyword.
For more information about image redo logging, see your Oracle documentation.
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DIRPATH_DO_RECOVERY
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to modify how InfoSphere CDC handles rows that have
conflicting unique index values. In Direct Path Load, InfoSphere CDC places an
index in direct load state when it detects one or more conflicts after performing a
refresh of all rows.
Applies ToTarget
v OFFNo rows are removed and the index remains in direct load state and
ROWID of duplicate rows are stored in the exception table as indicated in the
event log.
v ONAll rows with conflicting unique index values will be removed and the
index will be enabled.
Default SettingOFF
See also:
D_MIRROR_SP_CONNECTION
DM_FROM_CODEPAGE_V4USEREXIT
DM_TO_CODEPAGE_V4USEREXIT on page 456
D_MIRROR_SP_CONNECTION
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to indicate whether or not a second connection to the
Oracle database is established for a stored procedure user exit program to run.
Applies ToTarget
The stored procedure user exit program will use this separate, second connection,
to the Oracle database.
Setting this parameter to ON does not affect stored procedure user exit programs
for conflict resolution, or stored procedure user exit programs invoked within an
expression, using the %STPROC column function. They will always use the same
connection to the database as InfoSphere CDC.
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DM_FROM_CODEPAGE_V4USEREXIT
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToTarget
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 455
Set this parameter only if using before or after images in C user exit programs
defined in InfoSphere CDC Version 4.x.
In InfoSphere CDC Version 4.x, the before and after images in C user exit
programs were received in the code page of the source. In Version 5.1 and greater,
they are received in the code page of the target. To use the user exit program as
defined in Version 4.x, data must be translated back from the code page of the
target to the code page of the source.
Therefore, specify for this parameter the code page to translate from (the code page
of the target).
If this parameter is not set, no translation will be performed from the code page of
the source to the code page of the target.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DM_TO_CODEPAGE_V4USEREXIT
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToTarget
Set this parameter only if using before or after images in C user exit programs
defined in InfoSphere CDC Version 4.x.
In InfoSphere CDC Version 4.x, the before and after images in C user exit
programs were received in the code page of the source. In Version 5.1 and higher,
they are received in the code page of the target. To use the user exit program as
defined in Version 4.x, data must be translated back from the code page of the
target to the code page of the source.
Therefore, specify for this parameter the code page to translate to (the code page of
the source).
If this parameter is not set, no translation will be performed from the code page of
the target to the code page of the source.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
See also:
TS_DELETE_ASSIGNED_OBJECTS_DURING_DESCRIBE
TS_DELETE_ASSIGNED_OBJECTS_DURING_DESCRIBE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToTarget
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
See also:
convertNotNullableMsg
DEADBAND_PERCENTAGE on page 458
DM_STATUS_INTERVAL on page 459
HEARTBEAT_TIMEOUT on page 460
LOG_EMAIL_USERNAME on page 460
MONITOR_SAMPLE_INTERVAL on page 461
STATISTICS_INTERVAL on page 461
convertNotNullableMsg
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to indicate whether or not NULL values will be
converted to default values when replicating data that contains NULL values to
non-nullable target columns.
Applies ToTarget
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 457
The default value depends on the data type of the subscription column. For
example, zero for numeric data types, blank character for character data types,
1901-01-01 for date data types, and so on.
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
DEADBAND_PERCENTAGE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Applies ToTarget
Identifies the size of the range around each latency threshold setting. Based on
latency thresholds defined, a latency message is generated when latency has risen
above or fallen below a threshold. Latency is calculated at regular intervals, where
the interval is the current setting for the MONITOR_SAMPLE_INTERVAL system
parameter. You can set notifications in response to a generated latency message.
For example, assume that a latency threshold is 5 minutes and this system
parameter is set to 10. A 10% range is applied around the 5 minute threshold. The
following calculations are performed to determine the lower and upper limits (in
minutes) of the range around the threshold:
v Padding = 10% of 5 minutes = 0.5 minutes (rounded up to 1 minute)
v Padding is rounded up or down to the nearest whole minute:
Upper limit of range = 5 minutes + 1 minute (padding) = 6 minutes
Lower limit of range = 5 minutes - 1 minute (padding) = 4 minutes
As a result, a latency message will be generated only when latency rises above 6
minutes or falls below 4 minutes. Given sample latency over a ten minute period
where latency is calculated every minute, three latency messages are generated.
This graph illustrates latency message generation with the DEADBAND_PERCENTAGE
value set to 10%:
If the number of latency messages generated over the ten minute period for the
10% (3 latency messages) and 3% (5 latency messages) settings are averages, an
additional 288 latency messages would be generated each day if this system
parameter is not changed from its default setting to 10%.
Since there are two latency thresholds that you can set (a warning threshold and a
problem threshold), two separate ranges are defined when padding is at least one
minute. In this case, each range is attached to its threshold, and the two ranges can
overlap with no change in behavior.
If a value outside the acceptable range is specified, the default setting is used.
Default Setting3%
Minimum Setting3%
Maximum Setting10%
Note: If you set a value outside the acceptable range, then InfoSphere CDC uses
the defaults.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
Disk resource system parameters on page 462
Setting latency thresholds and notifications on page 346
DM_STATUS_INTERVAL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify how often progress messages should be
issued in seconds. These messages are displayed in Event Log to indicate how
replication is advancing and to provide detailed information about InfoSphere
CDC replication activities.
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 459
Note: Low values of this parameter may result in many messages displayed in
Event Log. In this situation, clear Event Log on a regular basis.
HEARTBEAT_TIMEOUT
VersionInfoSphere CDC for Oracle version 6.2 and earlier
For each active subscription, internal heartbeat messages are sent regularly
between the source and the target to determine communications and process
status. If a reply to a message is not received by the source or target within the
specified timeout interval, then InfoSphere CDC determines that a problem has
occurred, and attempts to stop all its source and target processes for the
subscription. In addition, messages (message identifiers 2612 and 3165) are placed
in Event Log when heartbeat timeouts occur.
Applies ToSource
LOG_EMAIL_USERNAME
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the user name that receives e-mail messages
in response to invoking the dmreadlog command or the warning message that is
generated when Event Log exceeds the threshold value set by the LOG_MAX_SIZE
system parameter.
MONITOR_SAMPLE_INTERVAL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to identify the period of time, in seconds, between
consecutive updates to a storage area that is used to maintain replication latency
metrics. Management Console references this area to present replication latency
information.
On the target, this setting also represents how often the storage area is sampled to
determine if latency has risen above or fallen below specified threshold settings.
InfoSphere CDC generates latency messages when latency rises above or falls
below the thresholds. In response to a generated message, you can set latency
notifications.
If a value smaller than the minimum setting is specified, the minimum setting is
used. If a value larger than the maximum setting is specified, the maximum setting
is used.
STATISTICS_INTERVAL
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify how often, in seconds, InfoSphere CDC issues
messages that contain statistics information. These messages are displayed in Event
Log.
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) 461
Note: Use this parameter only if advised by IBM technical support.
DynamicYes
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
See also:
LOG_MAX_SIZE
LOG_MAX_SIZE
VersionInfoSphere CDC for Oracle version 6.2 and earlier
Use this system parameter to specify the threshold size of Event Log in KB. A
warning message is generated in Event Log when its size exceeds specified
threshold. The messages in Event Log are deleted automatically when the size of
Event Log is ten times the value specified by this parameter.
If you do not want to specify a threshold size, set this parameter to NOMAX.
Default Setting5000
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Note: If you make changes to a system parameter during active replication, you
must stop and restart replication for the changes to take effect.
See also:
mirror_auto_restart_interval_minutes
mirror_set_table_data_capture_timeout on page 464
mirror_auto_restart_interval_minutes
VersionInfoSphere CDC for Oracle version 6.3 Fix Pack 3 TFE 9 and later.
Use this parameter to indicate how long (in minutes) InfoSphere CDC will attempt
to automatically restart continuous mirroring for persistent subscriptions.
Applies ToSource
Default0
Minimum0
Maximum60
Use this system parameter to indicate how long (in seconds) InfoSphere CDC waits
before declaring a failure when preparing a table for mirroring.
Applies ToSource
Default30 seconds
Minimum0 minutes
Maximum90 seconds
See also:
mirror_archive_log_directory
mirror_asm_oracle_path
mirror_online_log_directory on page 465
oracle_archive_dir on page 465
oracle_archive_destination_id on page 465
oracle_archive_logs_only on page 466
oracle_log_path_userexit on page 466
oracle_log_shipping on page 466
oracle_using_log_transport_services on page 467
mirror_archive_log_directory
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to override the directory for archiving log files for
mirroring. Specify a directory that should be used instead of the one Oracle has
specified.
Applies ToSource
Default SettingNo directory; instead, InfoSphere CDC will use the directory
specified by Oracle.
mirror_asm_oracle_path
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter if the Oracle database uses ASM to manage its datafile
or redo logs on a Linux system. Replace the ORCL label that references the
common directory of the ASM-managed devices with the actual directory path.
Use this system parameter to override the directory for reading online log files.
Specify a directory that should be used instead of the one Oracle has specified.
Applies ToSource
Default SettingNo directory; instead, InfoSphere CDC will use the directory
specified by Oracle.
oracle_archive_dir
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to specify the fully qualified path to the Oracle archive
log when you are shipping your archive logs to another system. InfoSphere CDC
only uses this value if you do not specify a Java class user exit in the
oracle_log_path_userexit system parameter.
/archivelog/mycdcsystem/
Note: For RAC environments where the thread ID is not included in the archive
log file name, InfoSphere CDC will read the archive logs from subdirectories that
are named using the thread number. For example, /archivelog/mycdcsystem/1 for
thread 1 and /archivelog/mycdcsystem/2 for thread 2.
Applies ToSource
Related reference
oracle_log_path_userexit on page 466
oracle_archive_destination_id
VersionInfoSphere CDC for Oracle version 6.3 and later
Note: You must indicate that you are using Oracle Data Guard log transport
services with the oracle_using_log_transport_services system parameter before
you can specify a value here.
Use this system parameter to indicate the destination ID of the archive destination
on the secondary system where you have configured the archived redo log
repository. Set this system parameter to a numeric value between 1 and 10.
For more information on using Oracle Data Guard and log transport services, see
your Oracle documentation.
Default Setting1
Applies ToSource
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) 465
Related reference
oracle_using_log_transport_services on page 467
oracle_log_shipping
oracle_archive_dir on page 465
oracle_archive_logs_only
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to indicate that InfoSphere CDC will only use Oracle
archive logs, not online redo logs.
Default Settingfalse
Applies ToSource
Related reference
oracle_log_shipping
oracle_log_path_userexit
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to specify a Java class user exit that returns the fully
qualified path to the Oracle archive log.
You must implement the ArchiveLogPathUserExit user exit class as a Java class
user exit and define the method that returns the fully qualified path to the system
where you shipped the archive logs. The name of the archive log must be included
in the path. You can customize the logic in the user exit to suit your business
requirements.
For more information on sample user exits and implementing a Java class user
exit, see your InfoSphere CDC for Oracle documentation.
Applies ToSource
Related tasks
To configure a user exit for a Java class on page 198
Related reference
oracle_archive_dir on page 465
oracle_log_shipping
VersionInfoSphere CDC for Oracle version 6.3 and later
If you decide to ship your logs, InfoSphere CDC latency is affected by the Oracle
log switch frequency and the amount of time required to physically ship the logs
to the remote destination. Latency may increase if the log switch interval and the
log shipping time increase.
Note: For both types of log shipping, the parameters used and the values specified
may vary depending on your business requirements.
Default Settingfalse
Applies ToSource
Related reference
oracle_archive_dir on page 465
oracle_log_path_userexit on page 466
oracle_archive_logs_only on page 466
oracle_using_log_transport_services
oracle_archive_destination_id on page 465
oracle_using_log_transport_services
VersionInfoSphere CDC for Oracle version 6.3 and later
Note: You must enable log shipping with the oracle_log_shipping system
parameter before you can specify a value here.
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) 467
Use this system parameter to indicate whether or not InfoSphere CDC will read
logs from an archived redo log repository on a secondary system populated with
Oracle Data Guard log transport services.
For more information on how to configure Data Guard, see your Oracle
documentation.
Default Settingfalse
Applies ToSource
Related reference
oracle_archive_destination_id on page 465
oracle_log_shipping on page 466
oracle_archive_dir on page 465
See also:
events_max_retain
global_conversion_not_possible_warning on page 469
global_shutdown_after_no_heartbeat_response_minutes on page 469
events_max_retain
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to control the maximum number of events that
InfoSphere CDC will store in the event log. If InfoSphere CDC generates more
events than the specified maximum, then the earliest events will be deleted.
Default Setting10000
Minimum -1
Maximum2147483647
global_conversion_not_possible_warning
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to control whether or not InfoSphere CDC generates a
warning in the Management Console Event Log in the following situations:
v Data conversion is not possible for a specific data value.
v Converted data types are encountered that are out of range.
Applies ToTarget
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
global_shutdown_after_no_heartbeat_response_minutes
VersionInfoSphere CDC for Oracle version 6.3 and later
Applies ToSource
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) 469
perform every commit that was done on the source. For example, if the source
does three small transactions containing one operation each, the target may commit
all three operations as part of a single transaction. You can use this grouping of
system parameters to significantly reduce the resources required by the target
database. The default settings are appropriate for most databases, but if your target
system has limited resources and an increase in latency is acceptable, you can
adjust the settings appropriately.
See also:
mirror_interim_commit_threshold
mirror_sess_hist_age_threshold
mirror_src_ora_version on page 471
refresh_commit_after_max_operations on page 471
userexit_max_lob_size_kb on page 471
mirror_interim_commit_threshold
VersionInfoSphere CDC for Oracle version 6.3 Fix Pack 3 and later.
In cases where large transactions are done on the source system, it can be more
efficient to break a large transaction into smaller transactions when applying data
to the target. You can configure this behavior using this system parameter.
The default value of 0 for this system parameter indicates that the product
guarantees transactional delivery of change data to the target. A value greater than
0 indicates that you want InfoSphere CDC to break up large transactions into
smaller transactions. For example, a value of 2000 indicates that InfoSphere CDC
will split up large source transactions so that each transaction committed to the
target database contains no more than 2000 operations.
Applies ToTarget
Default Setting0
Minimum Setting0
mirror_sess_hist_age_threshold
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to identify the number of days of session history to
maintain. If the value is set to a positive number, the session history will be
purged accordingly. A negative number results in the retention of all log
information.
Default Setting3
Minimum -1 minutes
mirror_src_ora_version
VersionInfoSphere CDC for Oracle version 6.3 and later
This system parameter identifies the database version of the primary database. If
the primary database is version 10g or higher, then you must set this parameter on
both the primary and backup systems. Set this parameter to the full database
version number. For example, 10.2.0.1.0.
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
refresh_commit_after_max_operations
VersionInfoSphere CDC for Oracle version 6.3 and later
This system parameter identifies the number of rows comprising each transaction
during refresh. To reduce the workload on the target database during refresh,
InfoSphere CDC periodically commits the changes to the target database rather
than performing the refresh as a single large transaction.
Applies ToTarget
Default Setting1000
Maximum Setting2147483647
Minimum Setting1
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
userexit_max_lob_size_kb
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to set the maximum size of LOB data (in kb) that
InfoSphere CDC can pass to a user exit.
Applies ToTarget
Default Setting128 kb
Maximum9223372036854775807 kb
Minimum1 kb
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) 471
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
See also:
global_unicode_as_char
global_unicode_as_char
VersionInfoSphere CDC for Oracle version 6.3 and later
This system parameter indicates the default method of treating data in defined
Unicode columns. For each InfoSphere CDC installation on a server, this system
parameter defines the system default method of treating data in Unicode columns.
If a Unicode column is set to System Default on the Encoding tab of the Mapping
Details view in Management Console, InfoSphere CDC uses the method for
processing Unicode columns that you select in this system parameter.
Note: Setting this parameter to false does not ensure that replicated
non-single-byte character data in Unicode columns are represented properly on
the target. For replicated non-single-byte character data, you may have to apply
user exit programs or other customizations to properly represent data in
Unicode columns. For more information about user exit programs, see the
InfoSphere CDC End-User Documentation for your platform.
Applies ToSource
Default Settingfalse
For information about how data in each Unicode source column is treated and
setting multibyte and Unicode character set conversions, see Replicating multibyte
(MBCS) and double-byte (DBCS) character data on page 163.
See also:
mirror_global_disk_quota_mb
mirror_global_disk_quota_gb on page 474
staging_store_can_run_independently on page 474
staging_store_disk_quota_gb on page 475
staging_store_disk_quota_mb on page 475
mirror_global_disk_quota_mb
VersionInfoSphere CDC for Oracle version 6.3
Use this system parameter to globally set a disk quota (in MB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum100
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) 473
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
mirror_global_disk_quota_gb
VersionInfoSphere CDC for Oracle version 6.5
Use this system parameter to globally set a disk quota (in GB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum1
staging_store_can_run_independently
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to determine if subscriptions will exclusively use the
InfoSphere CDC staging store to accumulate change data or if they will be allowed
to use independent log readers and log parsers to receive data directly from the
database logs.
Changes to this system parameter value will only take effect after the replication
engine is restarted.
If you change the value from true to false, you will need to clear the staging store
before beginning replication.
474 InfoSphere Change Data Capture Management Console: Administration Guide
Applies ToSource
Default Settingtrue
staging_store_disk_quota_gb
VersionInfoSphere CDC for Oracle version 6.5
Use this system parameter to specify the maximum amount of disk space that will
be utilized by the InfoSphere CDC staging store on your source system.
If you have enabled the Continuous Capture feature and you are accumulating
change data in your staging store when subscriptions are stopped, you should take
into consideration the additional disk utilization that this feature requires.
Applies ToSource
Default Setting100 GB
Maximum Setting2147483647 GB
Minimum Setting1 GB
staging_store_disk_quota_mb
VersionInfoSphere CDC for Oracle version 6.3
Use this system parameter to specify the maximum amount of disk space that will
be utilized by the InfoSphere CDC staging store on your source system.
If you have enabled the Continuous Capture feature and you are accumulating
change data in your staging store when subscriptions are stopped, you should take
into consideration the additional disk utilization that this feature requires.
Applies ToSource
Default Setting2147483647 MB
Maximum Setting2147483647 MB
Minimum Setting100 MB
See also:
convert_not_nullable_column on page 476
convert_not_nullable_message on page 476
global_max_batch_size on page 477
mirror_end_on_error on page 477
mirror_expected_errors_list on page 477
refresh_end_on_error on page 478
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) 475
refresh_expected_errors_list on page 478
refresh_in_unicode on page 479
refresh_with_referential_integrity on page 479
trim_char_to_varchar on page 479
trim_varchar_to_varchar on page 480
userexit_max_lob_size_kb on page 480
convert_not_nullable_column
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to control how InfoSphere CDC behaves when it applies
a null value to a non-nullable column. When set to true (default value), the null
value will be replaced with a default value (based on the data type of the column)
and InfoSphere CDC will generate a warning in the event log. When set to false,
InfoSphere CDC applies the null value directly to the non-nullable column which
will result in an error and cause a shutdown of InfoSphere CDC on the target
database.
Note: If you decided to set this system parameter to false and have specified this
as an error for InfoSphere CDC to ignore using the mirror_expected_errors_list
system parameter, then InfoSphere CDC will ignore the error and not shutdown.
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
convert_not_nullable_message
VersionInfoSphere CDC for Oracle version 6.3 and later
Applies ToTarget
Default SettingTrue
global_max_batch_size
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to specify the maximum number of rows that
InfoSphere CDC can place in an array and apply to the target database during
refresh or mirroring. InfoSphere CDC collects rows and places them in an array (in
memory) while receiving table-level operations from the source system. InfoSphere
CDC applies the rows from the array when there is a change to a different table,
when there is a new table-level operation, or when the maximum number of rows
in an array has been reached. You can use this parameter during mirroring only if
mirror_end_on_error is true and mirror_expected_errors_list is empty. Use only
during a refresh if refresh_end_on_error is true and refresh_expected_errors_list is
empty. Before InfoSphere CDC places rows into an array, it allocates memory for
the maximum number of rows you specify and multiplies this integer by the
maximum length of a row. If the maximum number of rows is too large, then
InfoSphere CDC cannot allocate enough memory and will shut down. Management
Console references this area to present replication latency information.
Applies ToTarget
mirror_end_on_error
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to indicate if you want to end mirroring after an apply
error occurs on the target database.
Applies ToTarget
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
mirror_expected_errors_list
VersionInfoSphere CDC for Oracle version 6.3 and later
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) 477
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when applying data changes to the target during mirroring. The
error specified must correspond to the integer error code (database-vendor specific)
returned by the SQLException class in JDBC (Java Database Connectivity). Specify
multiple errors with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
refresh_end_on_error
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to indicate if you want to end a refresh after an apply
error occurs.
Applies ToTarget
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
refresh_expected_errors_list
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when refreshing data to the target. The error specified must
correspond to the integer error code (database-vendor specific) returned by the
SQLException class in JDBC (Java Database Connectivity). Specify multiple errors
with a comma separated list of integer error codes.
For example, if you want InfoSphere CDC to continue refresh when it encounters
primary key violations in your Oracle target database, set this parameter to
mirror_expected_errors_list=1. The integer error code of 1 corresponds to the
Oracle error: ORA-00001: unique constraint violated (<schema>.<constraint>). If
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
refresh_in_unicode
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter when you want InfoSphere CDC to refresh a target
table that contains multibyte object names.
Applies ToTarget
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
refresh_with_referential_integrity
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to indicate whether or not you want the data removed
from all the target tables being refreshed before repopulating any of them. This is
most useful when there are referential integrity constraints on the tables being
refreshed.
Applies ToSource
Default Settingfalse
trim_char_to_varchar
VersionInfoSphere CDC for Oracle version 6.3 and later
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) 479
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
trim_varchar_to_varchar
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.3 and later) on page
463
userexit_max_lob_size_kb
VersionInfoSphere CDC for Oracle version 6.3 and later
Use this system parameter to set the maximum size of LOB data (in kb) that
InfoSphere CDC can pass to a user exit.
Applies ToTarget
Default Setting128 kb
Maximum9223372036854775807 kb
Minimum1 kb
Related concepts
System parameters for InfoSphere CDC Event Server on page 609
Setting system parameters on source and target datastores on page 71
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Note: If you make changes to a system parameter during active replication, you
must stop and restart replication for the changes to take effect.
See also:
mirror_auto_restart_interval_minutes
mirror_auto_restart_interval_minutes
VersionInfoSphere CDC for Oracle - Trigger version 6.3 Fix Pack 3 TFE 9 and
later.
Use this parameter to indicate how long (in minutes) InfoSphere CDC will attempt
to automatically restart continuous mirroring for persistent subscriptions.
Applies ToSource
Default0
Minimum0
Maximum60
See also:
events_max_retain
global_conversion_not_possible_warning
global_shutdown_after_no_heartbeat_response_minutes
events_max_retain
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to control the maximum number of events that
InfoSphere CDC will store in the event log. If InfoSphere CDC generates more
events than the specified maximum, then the earliest events will be deleted.
Default Setting10000
Minimum -1
Maximum2147483647
global_conversion_not_possible_warning
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to control whether or not InfoSphere CDC generates a
warning in the Management Console Event Log in the following situations:
v Data conversion is not possible for a specific data value.
v Converted data types are encountered that are out of range.
Applies ToTarget
Default Settingfalse
global_shutdown_after_no_heartbeat_response_minutes
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
See also:
mirror_interim_commit_threshold
refresh_commit_after_max_operations
mirror_interim_commit_threshold
VersionInfoSphere CDC for Oracle - Trigger version 6.3 Fix Pack 3 and later.
In cases where large transactions are done on the source system, it can be more
efficient to break a large transaction into smaller transactions when applying data
to the target. You can configure this behavior using this system parameter.
The default value of 0 for this system parameter indicates that the product
guarantees transactional delivery of change data to the target. A value greater than
0 indicates that you want InfoSphere CDC to break up large transactions into
smaller transactions. For example, a value of 2000 indicates that InfoSphere CDC
will split up large source transactions so that each transaction committed to the
target database contains no more than 2000 operations.
Applies ToTarget
Default Setting0
Minimum Setting0
refresh_commit_after_max_operations
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
System parameters for InfoSphere CDC for Oracle - Trigger (version 6.3 and later) 483
This system parameter identifies the number of rows comprising each transaction
during refresh. To reduce the workload on the target database during refresh,
InfoSphere CDC periodically commits the changes to the target database rather
than performing the refresh as a single large transaction.
Applies ToTarget
Default Setting1000
Maximum Setting2147483647
Minimum Setting1
See also:
mirror_journal_schema
mirror_journal_schema
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to enable multiple instances of InfoSphere CDC to share
the same trigger and journal table. To enable this system parameter, you must
specify the name of the journal that you want shared with another instance of
InfoSphere CDC. For example, if you have created an instance INSTANCE1 that
specifies the journal SCHEMA1, and created another instance INSTANCE2 that
specifies the journal SCHEMA2, then you would set the system parameter
mirror_journal_schema on INSTANCE2 so that it points to the journal SCHEMA1.
This enables both instances to share the same trigger and journal table. You can
only set a value for this system parameter before mapping your tables and setting
the subscription for mirroring. The value of this system parameter must refer to
the name of an existing journal table.
Applies ToSource
See also:
global_unicode_as_char
global_unicode_as_char
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Note: Setting this parameter to false does not ensure that replicated
non-single-byte character data in Unicode columns are represented properly on
the target. For replicated non-single-byte character data, you may have to apply
user exit programs or other customizations to properly represent data in
Unicode columns. For more information about user exit programs, see the
InfoSphere CDC End-User Documentation for your platform.
Applies ToSource
Default Settingfalse
For information about how data in each Unicode source column is treated and
setting multibyte and Unicode character set conversions, see Replicating multibyte
(MBCS) and double-byte (DBCS) character data on page 163.
See also:
mirror_global_disk_quota_mb
mirror_global_disk_quota_gb on page 486
mirror_global_disk_quota_mb
VersionInfoSphere CDC for Oracle - Trigger version 6.3
Use this system parameter to globally set a disk quota (in MB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
System parameters for InfoSphere CDC for Oracle - Trigger (version 6.3 and later) 485
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum100
mirror_global_disk_quota_gb
VersionInfoSphere CDC for Oracle - Trigger version 6.5
Use this system parameter to globally set a disk quota (in GB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum1
See also:
convert_not_nullable_column on page 487
convert_not_nullable_column
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to control how InfoSphere CDC behaves when it applies
a null value to a non-nullable column. When set to true (default value), the null
value will be replaced with a default value (based on the data type of the column)
and InfoSphere CDC will generate a warning in the event log. When set to false,
InfoSphere CDC applies the null value directly to the non-nullable column which
will result in an error and cause a shutdown of InfoSphere CDC on the target
database.
Note: If you decided to set this system parameter to false and have specified this
as an error for InfoSphere CDC to ignore using the mirror_expected_errors_list
system parameter, then InfoSphere CDC will ignore the error and not shutdown.
Default SettingTrue
convert_not_nullable_message
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
System parameters for InfoSphere CDC for Oracle - Trigger (version 6.3 and later) 487
Set this parameter to one of the following:
v trueGenerates a warning message in the Event Log the first time a null value
is converted to a default value on a per column per table basis.
v falseNo warning message is generated in the Event Log.
Applies ToTarget
Default SettingTrue
global_max_batch_size
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to specify the maximum number of rows that
InfoSphere CDC can place in an array and apply to the target database during
refresh or mirroring. InfoSphere CDC collects rows and places them in an array (in
memory) while receiving table-level operations from the source system. InfoSphere
CDC applies the rows from the array when there is a change to a different table,
when there is a new table-level operation, or when the maximum number of rows
in an array has been reached. You can use this parameter during mirroring only if
mirror_end_on_error is true and mirror_expected_errors_list is empty. Use only
during a refresh if refresh_end_on_error is true and refresh_expected_errors_list is
empty. Before InfoSphere CDC places rows into an array, it allocates memory for
the maximum number of rows you specify and multiplies this integer by the
maximum length of a row. If the maximum number of rows is too large, then
InfoSphere CDC cannot allocate enough memory and will shut down. Management
Console references this area to present replication latency information.
Applies ToTarget
mirror_end_on_error
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to indicate if you want to end mirroring after an apply
error occurs on the target database.
Applies ToTarget
Default SettingTrue
mirror_expected_errors_list
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
refresh_end_on_error
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to indicate if you want to end a refresh after an apply
error occurs.
Applies ToTarget
Default SettingTrue
refresh_expected_errors_list
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when refreshing data to the target. The error specified must
correspond to the integer error code (database-vendor specific) returned by the
SQLException class in JDBC (Java Database Connectivity). Specify multiple errors
with a comma separated list of integer error codes.
For example, if you want InfoSphere CDC to continue refresh when it encounters
primary key violations in your Oracle target database, set this parameter to
mirror_expected_errors_list=1. The integer error code of 1 corresponds to the
Oracle error: ORA-00001: unique constraint violated (<schema>.<constraint>). If
you also want to ignore ORA-01407: cannot update (string) to NULL, set this
parameter to mirror_expected_errors_list=1,1407.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
System parameters for InfoSphere CDC for Oracle - Trigger (version 6.3 and later) 489
refresh_in_unicode
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter when you want InfoSphere CDC to refresh a target
table that contains multibyte object names.
Applies ToTarget
Default Settingfalse
refresh_with_referential_integrity
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to indicate whether or not you want the data removed
from all the target tables being refreshed before repopulating any of them. This is
most useful when there are referential integrity constraints on the tables being
refreshed.
Applies ToSource
Default Settingfalse
trim_char_to_varchar
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
userexit_max_lob_size_queue_kb
VersionInfoSphere CDC for Oracle - Trigger version 6.3 and later
Use this system parameter to set the maximum size of LOB data (in kb) that
InfoSphere CDC can pass to a user exit.
Applies ToTarget
Default Setting128 kb
Maximum9223372036854775807 kb
Minimum1 kb
System parameters for InfoSphere CDC for Oracle - Trigger (version 6.3 and later) 491
492 InfoSphere Change Data Capture Management Console: Administration Guide
System parameters for InfoSphere CDC for Sybase (version
6.0 and earlier)
System parameters let you control the behavior of InfoSphere CDC. If your
replication environment requires a particular configuration, then you can use
system parameters to modify the behavior of default operations in InfoSphere
CDC. The default system parameter settings are appropriate for most installations.
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Note: If you make changes to a system parameter during active replication, you
must stop and restart replication for the changes to take effect.
See also:
CODE_PAGE on page 494
D_MIRROR_HOME on page 494
D_MIRROR_LOG on page 494
DM_DYNAMIC_PARAMETER_CHECK_INT on page 494
DM_MAX_MONITOR_ENTRIES on page 495
DSQUERY on page 495
LD_LIBRARY_PATH on page 496
LIBPATH on page 496
PUBLISH_METADATA on page 496
SYBASE on page 497
SYBASE_OCS on page 497
SHLIB_PATH on page 497
STARTUP_TIMEOUT on page 497
USER on page 498
Use this system parameter to specify the code page associated with NLS_LANG.
This value is set during installation and should not be modified except under the
guidance of a IBM technical support.
Default SettingThe system code page when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
NLS_LANG on page 500
D_MIRROR_HOME
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the directory (full path) where InfoSphere
CDC is installed on the server.
D_MIRROR_LOG
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the directory (full path) where InfoSphere
CDC log files are located.
DM_DYNAMIC_PARAMETER_CHECK_INT
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Minimum Setting0. InfoSphere CDC does not check for changes to dynamic
system parameters.
DM_MAX_MONITOR_ENTRIES
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to increase or decrease the number of subscriptions that
InfoSphere CDC can support in the Monitor in Management Console. InfoSphere
CDC allocates an entry for each source and target datastore within a subscription.
For example, if you have a datastore that is being used as a source datastore
within 20 subscriptions and as a target datastore within 10 subscriptions, then you
must set this system parameter to at least 30. InfoSphere CDC will allocate 30
entries for this datastore.
Applies ToSource
DSQUERY
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the name of the Sybase server.
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 495
LD_LIBRARY_PATH
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the path to the InfoSphere CDC libraries and
the database libraries for Solaris and Linux operating systems. This value is set
during installation and should not be modified.
Default SettingThe path to the InfoSphere CDC libraries and the Sybase libraries
when InfoSphere CDC was installed
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
LIBPATH
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the path to the InfoSphere CDC libraries and
the database libraries (for AIX operating systems). This value is set during
installation and should not be modified.
Default SettingThe path to the InfoSphere CDC libraries and the database
libraries when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
PUBLISH_METADATA
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to enable or disable the display of InfoSphere CDC
metadata tables in Management Console.
Applies ToSource
Default SettingOFF
SYBASE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the Sybase home directory. This value is set
during the installation and should not be modified.
SYBASE_OCS
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the Sybase Open Client directory. This value
is set during the installation and should not be modified.
SHLIB_PATH
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the path to the InfoSphere CDC libraries and
the database libraries for HP-UX operating systems. This value is set during
installation and should not be modified.
Default SettingThe path to the InfoSphere CDC libraries and the database
libraries when InfoSphere CDC was installed.
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
STARTUP_TIMEOUT
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the maximum waiting period, in seconds, for
process handling to complete during InfoSphere CDC startup. It indicates how
long the InfoSphere CDC communication module waits for the database
initialization program to start before timing out.
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 497
Applies ToSource and Target. Target only for InfoSphere CDC for Teradata.
Default Setting120
Minimum Setting60
Maximum Setting3600
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
USER
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the database user name that was specified
during installation. You can also set this user using the dmsetpass command.
Applies ToSource
Default SettingThe InfoSphere CDC user specified when InfoSphere CDC was
installed.
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
See also:
convertNotNullableColumns
D_MIRROR_MIRROR_ERROR_STOP on page 499
D_MIRROR_REFRESH_ERROR_STOP on page 499
FILTER_NOCHANGE_UPDATES_FOR_AUDIT on page 500
NLS_LANG on page 500
TRANSACTION_GROUP_SIZE on page 500
TRANSACTION_INTERVAL on page 501
TRANSACTION_RECORDS_THRESHOLD on page 502
TRIM_CHAR_TO_VARCHAR on page 502
TRIM_VARCHAR_TO_VARCHAR on page 502
TRIM_TO_NULL on page 503
convertNotNullableColumns
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to indicate whether or not NULL values will be
converted to default values when replicating data that contains NULL values to
non-nullable target columns.
Default SettingOFF
D_MIRROR_MIRROR_ERROR_STOP
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this parameter to indicate whether or not mirroring continues after an error
has occurred during a row insert, delete, or update operation.
Applies ToTarget
Default SettingON
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
D_MIRROR_REFRESH_ERROR_STOP
D_MIRROR_REFRESH_ERROR_STOP
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to indicate whether or not InfoSphere CDC should
continue to perform a refresh after encountering an error during a row insert
operation.
Applies ToTarget
Default SettingON
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 499
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
D_MIRROR_MIRROR_ERROR_STOP on page 499
FILTER_NOCHANGE_UPDATES_FOR_AUDIT
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to indicate whether or not updates that have identical
before and after column images (that is, the row has been updated to the same
value), are replicated to the target table for any tables configured for LiveAudit
replication.
Applies ToSource
This parameter only affects tables that are configured for LiveAudit replication. For
non-audit tables, only updates that change the column data are replicated to the
target tables.
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
NLS_LANG
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the database character set preceded with a
period. For more information about setting this system parameter, see your IBM
representative.
TRANSACTION_GROUP_SIZE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Applies ToTarget
Default Setting500
Minimum Setting0
Guidelines
Note: Use this parameter only if InfoSphere CDC is running under commitment
control. The COMMIT_LEVEL system parameter should be set to2 on the target
database, and the MAINTAIN_TRANSACTION_CONSISTENCY system parameter should be
set to ON on the source database.
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
TRANSACTION_INTERVAL
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the time interval, in seconds, that can elapse
between transactions before InfoSphere CDC issues a commit. If there are no
transactions received by the target system, then InfoSphere CDC issues a commit
immediately. Use this system parameter with the TRANSACTION_GROUP_SIZE system
parameter. InfoSphere CDC issues a commit after applying the number of
transactions specified by the TRANSACTION_GROUP_SIZE system parameter, or when
the time interval specified by TRANSACTION_INTERVAL system parameter has elapsed.
Setting only one of these system parameters without the other can result in
uncommitted transactions on the target.
Applies ToTarget
Default Setting1
Minimum Setting0
Guidelines
InfoSphere CDC issues a commit only when a commit is received by the target
system and you have reached the transaction group size, or exceeded the time
interval, or exceeded the records threshold.
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 501
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
TRANSACTION_RECORDS_THRESHOLD
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the maximum number of operations within a
transaction or group of transactions before InfoSphere CDC issues a commit
Applies ToTarget
Default Setting3000
Minimum Setting0
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
TRIM_CHAR_TO_VARCHAR
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify whether or not trailing blank characters are
trimmed from source columns of CHAR data type when replicating data to target
columns of VARCHAR data type.
Applies ToTarget
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
TRIM_TO_NULL on page 503
TRIM_VARCHAR_TO_VARCHAR
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify whether or not trailing blank characters are
trimmed from source columns of VARCHAR data type when replicating data to
target columns of VARCHAR data type.
Applies ToTarget
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
TRIM_TO_NULL
TRIM_TO_NULL
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify how source columns that contain blank
characters only are handled during data replication.
Applies ToTarget
If the target column is non-nullable, source columns that contain blank characters
only are handled according to the convertNotNullableColumns system parameter.
The table below explains how the TRIM_ system parameters affect the data
replicated to the target for source columns that contain blank characters only.
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 503
TRIM_ parameter settings Target data
OFF OFF OFF Source data Source data Blanks
Default SettingOFF
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
TRIM_CHAR_TO_VARCHAR on page 502
TRIM_VARCHAR_TO_VARCHAR on page 502
See also:
PREVENT_RECURSION
PREVENT_RECURSION
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this parameter to indicate whether or not to prevent cascading replication for
bidirectional configurations.
Applies ToSource
Default SettingON
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
See also:
REPORT_POSITION_INTERVAL
REPORT_POSITION_INTERVAL
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Applies ToSource
After a shutdown and restart, you can use this system parameter to prevent
InfoSphere CDC from rereading entries that do not apply to the current replication
configuration.
The value of this parameter affects the information that is displayed in progress
and bookmark messages. A high value for this parameter may result in
information that is not up-to-date being displayed.
Default Setting5
Minimum Setting1
Maximum Setting300
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
See also:
COMMIT_GROUP_SIZE
COMMIT_INTERVAL on page 506
SYNCHRONIZATION_COMMIT_ GROUP_SIZE on page 507
SYNCHRONIZATION_INTERVAL on page 508
COMMIT_GROUP_SIZE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 505
Use this system parameter to specify the minimum number of rows InfoSphere
CDC should apply to the database before a commit is issued. InfoSphere CDC
issues a commit on the target when the transaction that contains the rows
completes.
Applies ToTarget
Default Setting5000
Minimum Setting0. InfoSphere CDC does not use commit groups to apply data
to the target.
Guidelines
Note: Use this parameter only if InfoSphere CDC is not running under
commitment control (COMMIT_LEVEL =0).
Related concepts
System parameters for InfoSphere CDC for Oracle (version 6.2 and earlier) on
page 421
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
COMMIT_INTERVAL on page 444
COMMIT_LEVEL on page 444
D_MIRROR_MIRROR_ERROR_STOP on page 433
COMMIT_INTERVAL
D_MIRROR_MIRROR_ERROR_STOP on page 499
COMMIT_INTERVAL
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the time interval between commits, in
seconds, to limit the number of commits InfoSphere CDC issues on the target
database. Use the COMMIT_GROUP_SIZE and COMMIT_INTERVAL system parameters
together. InfoSphere CDC issues a commit when either when the number of rows
specified by COMMIT_GROUP_SIZE has been applied to the target, or when the time
interval specified by COMMIT_INTERVAL has elapsed. Setting only one of these system
parameters without the other can result in uncommitted data on the target.
When the COMMIT_INTERVAL time expires, InfoSphere CDC issues a commit on the
target database for transactions that completed within that time interval.
Default Setting60
Guidelines
Note: Use this parameter only if InfoSphere CDC is not running under
commitment control (COMMIT_LEVEL =0).
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
COMMIT_GROUP_SIZE on page 505
D_MIRROR_MIRROR_ERROR_STOP on page 499
SYNCHRONIZATION_COMMIT_ GROUP_SIZE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the number of transactions applied to the
database before InfoSphere CDC performs synchronization between the source and
target.
Default Setting128
Minimum Setting0. InfoSphere CDC does not use commit groups to perform
synchronization.
DynamicYes
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 507
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
SYNCHRONIZATION_INTERVAL
SYNCHRONIZATION_INTERVAL
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Applies ToSource
Default Setting1
Minimum Setting1
Maximum Setting300
DynamicYes
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
SYNCHRONIZATION_COMMIT_ GROUP_SIZE on page 507
See also:
D_MIRROR_ALARM_TRACE
D_MIRROR_TRACE on page 509
D_MIRROR_TRACE_FILE_SIZE on page 509
D_MIRROR_TRACE_ON_ERROR on page 510
D_MIRROR_ALARM_TRACE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Default SettingOFF
D_MIRROR_TRACE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
When enabling this setting, also set the size of the trace file to an appropriate
value using the D_MIRROR_TRACE_FILE_SIZE system parameter. To avoid disk space
problems, set the size of the trace file to a value that is not too high.
Default SettingOFF
DynamicYes
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
Related reference
D_MIRROR_TRACE_FILE_SIZE
D_MIRROR_TRACE_FILE_SIZE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the maximum size of a trace file in bytes.
InfoSphere CDC creates two trace files. When the first trace file reaches its
maximum size, InfoSphere CDC creates a second file. When the second trace file
reaches its maximum size, InfoSphere CDC starts overwriting the first file.
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 509
Applies ToSource and Target
D_MIRROR_TRACE_ON_ERROR
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify whether or not InfoSphere CDC enables
tracing automatically when an error occurs.
When enabling this setting, also set the size of the trace file to an appropriate
value using the D_MIRROR_TRACE_FILE_SIZE system parameter. To avoid disk space
problems, set the size of the trace file to a value that is not too high.
Default SettingOFF
See also:
convertNotNullableMsg on page 511
DEADBAND_PERCENTAGE on page 511
DM_STATUS_INTERVAL on page 513
HEARTBEAT_TIMEOUT on page 513
LOG_EMAIL_USERNAME on page 514
MONITOR_SAMPLE_INTERVAL on page 514
STATISTICS_INTERVAL on page 515
Use this system parameter to indicate whether or not a warning message will be
generated in Event Log each time data that contains NULL values is converted to
default values for non-nullable target columns.
Applies ToTarget
Default SettingOFF
DEADBAND_PERCENTAGE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Applies ToTarget
Identifies the size of the range around each latency threshold setting. Based on
latency thresholds defined, a latency message is generated when latency has risen
above or fallen below a threshold. Latency is calculated at regular intervals, where
the interval is the current setting for the MONITOR_SAMPLE_INTERVAL system
parameter. You can set notifications in response to a generated latency message.
For example, assume that a latency threshold is 5 minutes and this system
parameter is set to 10. A 10% range is applied around the 5 minute threshold. The
following calculations are performed to determine the lower and upper limits (in
minutes) of the range around the threshold:
v Padding = 10% of 5 minutes = 0.5 minutes (rounded up to 1 minute)
v Padding is rounded up or down to the nearest whole minute:
Upper limit of range = 5 minutes + 1 minute (padding) = 6 minutes
Lower limit of range = 5 minutes - 1 minute (padding) = 4 minutes
As a result, a latency message will be generated only when latency rises above 6
minutes or falls below 4 minutes. Given sample latency over a ten minute period
where latency is calculated every minute, three latency messages are generated.
This graph illustrates latency message generation with the DEADBAND_PERCENTAGE
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 511
value set to 10%:
If this DEADBAND_PERCENTAGE is set to 3 (the default setting) for the same example,
no padding is applied to the latency threshold. Therefore, a latency message is
generated each time latency crosses over the latency threshold of 5 minutes. Based
on the same sample latency in the previous graph where latency is calculated
every minute, five latency messages are generated when this system parameter is
set to 3. This graph illustrates latency message generation with the
DEADBAND_PERCENTAGE value set to 3%:
If the number of latency messages generated over the ten minute period for the
10% (3 latency messages) and 3% (5 latency messages) settings are averages, an
additional 288 latency messages would be generated each day if this system
parameter is not changed from its default setting to 10%.
Since there are two latency thresholds that you can set (a warning threshold and a
problem threshold), two separate ranges are defined when padding is at least one
minute. In this case, each range is attached to its threshold, and the two ranges can
overlap with no change in behavior.
If a value outside the acceptable range is specified, the default setting is used.
Default Setting3%
Minimum Setting3%
Maximum Setting10%
Note: If you set a value outside the acceptable range, then InfoSphere CDC uses
the defaults.
DM_STATUS_INTERVAL
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify how often progress messages should be
issued in seconds. These messages are displayed in Event Log to indicate how
replication is advancing and to provide detailed information about InfoSphere
CDC replication activities.
Note: Low values of this parameter may result in many messages displayed in
Event Log. In this situation, clear Event Log on a regular basis.
HEARTBEAT_TIMEOUT
VersionInfoSphere CDC for Sybase version 6.0 and earlier
For each active subscription, internal heartbeat messages are sent regularly
between the source and the target to determine communications and process
status. If a reply to a message is not received by the source or target within the
specified timeout interval, then InfoSphere CDC determines that a problem has
occurred, and attempts to stop all its source and target processes for the
subscription. In addition, messages (message identifiers 2612 and 3165) are placed
in Event Log when heartbeat timeouts occur.
Applies ToSource
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 513
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
LOG_EMAIL_USERNAME
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the user name that receives e-mail messages
in response to invoking the dmreadlog command or the warning message that is
generated when Event Log exceeds the threshold value set by the LOG_MAX_SIZE
system parameter.
MONITOR_SAMPLE_INTERVAL
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to identify the period of time, in seconds, between
consecutive updates to a storage area that is used to maintain replication latency
metrics. Management Console references this area to present replication latency
information.
On the target, this setting also represents how often the storage area is sampled to
determine if latency has risen above or fallen below specified threshold settings.
InfoSphere CDC generates latency messages when latency rises above or falls
below the thresholds. In response to a generated message, you can set latency
notifications.
If a value smaller than the minimum setting is specified, the minimum setting is
used. If a value larger than the maximum setting is specified, the maximum setting
is used.
STATISTICS_INTERVAL
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify how often, in seconds, InfoSphere CDC issues
messages that contain statistics information. These messages are displayed in Event
Log.
DynamicYes
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
See also:
LOG_MAX_SIZE
LOG_MAX_SIZE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the threshold size of Event Log in KB. A
warning message is generated in Event Log when its size exceeds specified
threshold. The messages in Event Log are deleted automatically when the size of
Event Log is ten times the value specified by this parameter.
If you do not want to specify a threshold size, set this parameter to NOMAX.
Default Setting5000
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 515
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) on
page 493
See also:
D_HOME_BCP
D_MIRROR_BCP
D_MIRROR_BCP_ROWS on page 517
D_MIRROR_FASTBCP on page 517
DM_BCP_PACKET_SIZE on page 517
D_HOME_BCP
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the directory where InfoSphere CDC will
place a BCP log file. The log file contains the statements that were used to recreate
the indexes after the BCP operation was completed.
D_MIRROR_BCP
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to indicate if BCP refresh operations are enabled. Under
BCP, a block of data is accumulated and applied to target tables in a single
operation. InfoSphere CDC accumulates records on the Sybase server, and then
performs a bulk copy when the block contains a specific number of records.
Applies ToTarget
Default SettingON
Note: To enable InfoSphere CDC to refresh target tables using BCP, make sure
that this parameter is set to ON, and that D_MIRROR_FASTBCP is set to OFF. If
D_MIRROR_FASTBCP is set to ON as well, then fast BCP refresh is enabled.
Use this system parameter to specify the number of rows that the server will buffer
before InfoSphere CDC commits to the database in a single operation. You need to
consider the amount of storage available to buffer rows. For example, to copy
blocks of 500 rows to target tables, you would set D_MIRROR_BCP_ROWS to a value of
500.
Applies ToTarget
Note: If you specify a value of zero, then the server will buffer all the rows in the
table before committing data to the database.
D_MIRROR_FASTBCP
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to enable or disable fast BCP refresh operations. Fast
BCP applies records in blocks, but provides better performance than BCP.
Applies ToTarget
Default SettingOFF
DM_BCP_PACKET_SIZE
VersionInfoSphere CDC for Sybase version 6.0 and earlier
Use this system parameter to specify the length (bytes) of the network packets you
want InfoSphere CDC to send to the Sybase server when a BCP refresh is enabled.
The value of this parameter impacts the speed at which the load of data will occur.
You should specify network packet sizes larger than the default to improve the
performance of BCP refresh operations.
Applies ToTarget
System parameters for InfoSphere CDC for Sybase (version 6.0 and earlier) 517
Minimum Setting512 bytes
Note: The number of bytes cannot be greater than the maximum network packet
size value you have specified for the Sybase database. While Sybase
documentation states that this is a negotiated value, the connection will fail if the
size specified for this system parameter is larger than the Sybase database setting.
Therefore, the maximum value for the Sybase database should be set to a value
that allows large packet sizes.
For more information about the Sybase configuration variables related to network
communication, see your Sybase documentation.
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Note: If you make changes to a system parameter during active replication, you
must stop and restart replication for the changes to take effect.
See also:
mirror_auto_restart_interval_minutes
mirror_auto_restart_interval_minutes
VersionInfoSphere CDC for Sybase version 6.3 Fix Pack 3 TFE 9 and later.
Use this parameter to indicate how long (in minutes) InfoSphere CDC will attempt
to automatically restart continuous mirroring for persistent subscriptions.
Applies ToSource
Default0
Minimum0
Maximum60
See also:
events_max_retain
global_conversion_not_possible_warning
global_shutdown_after_no_heartbeat_response_minutes on page 521
events_max_retain
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to control the maximum number of events that
InfoSphere CDC will store in the event log. If InfoSphere CDC generates more
events than the specified maximum, then the earliest events will be deleted.
Default Setting10000
Minimum -1
Maximum2147483647
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
global_conversion_not_possible_warning
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to control whether or not InfoSphere CDC generates a
warning in the Management Console Event Log in the following situations:
v Data conversion is not possible for a specific data value.
v Converted data types are encountered that are out of range.
Applies ToTarget
Default Settingfalse
global_shutdown_after_no_heartbeat_response_minutes
VersionInfoSphere CDC for Sybase version 6.3 and later
Applies ToSource
See also:
global_max_batch_size
mirror_interim_commit_threshold on page 522
refresh_commit_after_max_operations on page 522
global_max_batch_size
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to specify the maximum number of rows that
InfoSphere CDC can place in an array and apply to the target database during
refresh or mirroring. InfoSphere CDC collects rows and places them in an array (in
memory) while receiving table-level operations from the source system. InfoSphere
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) 521
CDC applies the rows from the array when there is a change to a different table,
when there is a new table-level operation, or when the maximum number of rows
in an array has been reached. You can use this parameter during mirroring only if
mirror_end_on_error is true and mirror_expected_errors_list is empty. Use only
during a refresh if refresh_end_on_error is true and refresh_expected_errors_list is
empty. Before InfoSphere CDC places rows into an array, it allocates memory for
the maximum number of rows you specify and multiplies this integer by the
maximum length of a row. If the maximum number of rows is too large, then
InfoSphere CDC cannot allocate enough memory and will shut down. Management
Console references this area to present replication latency information.
Applies ToTarget
mirror_interim_commit_threshold
VersionInfoSphere CDC for Sybase version 6.3 Fix Pack 3 and later.
In cases where large transactions are done on the source system, it can be more
efficient to break a large transaction into smaller transactions when applying data
to the target. You can configure this behavior using this system parameter.
The default value of 0 for this system parameter indicates that the product
guarantees transactional delivery of change data to the target. A value greater than
0 indicates that you want InfoSphere CDC to break up large transactions into
smaller transactions. For example, a value of 2000 indicates that InfoSphere CDC
will split up large source transactions so that each transaction committed to the
target database contains no more than 2000 operations.
Applies ToTarget
Default Setting0
Minimum Setting0
refresh_commit_after_max_operations
VersionInfoSphere CDC for Sybase version 6.3 and later
This system parameter identifies the number of rows comprising each transaction
during refresh. To reduce the workload on the target database during refresh,
InfoSphere CDC periodically commits the changes to the target database rather
than performing the refresh as a single large transaction.
Applies ToTarget
Maximum Setting2147483647
Minimum Setting1
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
See also:
global_unicode_as_char
global_unicode_as_char
VersionInfoSphere CDC for Sybase version 6.3 and later
This system parameter indicates the default method of treating data in defined
Unicode columns. For each InfoSphere CDC installation on a server, this system
parameter defines the system default method of treating data in Unicode columns.
If a Unicode column is set to System Default on the Encoding tab of the Mapping
Details view in Management Console, InfoSphere CDC uses the method for
processing Unicode columns that you select in this system parameter.
Note: Setting this parameter to false does not ensure that replicated
non-single-byte character data in Unicode columns are represented properly on
the target. For replicated non-single-byte character data, you may have to apply
user exit programs or other customizations to properly represent data in
Unicode columns. For more information about user exit programs, see the
InfoSphere CDC End-User Documentation for your platform.
Applies ToSource
Default Settingfalse
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) 523
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
See also:
mirror_global_disk_quota_mb
mirror_global_disk_quota_gb
mirror_global_disk_quota_mb
VersionInfoSphere CDC for Sybase version 6.3
Use this system parameter to globally set a disk quota (in MB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum100
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
mirror_global_disk_quota_gb
VersionInfoSphere CDC for Sybase version 6.5
Use this system parameter to globally set a disk quota (in GB) for all capture
components including temporary files, transaction queues, and LOBs which are
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum1
See also:
global_default_after_database_minimum_timestamp
global_default_before_database_minimum_timestamp on page 526
convert_not_nullable_column on page 526
convert_not_nullable_message on page 527
mirror_end_on_error on page 527
mirror_expected_errors_list on page 527
refresh_end_on_error on page 528
refresh_expected_errors_list on page 528
refresh_loader_drop_index on page 529
refresh_with_referential_integrity on page 529
trim_char_to_varchar on page 529
trim_varchar_to_varchar on page 530
userexit_max_lob_size_kb on page 530
global_default_after_database_minimum_timestamp
VersionInfoSphere CDC for Sybase version 6.3 and later
In environments where the timestamp range in your source database differs from
the target database, this system parameter allows you to control the default values
that InfoSphere CDC sets on the target for out-of-range date-time values.
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) 525
Use this system parameter to control the value substituted by InfoSphere CDC in
the target database when a value is being set on a target date-time column that is
greater than the maximum accepted value for the target database.
global_default_before_database_minimum_timestamp
VersionInfoSphere CDC for Sybase version 6.3 and later
In environments where the timestamp range in your source database differs from
the target database, this system parameter allows you to control the default values
that InfoSphere CDC sets on the target for out-of-range date-time values.
Use this system parameter to control the value substituted by InfoSphere CDC in
the target database when a value is being set on a target date-time column that is
less than the minimum accepted value for the target database.
convert_not_nullable_column
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to control how InfoSphere CDC behaves when it applies
a null value to a non-nullable column. When set to true (default value), the null
value will be replaced with a default value (based on the data type of the column)
and InfoSphere CDC will generate a warning in the event log. When set to false,
InfoSphere CDC applies the null value directly to the non-nullable column which
will result in an error and cause a shutdown of InfoSphere CDC on the target
database.
Note: If you decided to set this system parameter to false and have specified this
as an error for InfoSphere CDC to ignore using the mirror_expected_errors_list
system parameter, then InfoSphere CDC will ignore the error and not shutdown.
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
convert_not_nullable_message
VersionInfoSphere CDC for Sybase version 6.3 and later
Applies ToTarget
Default SettingTrue
mirror_end_on_error
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to indicate if you want to end mirroring after an apply
error occurs on the target database.
Applies ToTarget
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
mirror_expected_errors_list
VersionInfoSphere CDC for Sybase version 6.3 and later
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) 527
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when applying data changes to the target during mirroring. The
error specified must correspond to the integer error code (database-vendor specific)
returned by the SQLException class in JDBC (Java Database Connectivity). Specify
multiple errors with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
refresh_end_on_error
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to indicate if you want to end a refresh after an apply
error occurs.
Applies ToTarget
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
refresh_expected_errors_list
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when refreshing data to the target. The error specified must
correspond to the integer error code (database-vendor specific) returned by the
SQLException class in JDBC (Java Database Connectivity). Specify multiple errors
with a comma separated list of integer error codes.
For example, if you want InfoSphere CDC to continue refresh when it encounters a
duplicate key violation in your Sybase target database, set this parameter to
mirror_expected_errors_list=2601. The integer error code of 2601 corresponds to
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
refresh_loader_drop_index
VersionInfoSphere CDC for Sybase version 6.3 and later
This system parameter indicates whether or not InfoSphere CDC will drop all
indexes on the tables being refreshed and then rebuild the indexes after the refresh.
In most environments, this will improve refresh performance.
If the refresh fails for any reason, InfoSphere CDC will write SQL statements to a
file which will allow you to manually rebuild the indexes for all tables in your
database. The location of the file is specified in the Management Console event log.
Applies ToTarget
Default Settingtrue
refresh_with_referential_integrity
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to indicate whether or not you want the data removed
from all the target tables being refreshed before repopulating any of them. This is
most useful when there are referential integrity constraints on the tables being
refreshed.
Applies ToSource
Default Settingfalse
trim_char_to_varchar
VersionInfoSphere CDC for Sybase version 6.3 and later
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) 529
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
trim_varchar_to_varchar
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) on
page 519
userexit_max_lob_size_kb
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to set the maximum size of LOB data (in kb) that
InfoSphere CDC can pass to a user exit.
Applies ToTarget
Default Setting128 kb
Maximum9223372036854775807 kb
Minimum1 kb
See also:
mirror_logging_by_empty_triggers on page 414
auto_configure_supplemental_logging
mirror_logging_by_empty_triggers
auto_configure_supplemental_logging
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to specify how supplemental logging is performed. Set
this parameter to one of the following:
v trueInfoSphere CDC uses the value of the mirror_logging_by_empty_triggers
system parameter to enable logging.
v falseIndicates that you must either create an empty trigger or set the table's
replication flag (using sp_setreptable 'table-name', true).
Default Settingtrue
mirror_logging_by_empty_triggers
VersionInfoSphere CDC for Sybase version 6.3 and later
Use this system parameter to choose empty triggers as your supplemental logging
method for Sybase. InfoSphere CDC only uses this system parameter if
auto_configure_supplemental_logging is set to true.
Note: If the table's replication flag is set and Sybase Replication Server is not
replicating the table, a warning will be written to the ASE error log each time an
insert is performed. In this case you must create an empty subscription (see
http://infocenter.sybase.com/help/index.jsp?topic=/
com.sybase.infocenter.dc35817.1510/html/rsunix_config/CHDCGDAG.htm)
Applies ToSource
Default Settingtrue
System parameters for InfoSphere CDC for Sybase (version 6.3 and later) 531
532 InfoSphere Change Data Capture Management Console: Administration Guide
System parameters for InfoSphere CDC for IBM i (version 6.2
and earlier)
System parameters let you control the behavior of InfoSphere CDC. If your
replication environment requires a particular configuration, then you can use
system parameters to modify the behavior of default operations in InfoSphere
CDC. The default system parameter settings are appropriate for most installations.
Maintain these default settings until you become familiar with InfoSphere CDC
replication configuration.
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Notes:
v If you make changes to a system parameter during active replication, you must
stop and restart replication to for the changes to take effect.
v When upgrading to a later version of InfoSphere CDC, any preexisting settings
for system parameters are maintained.
See also:
Authorization Code on page 534
Enable *MAXOPT3 Option on page 534
Record Format Check on page 534
Startup Timeout on page 535
TCP_KEEPALIVE_SECS on page 535
Use this system parameter to adjust the authorization code issued by IBM.
Note: You can also modify the authorization using the Authorization Code Setup
utility
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
For information about setting this system parameter, see your IBM representative.
Applies ToSource
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Use this system parameter to enable or disable InfoSphere CDC from checking
record formats of the physical and logical files.
Applies ToTarget
The Record Format Check system parameter can be set to either *YES or *NO:
v *YESEnables InfoSphere CDC to check the record formats of the physical and
logical files. Only a physical file that has the same record format as the logical
file can be selected as a destination of mirrored data using a unique key.
v *NODisables InfoSphere CDC from checking the record formats of the
physical and logical files. You can select a physical file to be the destination of
mirrored data using a unique key that does not have the same record format as
the logical file.
Default Setting*YES
Startup Timeout
VersionInfoSphere CDC for IBM i version 6.2 and earlier
For information about setting this system parameter, see your IBM representative.
TCP_KEEPALIVE_SECS
VersionInfoSphere CDC for IBM i version 6.2 and earlier
Use this system parameter to determine the time (in seconds) InfoSphere CDC
waits before sending a keep alive notification over the network. During idle
periods, InfoSphere CDC sends a keep alive notification to keep the connection
open.
Minimum Setting0
Guidelines
It is important you set this system parameter when you have a firewall connection
that has been configured to timeout. This prevents the firewall from closing the
connection.
To prevent the firewall from closing during active data replication, set this
parameter to a value lower than the configured firewall timeout.
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 535
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
See also:
Allow Refresh While Active
End on Error During Mirroring
End on Error During Refresh on page 537
Refresh After Restore on page 537
Use this system parameter to enable or disable InfoSphere CDC from refreshing a
target table while changes are being made to the source table. After InfoSphere
CDC completes the refresh, it sends any remaining changes that were made on the
source table during the refresh to the target table.
Applies ToSource
The Allow Refresh While Active system parameter can be set to either *YES or
*NO:
v *YESEnables InfoSphere CDC to refresh the target table while there are active
changes being made on the source table.
v *NODisables InfoSphere CDC from performing a refresh when there are active
changes being made on the source table.
Default Setting*YES
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Use this system parameter to end or continue mirroring when InfoSphere CDC
encounters one or more errors.
Applies ToTarget
The End on Error During Mirroring system parameter can be set to either *YES or
*NO:
v *YESInfoSphere CDC ends mirroring immediately after it detects an error.
Default Setting*NO
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Use this system parameter to end or continue a refresh operation after InfoSphere
CDC encounters one or more errors.
Applies ToTarget
The End on Error During Refresh system parameter can be set to either *YES or
*NO:
v *YESInfoSphere CDC ends a refresh operation immediately after it detects an
error. This is the recommended setting for this parameter.
v *NOInfoSphere CDC reports the error and continues with the refresh
operation after it detects the error.
Default Setting*YES
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Use this system parameter to set when InfoSphere CDC refreshes tables that have
been restored.
Applies ToSource
The Refresh After Restore system parameter can be set to either *IMMED or
*DELAY:
v *IMMEDInfoSphere CDC starts a Refresh of the restored tables immediately.
v *DELAYInfoSphere CDC delays the start of a Refresh of the restored tables
until the next time a refresh operation is started. InfoSphere CDC also delays the
start of a Refresh Before Mirror.
Default Setting*IMMED
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 537
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
See also:
Enable Cascading Replicates
Applies ToSource
The Enable Cascading Replicates system parameter can be set to either *YES or
*NO:
v *YESEnables InfoSphere CDC to send replicated data from one target system
to another target system.
v *NODisables InfoSphere CDC from sending replicated data from one target
system to another target system.
Default Setting*YES
Guidelines
Set this system parameter to *NO if there are one or more tables being maintained
at the same time on two servers.
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
See also:
Default Journal Library
Default Journal Name on page 539
Replicate User Defined Journal Entries on page 539
Report Position Interval on page 540
Synchronization Interval on page 540
Applies ToSource
The Default Journal Library system parameter can be set to either the name of
the library, *LIBL , or *CURLIB:
v The name of a library.
v *LIBLSpecifies the set of libraries in your library list. The libraries are
searched in order for the first occurrence of the specified default journal.
v *CURLIBSpecifies the current library.
Default Setting*CURLIB
.
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Use this system parameter to identify the name of the InfoSphere CDC default
journal. By default, tables mirrored by InfoSphere CDC use this journal. For more
information about journals, see InfoSphere CDC for IBM i Commands Reference.
Applies ToSource
Default SettingDMCJRN
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Applies ToSource
The Replicate User Define Journal Entries system parameter can be set to either
*NO or *YES:
v *NODisables InfoSphere CDC from processing user-defined journal entries for
replication.
v *YESEnables InfoSphere CDC to process user-defined journal entries for
replication.
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 539
Default Setting*NO
Guidelines
Use this system parameter to set how often (in milliseconds) InfoSphere CDC
informs the target system about its log position. When the source system is in idle
mode and there are no log entries for the subscription, the source system informs
the target system of its current log position. The target system uses this
information to advance its bookmarks.
Applies ToSource
Guidelines
v If the number of milliseconds is set low, then the target system can provide
accurate progress notifications that indicate how far replication has progressed.
v If the number of milliseconds is set high, it may affect the accuracy of the
information displayed in progress and bookmark notifications.
Notes:
v If you set a value outside the acceptable range, then InfoSphere CDC uses the
defaults.
v This system parameter can also prevent InfoSphere CDC from rereading log
entries that do not apply to the table currently being replicated.
Synchronization Interval
VersionInfoSphere CDC for IBM i version 6.2 and earlier
Use this system parameter to set how often (in seconds) InfoSphere CDC performs
log synchronization between the source and the target. Synchronization is achieved
when the source reports to the target the position of the last committed change.
Applies ToSource
Guidelines
Note: If a value outside the acceptable range is specified, the default setting is
used.
See also:
Data Origin TCP/IP Name
Data Origin Port
Relational Database Directory Entry on page 542
Use this system parameter to enable InfoSphere CDC Management Console and
InfoSphere CDC (installed on the InfoSphere CDC/400 Source System) to use the
IP address or host name of the InfoSphere CDC/400 Data Origin Server (where
your source files reside).
Default Setting*LOCAL
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Use this system parameter to enable InfoSphere CDC Management Console and
InfoSphere CDC (installed on the InfoSphere CDC/400 Source System) to use the
port number of the InfoSphere CDC/400 Data Origin Server. The value that you
specify for this system parameter must match the TCP listener port number of the
InfoSphere CDC/400 Data Origin Server.
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 541
Default Setting0
GuidelinesYou must enable the Data Origin TCP/IP Name system parameter to
either the IP address or the host name of the InfoSphere CDC/400 Data Origin
Server for this system parameter to take affect.
Use this system parameter to specify the relational database directory entry added
to the InfoSphere CDC/400 Source System which references the relational database
directory entry on the InfoSphere CDC/400 Data Origin Server.
Default Setting*NONE
GuidelinesYou must enable the Data Origin TCP/IP Name system parameter to
either the IP address or the host name of the InfoSphere CDC/400 Data Origin
Server for this system parameter to take affect.
See also:
Commitment Control
Commitment Control
VersionInfoSphere CDC for IBM i version 6.2 and earlier
Use this system parameter to enable or disable InfoSphere CDC from using
commitment control. Enabling commitment control maintains transaction
consistency during replication and ensures that all transactions are applied to the
target system. If there is a communications or server failure, and you have enabled
this system parameter, then InfoSphere CDC rolls back the partially applied
transaction to the last commit. For more information about commitment control,
see "Considerations for Commitment Control (*LEVEL1)" in InfoSphere CDC for IBM
i Commands Reference.
Applies ToTarget
Default Setting*NONE
Guidelines
If you select *LEVEL1, you must disable the system parameter Refresh While
Active on the source.
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Related reference
Allow Refresh While Active on page 536
See also:
Unicode Handling
Unicode Handling
VersionInfoSphere CDC for IBM i version 6.2 and earlier
Use this system parameter to indicate the default method of treating data in
defined Unicode columns. For each InfoSphere CDC installation on a server, this
system parameter defines the system default method of treating data in Unicode
columns. If a Unicode column is set to System Default on the Encoding tab of the
Mapping Details view in Management Console, InfoSphere CDC uses the method
for processing Unicode columns that you select in this system parameter.
Applies ToSource
The following IBM DB2 for i data types are considered to be Unicode columns and
are affected by the value assigned to this system parameter:
v GRAPHIC or VARGRAPHIC with code page 1208 (UTF-8)
v CHARACTER or VARCHAR with code page 1208 (UTF-8)
Default SettingNOCHANGE
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 543
Note: NOCHANGE does not ensure that replicated non-single-byte character data
in Unicode columns are represented properly on the target. For replicated
non-single-byte character data, you many need to apply user exit programs or
other customization to properly represent the data in Unicode columns.
For more information about user exit programs, see your InfoSphere CDC for IBM
i documentation.
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Related tasks
To set handling for Unicode character encoding on page 170
See also:
Deadband Percentage
Monitor Sample Interval on page 546
Deadband Percentage
VersionInfoSphere CDC for IBM i version 6.2 and earlier
Applies ToTarget
Identifies the size of the range around each latency threshold setting. Based on
latency thresholds defined, a latency message is generated when latency has risen
above or fallen below a threshold. Latency is calculated at regular intervals, where
the interval is the current setting for the MONITOR_SAMPLE_INTERVAL system
parameter. You can set notifications in response to a generated latency message.
For example, assume that a latency threshold is 5 minutes and this system
parameter is set to 10. A 10% range is applied around the 5 minute threshold. The
following calculations are performed to determine the lower and upper limits (in
minutes) of the range around the threshold:
v Padding = 10% of 5 minutes = 0.5 minutes (rounded up to 1 minute)
v Padding is rounded up or down to the nearest whole minute:
Upper limit of range = 5 minutes + 1 minute (padding) = 6 minutes
Lower limit of range = 5 minutes - 1 minute (padding) = 4 minutes
If this DEADBAND_PERCENTAGE is set to 3 (the default setting) for the same example,
no padding is applied to the latency threshold. Therefore, a latency message is
generated each time latency crosses over the latency threshold of 5 minutes. Based
on the same sample latency in the previous graph where latency is calculated
every minute, five latency messages are generated when this system parameter is
set to 3. This graph illustrates latency message generation with the
DEADBAND_PERCENTAGE value set to 3%:
If the number of latency messages generated over the ten minute period for the
10% (3 latency messages) and 3% (5 latency messages) settings are averages, an
additional 288 latency messages would be generated each day if this system
parameter is not changed from its default setting to 10%.
Since there are two latency thresholds that you can set (a warning threshold and a
problem threshold), two separate ranges are defined when padding is at least one
minute. In this case, each range is attached to its threshold, and the two ranges can
overlap with no change in behavior.
If a value outside the acceptable range is specified, the default setting is used.
Default Setting3%
Minimum Setting3%
Maximum Setting10%
Note: If you set a value outside the acceptable range, then InfoSphere CDC uses
the defaults.
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 545
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Use this system parameter to set how often (in seconds) InfoSphere CDC updates
replication latency metrics. InfoSphere CDC samples the target system to determine
if latency has risen above or fallen below the specified threshold settings.
Notes:
v InfoSphere CDC generates latency notifications when latency rises above or falls
below the thresholds and places these in the Event Log.
v If you set a value outside the acceptable range, then InfoSphere CDC uses the
defaults.
See also:
Heartbeat Timeout
Messages on Column Not Null Capable on page 547
Messages on Invalid Numerics on page 547
Progress Status Interval on page 548
Heartbeat Timeout
VersionInfoSphere CDC for IBM i version 6.2 and earlier
InfoSphere CDC sends internal heartbeat notifications between the source and
target systems to verify communications and the status of replication processes for
each active subscription. If the source or target do not receive a reply to a
notification within the specified timeout interval, then InfoSphere CDC determines
that a problem has occurred and attempts to stop all its source and target
processes for each active subscription.
Applies ToSource
Note: If you set a value outside the acceptable range, then InfoSphere CDC uses
the defaults.
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Use this system parameter to enable or disable InfoSphere CDC from generating a
message each time it attempts to replicate NULL to a target column that is
non-nullable.
Applies ToTarget
The Messages on Column Not Null Capable system parameter can be set to either
*YES or *NO:
v *YESEnables InfoSphere CDC to generate a message each time it attempts to
replicate NULL to a target column that is non- nullable.
v *NODisables InfoSphere CDC from generating a message each time it
attempts to replicate NULL to a target column that is non-nullable. For all
instances, you are notified by a message.
Default Setting*YES
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Use this system parameter to enable or disable InfoSphere CDC from generating a
message each time it detects an invalid numeric field.
Applies ToTarget
The Messages on Invalid Numerics system parameter can be set to either *YES,
*NO, or *NB:
v *YESInfoSphere CDC generates a message for each invalid numeric field
detected.
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 547
v *NOInfoSphere CDC does not generate a message for each invalid numeric
field detected. If you are sure that numeric data does not have to be validated,
set this parameter to *NO to maintain existing performance levels.
v *NBInfoSphere CDC does not generate a message when blank or uninitialized
numeric fields are detected. Messages for other types of invalid numeric data are
still generated.
Default Setting*YES
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Related reference
Numeric Column Validation on page 549
Use this system parameter to set how often (in seconds) InfoSphere CDC issues
progress notifications. InfoSphere CDC generates notifications on the source and
target and these provide information about replication activities.
Notes:
v InfoSphere CDC places progress notifications in the Event Log.
v If you set a value outside the acceptable range, then InfoSphere CDC uses the
defaults.
See also:
Numeric Column Validation
Use this system parameter to enable or disable InfoSphere CDC from checking
decimal and numeric columns for valid formats before applying numeric data to
the target table.
Applies ToTarget
The Numeric Column Validation system parameter can be set to either *YES or
*NO:
v *YESEnables InfoSphere CDC to validate invalid packed/zoned data before
applying it to the target table. If invalid packed/zoned data is found, then
InfoSphere CDC generates a message is generated set the field to 0
automatically.
v *NODisables InfoSphere CDC from validating packed/zoned data before
applying it to the target table. If you are sure that numeric data does not have to
be validated, set this parameter to *NO to maintain existing performance levels.
Default Setting*YES
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
See also:
Default Date On Error
Use this system parameter to set which date InfoSphere CDC returns when an
invalid date is passed to the %TODATE column function.
Applies ToTarget
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 549
The Default Date On Error system parameter can be set to *NEW or *OLD:
v *NEWReturns the date 1901-01-01.
v *OLDReturns the date 0001-01-01.
Default Setting*NEW
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Related reference
Date conversion%TODATE on page 238
See also:
Audit Filtered Transactions
Critical Column Filtering on page 551
Use this system parameter to set which images you want to audit after InfoSphere
CDC applies a row update that satisfies a row-filtering expression. By default,
InfoSphere CDC audits both the before and after images after applying a row
update that satisfies a row-filtering expression.
Applies ToSource
The Audit Filtered Transactions system parameter can be set to either *YES or
*NO:
v *YESAudits both the before and after images when a row update results in
only one of these images satisfying a defined row-filtering expression.
v *NOAudits only the after image that satisfies or does not satisfy a defined
row-filtering expression.
Default Setting*YES
Guidelines
v You can use this system parameter to override a row-filtering expression when
it is necessary to audit both before and after images in the target table, but only
one of these images satisfies the row-filtering expression. In this scenario, you
can use two journal codes (FP and FB) to identify the images in the target audit
table that do not satisfy the row-filtering expression.
Applies ToSource
The Critical Column Filtering system parameter can be set to either *YES or
*NO:
v *YESEnables critical column selection.
v *NODisables critical column selection.
Default Setting*NO
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
See also:
Notify Message Queue
Notify Message Queue Library on page 552
Notify Message Threshold on page 552
Use this system parameter to identify the name of the message queue that
InfoSphere CDC uses to send notifications when the number of errors exceeds the
notify message threshold system parameter.
Default SettingQSYSOPR
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 551
Note: You can set the notify message threshold using the Notify Message
Threshold system parameter.
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Related reference
Notify Message Threshold
Use this system parameter to identify the name of the library where the notify
message queue resides.
You can set the Notify Message Queue Library system parameter to one of the
following:
v The name of a library
v *LIBLSpecifies the set of libraries in your library list. The libraries are
searched in order for the first occurrence of the specified message queue.
v *CURLIBSpecifies the current library.
Default Setting*LIBL
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
Related reference
Notify Message Queue on page 551
Use this system parameter to identify the number of errors that InfoSphere CDC
generates before it sends a notification to the notify message queue.
See also:
Lock Timeout Value
Use this system parameter to set the amount of time (in seconds) that InfoSphere
CDC waits before attempting to modify a locked user or metadata table. When
InfoSphere CDC attempts to modify a locked table, it places a notification in the
Event Log. These notifications identify the specific table and row that InfoSphere
CDC could not modify.
Notes:
v If a table or row is locked, InfoSphere CDC waits for a specified timeout period
to expire before attempting to apply data again.
v If you set a value outside the acceptable range, then InfoSphere CDC uses the
defaults.
Related concepts
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) on
page 533
System parameters for InfoSphere CDC for IBM i (version 6.2 and earlier) 553
554 InfoSphere Change Data Capture Management Console: Administration Guide
System parameters for InfoSphere CDC for DB2 UDB and
Teradata (version 6.0 and earlier)
System parameters let you control the behavior of InfoSphere CDC. If your
replication environment requires a particular configuration, then you can use
system parameters to modify the behavior of default operations in InfoSphere
CDC. The default system parameter settings are appropriate for most installations.
Maintain these default settings until you become familiar with the configuration of
InfoSphere CDC.
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Note: If you make changes to a system parameter during active replication, you
must stop and restart replication for the changes to take effect.
When upgrading to a later version of InfoSphere CDC, any preexisting settings for
system parameters are maintained.
See also:
audit_auth_ code on page 556
auth_ code on page 556
db_password on page 556
db_user on page 557
debug on page 557
engine_ port on page 557
log_file_quota on page 557
audit_auth_ code
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the authorization code used to enable the
LiveAudit feature in InfoSphere CDC. When assigning the authorization code to
this system parameter, authorization codes are case-sensitive; therefore, the code
assigned to this parameter must be identical to the one obtained from IBM.
Applies ToSource and Target for InfoSphere CDC for DB2 UDB
auth_ code
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the authorization code that is required to replicate
and receive data with InfoSphere CDC. When assigning the authorization code to
this system parameter, authorization codes are case-sensitive; therefore, the code
assigned to this parameter must be identical to the one obtained from IBM.
Applies ToSource and Target for InfoSphere CDC for DB2 UDB
db_password
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
db_user
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
debug
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
engine_ port
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the port number on the server that is being used
for communications with client workstations running Management Console and
other replication servers. This port number was specified during InfoSphere CDC
installation. It can be changed by modifying this system parameter or using the
Change Listener Port utility. For more information about this utility, see the
appropriate InfoSphere CDC installation and user manual.
The port number that you specify must be unused, and the same port number
cannot be used for any other application installed on the same server.
Applies ToSource and Target for InfoSphere CDC for DB2 UDB, Target only for
InfoSphere CDC for Teradata
Default Setting11111
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
log_file_quota
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
log_total_quota
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 557
md_db_url
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
md_schema
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
scrape_timeout
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
startup_timeout
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter specifies the maximum waiting period, in seconds, for
process handling to complete during InfoSphere CDC startup. This system
parameter indicates how long the communication module waits for the database
initialization program to start before timing out.
Applies ToSource and Target for InfoSphere CDC for DB2 UDB, Target only for
InfoSphere CDC for Teradata
target_debug
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
For information about setting this system parameter, see your IBM representative.
ts_password
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
ts_product
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
See also:
accessserver_udp_ listenport
agent_assert on page 560
agent_debug on page 560
agent_jdbcdb2_driver on page 560
agent_jdbcdb2_driver_net on page 560
agent_jdbcpb_driver on page 560
agent_jdbcpb_driver_net on page 560
agent_max_connections_num on page 561
agent_message_version on page 561
agent_msg_resources_file on page 561
agent_src_engine_address on page 561
agent_src_engine_port on page 561
agent_src_engine_socket_tmout on page 561
agent_trace_in_message on page 561
agent_trace_out_message on page 562
agent_udp_ listenport on page 562
accessserver_udp_ listenport
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the UDP listener port number used by Access
Server to receive auto-discovery broadcast InfoSphere CDC from different
datastores in your configuration. The port number that you specify must not
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 559
already be in use on the client workstation, and must be the same port number
specified in Management Console when logging on. If the port number is changed
on a client workstation running Management Console, this system parameter must
be set to the updated port number.
Applies ToSource and Target for InfoSphere CDC for DB2 UDB, Target only for
InfoSphere CDC for Teradata
Default Setting10101
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
agent_assert
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_debug
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_jdbcdb2_driver
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_jdbcdb2_driver_net
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_jdbcpb_driver
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_jdbcpb_driver_net
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
agent_max_connections_num
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_message_version
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_msg_resources_file
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_src_engine_address
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_src_engine_port
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_src_engine_socket_tmout
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_trace_in_message
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 561
agent_trace_out_message
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
agent_udp_ listenport
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the port number on the replication server used by
the UDP listener for auto-discovery broadcasts sent from Access Server. The port
number that you specify must be unique.
Applies ToSource and Target for InfoSphere CDC for DB2 UDB, Target only for
InfoSphere CDC for Teradata
Default Setting2222
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
See also:
cascade_replication
cascade_replication
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter indicates whether or not replicated data received from the
source can be replicated (or cascaded) to other servers. This system parameter is
set on the server that receives replicated data and can cascade the data to one or
more other servers. It is applicable when implementing cascading replication.
See also:
commit_group_size
commit_ interval on page 564
refresh_commit_ block_size on page 565
scraper_trans_ num_limit on page 565
source_default_ commit_level on page 565
target_default_commit_level on page 566
commit_group_size
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter specifies the number of rows that must be applied to the
target database before a commit is issued.
Normally, commits issued to the target database are in response to commits issued
by applications running on the source. This system parameter should only be used
when you want manage commits by controlling how often they are issued to the
target database. This approach can be used to reduce the overhead of frequent
commits to the database. However, managing commits in this manner may result
in inconsistent data in the source and target databases over time. To manage
commits to the target database by setting the commit group size, you must disable
commitment control on the target, by setting the target_default_commit_level on
page 566 system parameter.
To properly calibrate database commits in your environment, you must work with
this system parameter and the dobatch on page 575 system parameter. If the
commit interval frequently expires before a commit group with the specified
number of applied rows has been formed, a smaller number of rows are
committed. In this case, you can decrease the commit group size or increase the
commit interval. However, when a commit group contains an insufficient number
of applied rows for it to be committed, you must set the commit interval to ensure
data is committed within a reasonable period of time.
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 563
Applies ToTarget, InfoSphere CDC for DB2 UDB only
Minimum Setting0
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
commit_ interval
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
To properly calibrate database commits in your environment, you must work with
this system parameter and the commit_group_size on page 563 system
parameter. For commit groups that have an insufficient number of applied rows
for a commit to be issued, use this system parameter to prevent applied rows in
the commit group from being uncommitted for a long period of time. In particular,
you can use it to force commits during periods of transaction inactivity. However,
if you set the commit interval so that it frequently expires before a commit group
with the specified number of applied rows has been formed, a smaller number of
rows are committed. In this case, you can increase the commit interval or decrease
the commit group size.
Minimum Setting0
refresh_commit_ block_size
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the number of records to be inserted into a target
table during a refresh operation before a commit is issued to make those records
persistent. If the tables that you are replicating are relatively large, it is
recommended that you increase the block size to improve performance.
Applies ToTarget
scraper_trans_ num_limit
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the number of row level entries that are staged in
memory before they are sent to the target. This parameter should be set to the
largest commitment cycle size on your server. Commitment cycle size is the
number of transactions in one commitment cycle. For example, the size of the
following commitment cycle is six:
insert into <table> <values>
insert into <table> <values>
insert into <table> <values>
insert into <table> <values>
insert into <table> <values>
commit
source_default_ commit_level
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 565
This system parameter indicates the commitment control level for transactions
mirrored from the source.
Default Setting0
target_default_commit_level
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter indicates the commitment control level for transactions
applied on the target.
Default Setting2
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
See also:
report_position_interval on page 567
This system parameter specifies how often, in seconds, the source informs the
target about its position in the current log during inactive periods. During inactive
periods, when there are no log entries pertaining to the current subscription, the
source informs the target of its current position so that the target can advance its
bookmarks accordingly. By specifying a low setting for this parameter, the target
can reflect more accurately how far replication has progressed. This system
parameter can also prevent the reprocessing of entries that do not apply to the
table currently being replicated.
See also:
refresh_del_fastload_file
dofastload on page 568
fastload_backup_path on page 569
fastload_in_whole on page 569
fastload_path on page 569
make_fastload_log_file on page 570
max_fastload_ file_size on page 570
refresh_del_fastload_file
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 567
This system parameter indicates whether or not Teradata FastLoad files are deleted
after using the utility to refresh data in a Teradata database under standard
replication. You can keep these files for future reference or delete them to increase
available disk space.
To refresh data in a Teradata database using the Teradata FastLoad utility, set
dofastload =Y. For more information about the Teradata FastLoad utility, see your
Teradata documentation.
Default SettingY
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
dofastload
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter enables or disables a Fast Bulk Copy (BCP) refresh.
Generally, a BCP refresh provides a better level of performance than a batch refresh
(see dobatch on page 575) or the standard row-by-row refresh.
Applies ToTarget, InfoSphere CDC for DB2 UDB and InfoSphere CDC for
Teradata
Default SettingN
fastload_backup_path
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the path to a stored backup image of the loaded
data for a BCP refresh. The database user that owns the InfoSphere CDC metadata
tables must have read and write permissions to the files whose locations are
identified by the fastload_pathand fastload_backup_path system parameters.
fastload_in_whole
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter indicates how data is transferred to the Teradata FastLoad
utility in order to refresh data in a Teradata database. Data can be refreshed in a
single bulk operation or incrementally. The size of each data file passed to the
Teradata FastLoad utility is determined by the max_fastload_ file_size on page
570 system parameter. For more information about the utility, see your Teradata
documentation.
Default SettingN
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
fastload_path
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 569
This system parameter identifies the path to the temporary file used for a Fast
Bulk Copy (BCP) refresh. During a BCP refresh, a copy image of the loaded data is
saved in this temporary file.
The database user that owns the InfoSphere CDC metadata tables must have read
and write permissions to the files whose locations are identified by the
fastload_path on page 569 and fastload_backup_path on page 569 system
parameters.
Applies ToSource and Target for InfoSphere CDC for DB2 UDB, Target only for
InfoSphere CDC for Teradata
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
make_fastload_log_file
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter indicates whether or not Teradata FastLoad log files are
created. Log files contain messages generated during refresh operations performed
by the Teradata FastLoad utility. You can create log files and examine their contents
to determine whether or not refresh operations were successful.
For more information about the Teradata FastLoad utility, see your Teradata
documentation.
Default SettingN
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
max_fastload_ file_size
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
See also:
monitor_sample_interval
monitor_sample_interval
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
Applies ToSource and Target for InfoSphere CDC for DB2 UDB, Target only for
InfoSphere CDC for Teradata
See also:
dm_lock_detection on page 572
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 571
dm_lock_timeout
dm_lock_detection
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter indicates whether or not table and row locking detection is
enabled. If a table or row has been locked by another process while InfoSphere
CDC attempts to modify that table or row, InfoSphere CDC waits for a specific
amount of time, specified by dm_lock_timeout, before attempting to apply data
again. InfoSphere CDC generates messages, which can be displayed in Event Log,
when an attempt is made to modify a locked target table or row. These messages
identify the specific table or row that could not be modified.
Applies ToSource and Target for InfoSphere CDC for DB2 UDB, Target only for
InfoSphere CDC for Teradata
Default SettingY
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
dm_lock_timeout
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
Applies ToSource and Target for InfoSphere CDC for DB2 UDB, Target only for
InfoSphere CDC for Teradata
Specifies the amount of time, in seconds, InfoSphere CDC waits for a locked table
or row to become available. This system parameter is applicable only when table
and row locking detection is enabled, using the dm_lock_detection system
parameter.
See also:
unicode_handling
unicode_handling
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter indicates the default method of treating data in defined
Unicode columns. For information about how data in each Unicode source column
is treated, see Replicating multibyte (MBCS) and double-byte (DBCS) character
data on page 163. For each InfoSphere CDC installation on a server, this system
parameter defines the system default method of treating data in Unicode columns.
If a Unicode column is set to System Default on the Encoding tab of the Mapping
Details view in Management Console, InfoSphere CDC uses the method for
processing Unicode columns that you select in this system parameter.
The following DB2 UDB data types are considered to be Unicode columns, and are
therefore affected by the value assigned to this system parameter:
v GRAPHIC
v VARGRAPHIC
v LONG VARGRAPHIC with code page 1200 (UCS-2 big endian)
Notes:
v NOCHANGE does not ensure that replicated non-single-byte character data in
Unicode columns are represented properly on the target. For replicated
non-single-byte character data, you may have to apply user exit programs or
other customization to properly represent data in Unicode columns. For more
information about user exit programs, see your InfoSphere CDC for DB2 UDB
documentation.
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 573
v If you are using IBM DB2 UDB Version 7 database, a BCP refresh locks the
replication data tablespace during loading. For this reason, metadata is not
updated during a BCP refresh if the metadata tables are located in the same
tablespace as the replicated data. For more information on how to avoid this
situation, see the appropriate InfoSphere CDC commands reference or user
manual.
Default SettingNOCHANGE
Note: NOCHANGE does not ensure that replicated non-single-byte character data
in Unicode columns are represented properly on the target. For replicated
non-single-byte character data, you many need to apply user exit programs or
other customization to properly represent the data in Unicode columns.
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
See also:
dm_status_interval
heartbeat_timeout on page 575
dm_status_interval
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter specifies how often, in seconds, progress messages are
issued. Progress messages are displayed in Event Log to provide detailed and
regular information about InfoSphere CDC replication activities.
On the source, these messages identify the current bookmark that was sent by the
source, its corresponding log name, and the subscription name to which the
bookmark was sent. On the target, progress messages identify the current
bookmark that was received by the target, its corresponding log name, and the
source ID from which the bookmark was received.
Applies ToSource and Target for InfoSphere CDC for DB2 UDB, Target only for
InfoSphere CDC for Teradata
heartbeat_timeout
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
See also:
dobatch
source_default_active_refresh on page 576
target_mirror_number_of_errors_before_abort on page 576
target_print_refresh_details on page 576
target_refresh_number_of_errors_before_abort on page 577
dobatch
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 575
Does Not Apply ToInfoSphere CDC for Teradata
Default SettingY
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
source_default_active_refresh
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
target_mirror_number_of_errors_before_abort
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter indicates how many errors to accept on the target before
stopping mirroring. To perform mirroring through any number of errors, set this
parameter to -1.
Applies ToTarget
Attention: If you set this parameter to values greater than 0, data inconsistencies
between the source and target tables may occur.
Default Setting0
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
target_print_refresh_details
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
target_refresh_number_of_errors_before_abort
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter indicates how many errors to accept on the target before
stopping a refresh. To perform refresh through any number of errors, set this
parameter to -1.
Applies ToTarget
Attention: Do not set this parameter to 0. This setting stops the refresh after the
first record has been successfully refreshed.
Default Setting1
See also:
message_handler_trace_level
message_trace_level
target_trace_logical_messages
target_trace_physical_messages on page 578
trace_level on page 578
trace_on on page 578
message_handler_trace_level
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
message_trace_level
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
target_trace_logical_messages
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 577
For information about setting this system parameter, see your IBM representative.
target_trace_physical_messages
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
trace_level
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
trace_on
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
See also:
tpump_arc_data_files
tpump_files_root_folder on page 579
tpump_logging on page 580
tpump_max_file_size on page 580
tpump_script_params_file on page 581
tpump_script_val_file on page 581
tpump_ timeout on page 582
tpump_arc_data_files
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter enables or disables the archiving of data (.dat) and script
(.script) files that are used by the Teradata TPump utility. InfoSphere CDC
generates the data and script files that are used by the Teradata TPump utility to
load data into Teradata databases. Data files contain the replicated data that is
loaded into Teradata, and script files specify what is contained in the data files and
how data is loaded. These files are named DM_<timestamp>.dat and
DM_<timestamp>.script, where <timestamp> is the number of milliseconds from
midnight on January 1, 1970 to the time when the file was created.
For more information about the Teradata TPump utility in InfoSphere CDC, see
your InfoSphere CDC for Teradata documentation.
Default SettingN
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
tpump_files_root_folder
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the main directory that is created to accommodate
all Teradata TPump files. This setting specifies where all Teradata TPump files are
located. Subdirectories under the main directory are labeled with the name of the
source ID that is used to receive replicated data. This means that for each source
ID, Teradata TPump files are maintained in a separate directory.
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 579
For more information about the Teradata TPump utility in InfoSphere CDC, see
your InfoSphere CDC for Teradata documentation.
tpump_logging
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter indicates whether or not Teradata TPump log files are
created. The tpump_files_root_folder on page 579system parameter specifies the
location of these files. Log files are named DM_<timestamp>.log, where <timestamp>
is the number of milliseconds from midnight on January 1, 1970 to the time when
the file was created.
For more information about the Teradata TPump utility in InfoSphere CDC, see
your InfoSphere CDC for Teradata documentation.
Default SettingY
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
tpump_max_file_size
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
This system parameter identifies the size, in bytes, that the data file (.dat) must
reach before the Teradata TPump utility loads data into a Teradata database. Data
files contain the replicated data that is loaded into Teradata. To optimize
performance, you should set this system parameter so that the amount of time it
takes for the Teradata TPump utility to load data into a Teradata database is
approximately equivalent to the time it takes for the data file to reach the specified
size. As a result, the next load operation can start shortly after the current load
operation has been completed. Therefore, if the amount of time to load data is
longer than the amount of time to fill the data file in preparation for the next load,
decrease the number of bytes assigned to this system parameter.
In addition to setting this system parameter, you must also set with the tpump_
timeout on page 582 system parameter to specify when the Teradata TPump
For information about where the data file is located, see tpump_files_root_folder
on page 579. For more information about the Teradata TPump utility in InfoSphere
CDC, see yourInfoSphere CDC for Teradata documentation.
tpump_script_params_file
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For information about setting this system parameter, see your IBM representative.
tpump_script_val_file
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
Identifies the name of the XML file that InfoSphere CDC uses to generate script
(.script) files during replication. Teradata TPump script files specify what is
contained in the data files and how data in these files is loaded into Teradata
databases. The file identified by this system parameter contains a set of Teradata
TPump command parameter settings. You can modify the settings in this file so
that the script files generated by InfoSphere CDC during replication are
customized for your working environment. For more information about
customizing the generated script files using the XML file identified by this system
parameter, see your InfoSphere CDC for Teradata documentation.
IBM recommends that you do not change the default setting for this system
parameter. Instead, modify the tpumpscripttsdefaults.xml file so that it contains
the command parameter settings that you want. If you want to specify a different
XML, this file must exist in the InfoSphere CDC installation directory and contain
the correct XML markup to generate valid script files.
Generally, the default values in the tpumpscripttsdefaults.xml file are suitable for
most working environments. If you want to modify the settings in this file, you
must be familiar with XML and Teradata TPump. For more information about
Teradata TPump commands and command parameters, see your Teradata
documentation.
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0 and earlier) 581
Default Settingtpumpscripttsdefaults.xml
Related concepts
System parameters for InfoSphere CDC for DB2 UDB and Teradata (version 6.0
and earlier) on page 555
Setting system parameters on source and target datastores on page 71
tpump_ timeout
VersionInfoSphere CDC for DB2 UDB and InfoSphere CDC for Teradata version
6.0 and earlier
For more information about the Teradata TPump utility in InfoSphere CDC, see
your InfoSphere CDC for Teradata documentation.
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Notes:
v If you make changes to a system parameter during active replication, you must
stop and restart InfoSphere CDC for the changes to take effect.
v When upgrading to a higher version of InfoSphere CDC, any preexisting settings
for system parameters are maintained.
See also:
mirror_auto_restart_interval_minutes
mirror_auto_restart_interval_minutes
VersionInfoSphere CDC for IBM DB2 UDB version 6.3 Fix Pack 3 TFE 9 and
later.
Use this parameter to indicate how long (in minutes) InfoSphere CDC will attempt
to automatically restart continuous mirroring for persistent subscriptions.
Applies ToSource
Default0
Minimum0
Maximum60
See also:
events_max_retain
global_conversion_not_possible_warning
global_shutdown_after_no_heartbeat_response_minutes
events_max_retain
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter to control the maximum number of events that
InfoSphere CDC will store in the event log. If InfoSphere CDC generates more
events than the specified maximum, then the earliest events will be deleted.
Default Setting10000
Minimum -1
Maximum2147483647
global_conversion_not_possible_warning
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter to control whether or not InfoSphere CDC generates a
warning in the Management Console Event Log in the following situations:
v Data conversion is not possible for a specific data value.
v Converted data types are encountered that are out of range.
Applies ToTarget
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) on
page 583
Setting system parameters on source and target datastores on page 71
global_shutdown_after_no_heartbeat_response_minutes
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Applies ToSource
See also:
mirror_interim_commit_threshold
refresh_commit_after_max_operations on page 586
mirror_interim_commit_threshold
VersionInfoSphere CDC for IBM DB2 UDB version 6.3 Fix Pack 3 and later.
In cases where large transactions are done on the source system, it can be more
efficient to break a large transaction into smaller transactions when applying data
to the target. You can configure this behavior using this system parameter.
The default value of 0 for this system parameter indicates that the product
guarantees transactional delivery of change data to the target. A value greater than
0 indicates that you want InfoSphere CDC to break up large transactions into
smaller transactions. For example, a value of 2000 indicates that InfoSphere CDC
will split up large source transactions so that each transaction committed to the
target database contains no more than 2000 operations.
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) 585
Applies ToTarget
Default Setting0
Minimum Setting0
refresh_commit_after_max_operations
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
This system parameter identifies the number of rows comprising each transaction
during refresh. To reduce the workload on the target database during refresh,
InfoSphere CDC periodically commits the changes to the target database rather
than performing the refresh as a single large transaction.
Applies ToTarget
Default Setting1000
Maximum Setting2147483647
Minimum Setting1
Related concepts
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) on
page 583
Setting system parameters on source and target datastores on page 71
See also:
global_unicode_as_char
global_unicode_as_char
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
This system parameter indicates the default method of treating data in defined
Unicode columns. For each InfoSphere CDC installation on a server, this system
parameter defines the system default method of treating data in Unicode columns.
If a Unicode column is set to System Default on the Encoding tab of the Mapping
Details view in Management Console, InfoSphere CDC uses the method for
processing Unicode columns that you select in this system parameter.
Note: Setting this parameter to false does not ensure that replicated
non-single-byte character data in Unicode columns are represented properly on
the target. For replicated non-single-byte character data, you may have to apply
user exit programs or other customizations to properly represent data in
Unicode columns. For more information about user exit programs, see the
InfoSphere CDC End-User Documentation for your platform.
Applies ToSource
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) on
page 583
Setting system parameters on source and target datastores on page 71
See also:
mirror_global_disk_quota_mb
mirror_global_disk_quota_gb on page 588
staging_store_can_run_independently on page 588
staging_store_disk_quota_gb on page 589
staging_store_disk_quota_mb on page 589
mirror_global_disk_quota_mb
VersionInfoSphere CDC for DB2 LUW version 6.3
Use this system parameter to globally set a disk quota (in MB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) 587
Applies ToSource and Target
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum100
mirror_global_disk_quota_gb
VersionInfoSphere CDC for DB2 LUW version 6.5
Use this system parameter to globally set a disk quota (in GB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum1
staging_store_can_run_independently
VersionInfoSphere CDC for DB2 LUW version 6.3 and later
Use this system parameter to determine if subscriptions will exclusively use the
InfoSphere CDC staging store to accumulate change data or if they will be allowed
to use independent log readers and log parsers to receive data directly from the
database logs.
If you change the value from true to false, you will need to clear the staging store
before beginning replication.
Applies ToSource
Default Settingtrue
staging_store_disk_quota_gb
VersionInfoSphere CDC for DB2 LUW version 6.5
Use this system parameter to specify the maximum amount of disk space that will
be utilized by the InfoSphere CDC staging store on your source system.
If you have enabled the Continuous Capture feature and you are accumulating
change data in your staging store when subscriptions are stopped, you should take
into consideration the additional disk utilization that this feature requires.
Applies ToSource
Default Setting100 GB
Maximum Setting2147483647 GB
Minimum Setting1 GB
staging_store_disk_quota_mb
VersionInfoSphere CDC for DB2 LUW version 6.1 to version 6.3
Use this system parameter to specify the maximum amount of disk space that will
be utilized by the InfoSphere CDC staging store on your source system.
If you have enabled the Continuous Capture feature and you are accumulating
change data in your staging store when subscriptions are stopped, you should take
into consideration the additional disk utilization that this feature requires.
Applies ToSource
Default Setting2147483647 MB
Maximum Setting2147483647 MB
Minimum Setting100 MB
See also:
convert_not_nullable_column on page 590
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) 589
convert_not_nullable_message
global_max_batch_size on page 591
mirror_end_on_error on page 591
mirror_expected_errors_list on page 592
refresh_end_on_error on page 592
refresh_expected_errors_list on page 592
refresh_loader_drop_index on page 593
refresh_with_referential_integrity on page 593
userexit_max_lob_size_kb on page 593
convert_not_nullable_column
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter to control how InfoSphere CDC behaves when it applies
a null value to a non-nullable column. When set to true (default value), the null
value will be replaced with a default value (based on the data type of the column)
and InfoSphere CDC will generate a warning in the event log. When set to false,
InfoSphere CDC applies the null value directly to the non-nullable column which
will result in an error and cause a shutdown of InfoSphere CDC on the target
database.
Note: If you decided to set this system parameter to false and have specified this
as an error for InfoSphere CDC to ignore using the mirror_expected_errors_list
system parameter, then InfoSphere CDC will ignore the error and not shutdown.
Default SettingTrue
convert_not_nullable_message
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Applies ToTarget
Default SettingTrue
global_max_batch_size
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter to specify the maximum number of rows that
InfoSphere CDC can place in an array and apply to the target database during
refresh or mirroring. InfoSphere CDC collects rows and places them in an array (in
memory) while receiving table-level operations from the source system. InfoSphere
CDC applies the rows from the array when there is a change to a different table,
when there is a new table-level operation, or when the maximum number of rows
in an array has been reached. You can use this parameter during mirroring only if
mirror_end_on_error is true and mirror_expected_errors_list is empty. Use only
during a refresh if refresh_end_on_error is true and refresh_expected_errors_list is
empty. Before InfoSphere CDC places rows into an array, it allocates memory for
the maximum number of rows you specify and multiplies this integer by the
maximum length of a row. If the maximum number of rows is too large, then
InfoSphere CDC cannot allocate enough memory and will shut down. Management
Console references this area to present replication latency information.
Applies ToTarget
mirror_end_on_error
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter to indicate if you want to end mirroring after an apply
error occurs on the target database.
Applies ToTarget
Default SettingTrue
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) 591
Related concepts
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) on
page 583
Setting system parameters on source and target datastores on page 71
mirror_expected_errors_list
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when applying data changes to the target during mirroring. The
error specified must correspond to the integer error code (database-vendor specific)
returned by the SQLException class in JDBC (Java Database Connectivity). Specify
multiple errors with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
refresh_end_on_error
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter to indicate if you want to end a refresh after an apply
error occurs.
Applies ToTarget
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) on
page 583
Setting system parameters on source and target datastores on page 71
refresh_expected_errors_list
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when refreshing data to the target. The error specified must
correspond to the integer error code (database-vendor specific) returned by the
SQLException class in JDBC (Java Database Connectivity). Specify multiple errors
with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
refresh_loader_drop_index
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
This system parameter indicates whether or not InfoSphere CDC will drop all
indexes on the tables being refreshed and then rebuild the indexes after the refresh.
In some environments, this may improve refresh performance.
If the refresh fails for any reason, InfoSphere CDC for DB2 LUW provides two
commands (dmviewrepairsql and dmrunrepairsql) that allow you to recover and
rebuild (or optionally clear) the index. You can also manually recreate all table
indexes.
Applies ToTarget
Default Settingfalse
refresh_with_referential_integrity
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter to indicate whether or not you want the data removed
from all the target tables being refreshed before repopulating any of them. This is
most useful when there are referential integrity constraints on the tables being
refreshed.
Applies ToSource
Default Settingfalse
userexit_max_lob_size_kb
VersionInfoSphere CDC for DB2 LUW version 6.1 and later
Use this system parameter to set the maximum size of LOB data (in kb) that
InfoSphere CDC can pass to a user exit.
System parameters for InfoSphere CDC for DB2 LUW (version 6.1 and later) 593
Applies ToTarget
Default Setting128 kb
Maximum9223372036854775807 kb
Minimum1 kb
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Notes:
v If you make changes to a system parameter during active replication, you must
stop and restart InfoSphere CDC for the changes to take effect.
v When upgrading to a higher version of InfoSphere CDC, any pre-existing
settings for system parameters are maintained.
See also:
events_max_retain
global_conversion_not_possible_warning on page 596
global_shutdown_after_no_heartbeat_response_minutes on page 596
events_max_retain
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter to control the maximum number of events that
InfoSphere CDC will store in the event log. If InfoSphere CDC generates more
events than the specified maximum, then the earliest events will be deleted.
Default Setting10000
Minimum -1
global_conversion_not_possible_warning
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter to control whether or not InfoSphere CDC generates a
warning in the Management Console Event Log in the following situations:
v Data conversion is not possible for a specific data value.
v Converted data types are encountered that are out of range.
Applies ToTarget
Default Settingfalse
global_shutdown_after_no_heartbeat_response_minutes
VersionInfoSphere CDC for Teradata version 6.2 and later
Applies ToSource
See also:
global_max_batch_size
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter to specify the maximum number of rows that
InfoSphere CDC can place in an array and apply to the target database during
mirroring. InfoSphere CDC collects rows and places them in an array (in memory)
while receiving table-level operations from the source system. InfoSphere CDC
applies the rows from the array when there is a change to a different table, when
there is a new table-level operation, or when the maximum number of rows in an
array has been reached. You can use this parameter during mirroring only if
mirror_end_on_error is true and mirror_expected_errors_list is empty. Before
InfoSphere CDC places rows into an array, it allocates memory for the maximum
number of rows you specify and multiplies this integer by the maximum length of
a row. If the maximum number of rows is too large, then InfoSphere CDC cannot
allocate enough memory and will shut down. Management Console references this
area to present replication latency information.
Applies ToTarget
Note: This parameter can only be used if mirror_td_apply_method has been set to
JDBC.
Related reference
mirror_td_apply_method on page 601
mirror_interim_commit_threshold
VersionInfoSphere CDC for Teradata version 6.3 Fix Pack 3 and later.
In cases where large transactions are done on the source system, it can be more
efficient to break a large transaction into smaller transactions when applying data
to the target. You can configure this behavior using this system parameter.
The default value of 0 for this system parameter indicates that the product
guarantees transactional delivery of change data to the target. A value greater than
0 indicates that you want InfoSphere CDC to break up large transactions into
smaller transactions. For example, a value of 2000 indicates that InfoSphere CDC
will split up large source transactions so that each transaction committed to the
target database contains no more than 2000 operations.
Applies ToTarget
System parameters for InfoSphere CDC for Teradata (version 6.2 and later) 597
Default Setting0
Minimum Setting0
See also:
mirror_global_disk_quota_mb
mirror_global_disk_quota_gb
mirror_global_disk_quota_mb
VersionInfoSphere CDC for Teradata version 6.3
Use this system parameter to globally set a disk quota (in MB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum100
mirror_global_disk_quota_gb
VersionInfoSphere CDC for Teradata version 6.5
Use this system parameter to globally set a disk quota (in GB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum1
See also:
convert_not_nullable_column
convert_not_nullable_message on page 600
mirror_end_on_error on page 600
mirror_expected_errors_list on page 601
mirror_td_apply_method on page 601
refresh_end_on_error on page 602
refresh_expected_errors_list on page 602
trim_char_to_varchar on page 602
trim_varchar_to_varchar on page 603
userexit_max_lob_size_kb on page 603
convert_not_nullable_column
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter to control how InfoSphere CDC behaves when it applies
a null value to a non-nullable column. When set to true (default value), the null
value will be replaced with a default value (based on the data type of the column)
and InfoSphere CDC will generate a warning in the event log. When set to false,
InfoSphere CDC applies the null value directly to the non-nullable column which
will result in an error and cause a shutdown of InfoSphere CDC on the target
database.
Note: If you decided to set this system parameter to false and have specified this
as an error for InfoSphere CDC to ignore using the mirror_expected_errors_list
system parameter, then InfoSphere CDC will ignore the error and not shutdown.
System parameters for InfoSphere CDC for Teradata (version 6.2 and later) 599
Set this parameter to one of the following:
v trueNull value will be replaced with default value for non-nullable column,
and a warning event will be logged.
v falseNull data will be applied as-is to non-nullable column and database will
usually return an error code.
Default SettingTrue
convert_not_nullable_message
VersionInfoSphere CDC for Teradata version 6.2 and later
Applies ToTarget
Default SettingTrue
mirror_end_on_error
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter to indicate if you want to end mirroring after an apply
error occurs on the target database.
Applies ToTarget
Default SettingTrue
Note: This parameter can only be used if mirror_td_apply_method has been set to
JDBC.
mirror_expected_errors_list
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when applying data changes to the target during mirroring. The
error specified must correspond to the integer error code (database-vendor specific)
returned by the SQLException class in JDBC (Java Database Connectivity). Specify
multiple errors with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
Note: You can only use this parameter if mirror_td_apply_method has been set to
JDBC.
Related reference
mirror_td_apply_method
refresh_expected_errors_list on page 602
mirror_td_apply_method
VersionInfoSphere CDC for Teradata version 6.2 and later
The default configuration InfoSphere CDC for Teradata uses batches of TPump
scripts to replicate the mirroring changes to the target Teradata database. In order
to realize the full potential of TPump, relatively large time windows must be set
for batches, which could result in higher latency. InfoSphere CDC for Teradata can
be configured to use JDBC instead of TPump. Use this system parameter to choose
the JDBC method for mirroring.
The value for this parameter will be applied to all existing and subsequent
subscriptions in the instance. Existing subscriptions will need to be restarted for
this change to take effect.
Notes:
v To avoid confusion, use only one type of mirroring method for all subscriptions
in a given InfoSphere CDC instance.
v Teradata JDBC driver version 13.00.00.04 or later is required for JDBC support.
System parameters for InfoSphere CDC for Teradata (version 6.2 and later) 601
Default SettingTPUMP
Related reference
global_max_batch_size on page 597
mirror_expected_errors_list on page 601
refresh_expected_errors_list
mirror_end_on_error on page 600
refresh_end_on_error
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter to indicate if you want to end a refresh after an apply
error occurs.
Applies ToTarget
Default SettingTrue
refresh_expected_errors_list
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when refreshing data to the target. The error specified must
correspond to the integer error code (database-vendor specific) returned by the
SQLException class in JDBC (Java Database Connectivity). Specify multiple errors
with a comma separated list of integer error codes.
For example, if you want InfoSphere CDC to continue refresh when it encounters
error codes 5407 and 3706 in your Teradata target database, set this parameter to
mirror_expected_errors_list=5407,3706.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
Note: You can only use this parameter if mirror_td_apply_method has been set to
JDBC.
Related reference
mirror_td_apply_method on page 601
mirror_expected_errors_list on page 601
trim_char_to_varchar
VersionInfoSphere CDC for Teradata version 6.2 and later
Applies ToTarget
Default Settingfalse
trim_varchar_to_varchar
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
userexit_max_lob_size_kb
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter to set the maximum size of LOB data (in kb) that
InfoSphere CDC can pass to a user exit.
Applies ToTarget
Default Setting128 kb
Maximum9223372036854775807 kb
Minimum1 kb
See also:
mirror_tpump_files_root_folder_path on page 604
mirror_tpump_max_file_size_mb on page 604
mirror_tpump_script_val_file_name on page 605
mirror_tpump_timeout_seconds on page 606
mirror_tpump_update_on_key_column on page 606
System parameters for InfoSphere CDC for Teradata (version 6.2 and later) 603
mirror_tpump_files_root_folder_path
VersionInfoSphere CDC for Teradata version 6.2 and later
Identifies the main directory that is created to accommodate all Teradata TPump
files.
This setting specifies where all Teradata TPump files are located. Subdirectories
under the main directory are labeled with the name of the publisher identifier that
is used to receive replicated data. This means that for each publisher identifier,
Teradata TPump files are maintained in a separate directory.
Applies ToTarget
mirror_tpump_max_file_size_mb
VersionInfoSphere CDC for Teradata version 6.2 and later
Data files contain the replicated data that is loaded into Teradata. To optimize
performance, you should set this system parameter so that the amount of time it
takes for the Teradata TPump utility to load data into a Teradata database is
approximately equivalent to the time it takes for the data file to reach the specified
size. As a result, the next load operation can start shortly after the current load
operation has been completed. Therefore, if the amount of time to load data is
longer than the amount of time to fill the data file in preparation for the next load,
decrease the number of bytes assigned to this system parameter.
In addition to working with this system parameter, you must also work with the
tpump_ timeout on page 582 system parameter to specify when the Teradata
TPump utility loads data into a Teradata database. If the timeout period frequently
expires before the data file reaches its specified size, you can increase the timeout
period or decrease the data file size to allow loads to also be determined by data
file size. However, when a data file contains an insufficient amount of data for a
load to be performed, the timeout period must be set to ensure data is loaded
within a reasonable period of time.
Default Setting50 Mb
mirror_tpump_script_val_file_name
VersionInfoSphere CDC for Teradata version 6.2 and later
Identifies the name of the XML file that InfoSphere CDC uses to generate script
(.script) files during replication.
Teradata TPump script files specify what is contained in the data files and how
data in these files is loaded into Teradata databases. The file identified by this
system parameter contains a set of Teradata TPump command parameter settings.
You can modify the settings in this file so that the script files generated by
InfoSphere CDC during replication are customized for your working environment.
For more information about customizing the generated script files using the XML
file identified by this system parameter, see your InfoSphere CDC for Teradata
documentation.
IBM recommends that you do not change the default setting for this system
parameter. Instead, modify the tpumpscripttsdefaults.xml file so that it contains
the desired command parameter settings. If you want to specify a different XML,
this file must exist in the InfoSphere CDC installation directory and contain the
correct XML markup to generate valid script files.
Generally, the default values in the tpumpscripttsdefaults.xml file are suitable for
most working environments. If you want to modify the settings in
tpumpscripttsdefaults.xml, you must be familiar with XML and Teradata TPump.
For more information about Teradata TPump commands and command
parameters, see your Teradata documentation.
System parameters for InfoSphere CDC for Teradata (version 6.2 and later) 605
mirror_tpump_timeout_seconds
VersionInfoSphere CDC for Teradata version 6.2 and later
You can use this system parameter to force data to be loaded when the data file
(see tpump_max_file_size on page 580) contains insufficient data for a load to be
performed. It can be used to prevent data in a data file from not being loaded for a
long period of time. In particular, you can use this system parameter to force loads
during periods of slow transaction activity. However, if you set the timeout period
so that it frequently expires before a data file can reach the specified size, a smaller
amount of data is loaded. In this case, you can increase the timeout period or
decrease the data file size to allow loads to also be determined by data file size.
mirror_tpump_update_on_key_column
VersionInfoSphere CDC for Teradata version 6.2 and later
Use this system parameter to improve performance in the TPump apply process by
not including key columns in the update statements in the TPump scripts.
This parameter should only be used when you are sure that no key changes will
occur in the source data stream.
Default Settingtrue
See also:
refresh_max_fastload_file_size_mb
refresh_max_fastload_file_size_mb
VersionInfoSphere CDC for Teradata version 6.2 and later
Identifies the size, in megabytes, that the data file must reach before the Teradata
FastLoad utility refreshes data in a Teradata database.
Default Setting100 mb
Minimum1 mb
System parameters for InfoSphere CDC for Teradata (version 6.2 and later) 607
608 InfoSphere Change Data Capture Management Console: Administration Guide
System parameters for InfoSphere CDC Event Server
System parameters let you control the behavior of InfoSphere CDC Event Server. If
your replication environment requires a particular configuration, then you can use
system parameters to modify the behavior of default operations in InfoSphere CDC
Event Server. The default system parameter settings are appropriate for most
installations. Maintain these default settings until you become familiar with the
configuration of InfoSphere CDC Event Server.
InfoSphere CDC Event Server provides system parameters that control the
behavior of your target datastores.
If you make changes to a system parameter during active replication, you must
stop and restart InfoSphere CDC Event Server for the changes to take effect.
See also:
events_max_retain
global_conversion_not_possible_warning
events_max_retain
VersionInfoSphere CDC Event Server version 6.3 and later
Use this system parameter to control the maximum number of events that
InfoSphere CDC will store in the event log. If InfoSphere CDC generates more
events than the specified maximum, then the earliest events will be deleted.
Default Setting10000
Minimum -1
Maximum2147483647
global_conversion_not_possible_warning
VersionInfoSphere CDC Event Server version 6.3 and later
Applies ToTarget
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC Event Server on page 609
See also:
convert_not_nullable_column
convert_not_nullable_message on page 611
mirror_commit_on_transaction_boundary on page 611
mirror_end_on_error on page 612
mirror_expected_errors_list on page 612
mirror_interim_commit_threshold on page 612
refresh_end_on_error on page 613
refresh_expected_errors_list on page 613
userexit_max_lob_size_kb on page 613
convert_not_nullable_column
VersionInfoSphere CDC Event Server version 6.3 and later
Use this system parameter to control how InfoSphere CDC behaves when it applies
a null value to a non-nullable column. When set to true (default value), the null
value will be replaced with a default value (based on the data type of the column)
and InfoSphere CDC will generate a warning in the event log. When set to false,
InfoSphere CDC applies the null value directly to the non-nullable column which
will result in an error and cause a shutdown of InfoSphere CDC on the target
database.
Note: If you decided to set this system parameter to false and have specified this
as an error for InfoSphere CDC to ignore using the mirror_expected_errors_list
system parameter, then InfoSphere CDC will ignore the error and not shutdown.
Default SettingTrue
convert_not_nullable_message
VersionInfoSphere CDC Event Server version 6.3 and later
Applies ToTarget
Default SettingTrue
mirror_commit_on_transaction_boundary
VersionInfoSphere CDC Event Server version 6.3 and later
This system parameter indicates whether or not the commits that InfoSphere CDC
does on the target will always correspond with a commit that occurred on the
source database. If you choose to ignore the commitment control of the source
database, InfoSphere CDC allows you to see the partial results of large
transactions.
Applies ToTarget
Default SettingFalse
Use this system parameter to indicate if you want to end mirroring after an apply
error occurs on the target database.
Applies ToTarget
Default SettingTrue
mirror_expected_errors_list
VersionInfoSphere CDC Event Server version 6.3 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when applying data changes to the target during mirroring. The
error specified must correspond to the integer error code (database-vendor specific)
returned by the SQLException class in JDBC (Java Database Connectivity). Specify
multiple errors with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
mirror_interim_commit_threshold
VersionInfoSphere CDC for Event Server version 6.3 Fix Pack 3 and later.
In cases where large transactions are done on the source system, it can be more
efficient to break a large transaction into smaller transactions when applying data
to the target. You can configure this behavior using this system parameter.
The default value of 0 for this system parameter indicates that the product
guarantees transactional delivery of change data to the target. A value greater than
0 indicates that you want InfoSphere CDC to break up large transactions into
smaller transactions. For example, a value of 2000 indicates that InfoSphere CDC
will split up large source transactions so that each transaction committed to the
target database contains no more than 2000 operations.
Applies ToTarget
Default Setting0
refresh_end_on_error
VersionInfoSphere CDC Event Server version 6.3 and later
Use this system parameter to indicate if you want to end a refresh after an apply
error occurs.
Applies ToTarget
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC Event Server on page 609
Setting system parameters on source and target datastores on page 71
refresh_expected_errors_list
VersionInfoSphere CDC Event Server version 6.3 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when refreshing data to the target. The error specified must
correspond to the integer error code (database-vendor specific) returned by the
SQLException class in JDBC (Java Database Connectivity). Specify multiple errors
with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
userexit_max_lob_size_kb
VersionInfoSphere CDC Event Server version 6.3 and later
Use this system parameter to set the maximum size of LOB data (in kb) that
InfoSphere CDC can pass to a user exit.
Applies ToTarget
Default Setting128 kb
Maximum9223372036854775807 kb
Minimum1 kb
See also:
mirror_global_disk_quota_mb
mirror_global_disk_quota_gb
mirror_global_disk_quota_mb
VersionInfoSphere CDC Event Server version 6.3
Use this system parameter to globally set a disk quota (in MB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum100
mirror_global_disk_quota_gb
VersionInfoSphere CDC Event Server version 6.5
Use this system parameter to globally set a disk quota (in GB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum1
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Notes:
1. If you make changes to a system parameter during active replication, you must
stop and restart InfoSphere CDC for the changes to take effect.
2. When upgrading to a later version of InfoSphere CDC, any preexisting settings
for system parameters are maintained.
See also:
events_max_retain
global_conversion_not_possible_warning on page 618
global_shutdown_after_no_heartbeat_response_minutes on page 618
events_max_retain
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Use this system parameter to control the maximum number of events that
InfoSphere CDC will store in the event log. If InfoSphere CDC generates more
events than the specified maximum, then the earliest events will be deleted.
Default Setting10000
Minimum -1
Maximum2147483647
Use this system parameter to control whether or not InfoSphere CDC generates a
warning in the Management Console Event Log in the following situations:
v Data conversion is not possible for a specific data value.
v Converted data types are encountered that are out of range.
Applies ToTarget
Default Settingfalse
Related concepts
System parameters for InfoSphere CDC for IBM InfoSphere DataStage on page
617
global_shutdown_after_no_heartbeat_response_minutes
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Applies ToSource
See also:
mirror_global_disk_quota_mb on page 619
mirror_global_disk_quota_gb on page 619
Use this system parameter to globally set a disk quota (in MB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum100
mirror_global_disk_quota_gb
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.5
Use this system parameter to globally set a disk quota (in GB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
System parameters for InfoSphere CDC for IBM InfoSphere DataStage 619
Maximum9223372036854775807
Minimum1
See also:
convert_not_nullable_column
convert_not_nullable_message
mirror_end_on_error on page 621
mirror_expected_errors_list on page 621
mirror_interim_commit_threshold on page 622
refresh_end_on_error on page 622
refresh_expected_errors_list on page 622
refresh_with_referential_integrity on page 623
trim_char_to_varchar on page 623
trim_varchar_to_varchar on page 623
convert_not_nullable_column
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Use this system parameter to control how InfoSphere CDC behaves when it applies
a null value to a non-nullable column. When set to true (default value), the null
value will be replaced with a default value (based on the data type of the column)
and InfoSphere CDC will generate a warning in the event log. When set to false,
InfoSphere CDC applies the null value directly to the non-nullable column which
will result in an error and cause a shutdown of InfoSphere CDC on the target
database.
Note: If you decided to set this system parameter to false and have specified this
as an error for InfoSphere CDC to ignore using the mirror_expected_errors_list
system parameter, then InfoSphere CDC will ignore the error and not shutdown.
Default SettingTrue
convert_not_nullable_message
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Applies ToTarget
Default SettingTrue
mirror_end_on_error
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Use this system parameter to indicate if you want to end mirroring after an apply
error occurs on the target database.
Applies ToTarget
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC for IBM InfoSphere DataStage on page
617
mirror_expected_errors_list
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when applying data changes to the target during mirroring. The
error specified must correspond to the integer error code (database-vendor specific)
returned by the SQLException class in JDBC (Java Database Connectivity). Specify
multiple errors with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
System parameters for InfoSphere CDC for IBM InfoSphere DataStage 621
mirror_interim_commit_threshold
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 Fix Pack 3
and later.
In cases where large transactions are done on the source system, it can be more
efficient to break a large transaction into smaller transactions when applying data
to the target. You can configure this behavior using this system parameter.
The default value of 0 for this system parameter indicates that the product
guarantees transactional delivery of change data to the target. A value greater than
0 indicates that you want InfoSphere CDC to break up large transactions into
smaller transactions. For example, a value of 2000 indicates that InfoSphere CDC
will split up large source transactions so that each transaction committed to the
target database contains no more than 2000 operations.
Applies ToTarget
Default Setting0
Minimum Setting0
refresh_end_on_error
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Use this system parameter to indicate if you want to end a refresh after an apply
error occurs.
Applies ToTarget
Default SettingTrue
Related concepts
System parameters for InfoSphere CDC for IBM InfoSphere DataStage on page
617
refresh_expected_errors_list
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when refreshing data to the target. The error specified must
correspond to the integer error code (database-vendor specific) returned by the
SQLException class in JDBC (Java Database Connectivity). Specify multiple errors
with a comma separated list of integer error codes.
Applies ToTarget
refresh_with_referential_integrity
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Use this system parameter to indicate whether or not you want the data removed
from all the target tables being refreshed before repopulating any of them. This is
most useful when there are referential integrity constraints on the tables being
refreshed.
Applies ToSource
Default Settingfalse
trim_char_to_varchar
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
trim_varchar_to_varchar
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
System parameters for InfoSphere CDC for IBM InfoSphere DataStage 623
Default Settingfalse
See also:
userexit_max_lob_size_kb
userexit_max_lob_size_kb
VersionInfoSphere CDC for IBM InfoSphere DataStage version 6.3 and later.
This system parameter determines when InfoSphere CDC truncates LOB data and
is related to the InfoSphere DataStage subscription-level properties that you can set
for each subscription in Management Console. InfoSphere CDC first truncates your
LOB data based on this system parameter and then truncates your data again
using the subscription-level properties. For more information on how to set the
subscription-level properties, see Setting properties for a subscription that targets
InfoSphere DataStage on page 131.
Default Setting128 kB
Applies ToTarget
InfoSphere CDC provides system parameters that control the behavior of your
source and target datastores.
Notes:
1. If you make changes to a system parameter during active replication, you must
stop and restart InfoSphere CDC for the changes to take effect.
2. When upgrading to a later version of InfoSphere CDC, any preexisting settings
for system parameters are maintained.
See also:
mirror_auto_restart_interval_minutes
mirror_auto_restart_interval_minutes
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 Fix Pack 3
TFE 9 and later.
Use this parameter to indicate how long (in minutes) InfoSphere CDC will attempt
to automatically restart continuous mirroring for persistent subscriptions.
Applies ToSource
Default0
Minimum0
Maximum60
See also:
events_max_retain
global_conversion_not_possible_warning
global_shutdown_after_no_heartbeat_response_minutes
events_max_retain
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to control the maximum number of events that
InfoSphere CDC will store in the event log. If InfoSphere CDC generates more
events than the specified maximum, then the earliest events will be deleted.
Default Setting10000
Minimum -1
Maximum2147483647
global_conversion_not_possible_warning
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to control whether or not InfoSphere CDC generates a
warning in the Management Console Event Log in the following situations:
v Data conversion is not possible for a specific data value.
v Converted data types are encountered that are out of range.
Applies ToTarget
Default Settingfalse
global_shutdown_after_no_heartbeat_response_minutes
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
See also:
mirror_interim_commit_threshold
refresh_commit_after_max_operations on page 628
mirror_interim_commit_threshold
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 Fix Pack 3
and later.
In cases where large transactions are done on the source system, it can be more
efficient to break a large transaction into smaller transactions when applying data
to the target. You can configure this behavior using this system parameter.
The default value of 0 for this system parameter indicates that the product
guarantees transactional delivery of change data to the target. A value greater than
0 indicates that you want InfoSphere CDC to break up large transactions into
smaller transactions. For example, a value of 2000 indicates that InfoSphere CDC
will split up large source transactions so that each transaction committed to the
target database contains no more than 2000 operations.
Applies ToTarget
Default Setting0
Minimum Setting0
System parameters for InfoSphere CDC for IBM Informix Dynamic Server 627
refresh_commit_after_max_operations
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
This system parameter identifies the number of rows comprising each transaction
during refresh. To reduce the workload on the target database during refresh,
InfoSphere CDC periodically commits the changes to the target database rather
than performing the refresh as a single large transaction.
Applies ToTarget
Default Setting1000
Maximum Setting2147483647
Minimum Setting1
See also:
global_unicode_as_char
global_unicode_as_char
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
This system parameter indicates the default method of treating data in defined
Unicode columns. For each InfoSphere CDC installation on a server, this system
parameter defines the system default method of treating data in Unicode columns.
If a Unicode column is set to System Default on the Encoding tab of the Mapping
Details view in Management Console, InfoSphere CDC uses the method for
processing Unicode columns that you select in this system parameter.
Note: Setting this parameter to false does not ensure that replicated
non-single-byte character data in Unicode columns are represented properly on
the target. For replicated non-single-byte character data, you may have to apply
user exit programs or other customizations to properly represent data in
Unicode columns. For more information about user exit programs, see the
InfoSphere CDC End-User Documentation for your platform.
Default Settingfalse
For information about how data in each Unicode source column is treated and
setting multibyte and Unicode character set conversions, see Replicating multibyte
(MBCS) and double-byte (DBCS) character data on page 163.
See also:
mirror_global_disk_quota_mb
mirror_global_disk_quota_gb
mirror_global_disk_quota_mb
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3
Use this system parameter to globally set a disk quota (in MB) for all capture
components including temporary files, transaction queues, and LOBs which are
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum100
mirror_global_disk_quota_gb
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.5
Use this system parameter to globally set a disk quota (in GB) for all capture
components including temporary files, transaction queues, and LOBs which are
System parameters for InfoSphere CDC for IBM Informix Dynamic Server 629
staged on the target before being applied. InfoSphere CDC will manage disk space
utilization across all components as required.
Most databases have a mechanism that allows you to roll back or undo changes to
your database by storing uncommitted changes. Similarly, InfoSphere CDC uses
the disk quota controlled by this system parameter to store in scope change data
that has not been committed in your database. Once the database transaction is
committed, the disk space used by the transaction is released. Note that InfoSphere
CDC stores the data in memory to improve performance and will only persist the
data to disk if memory is unavailable.
The default setting of this system parameter is such that the product will only stop
replicating after this disk quota exhausts all available disk space on your system. If
you would prefer the product to stop replicating after it uses a specific amount of
disk space, you can set the value with this system parameter.
Default Setting9223372036854775807
Maximum9223372036854775807
Minimum1
See also:
convert_not_nullable_column
convert_not_nullable_message on page 631
global_max_batch_size on page 631
mirror_end_on_error on page 632
mirror_expected_errors_list on page 632
refresh_end_on_error on page 632
refresh_expected_errors_list on page 633
refresh_with_referential_integrity on page 633
trim_char_to_varchar on page 633
trim_varchar_to_varchar on page 634
userexit_max_lob_size_kb on page 634
convert_not_nullable_column
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to control how InfoSphere CDC behaves when it applies
a null value to a non-nullable column. When set to true (default value), the null
value will be replaced with a default value (based on the data type of the column)
and InfoSphere CDC will generate a warning in the event log. When set to false,
InfoSphere CDC applies the null value directly to the non-nullable column which
will result in an error and cause a shutdown of InfoSphere CDC on the target
database.
Default SettingTrue
convert_not_nullable_message
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Applies ToTarget
Default SettingTrue
global_max_batch_size
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to specify the maximum number of rows that
InfoSphere CDC can place in an array and apply to the target database during
refresh or mirroring. InfoSphere CDC collects rows and places them in an array (in
memory) while receiving table-level operations from the source system. InfoSphere
CDC applies the rows from the array when there is a change to a different table,
when there is a new table-level operation, or when the maximum number of rows
in an array has been reached. You can use this parameter during mirroring only if
mirror_end_on_error is true and mirror_expected_errors_list is empty. Use only
during a refresh if refresh_end_on_error is true and refresh_expected_errors_list is
empty. Before InfoSphere CDC places rows into an array, it allocates memory for
the maximum number of rows you specify and multiplies this integer by the
maximum length of a row. If the maximum number of rows is too large, then
System parameters for InfoSphere CDC for IBM Informix Dynamic Server 631
InfoSphere CDC cannot allocate enough memory and will shut down. Management
Console references this area to present replication latency information.
Applies ToTarget
mirror_end_on_error
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to indicate if you want to end mirroring after an apply
error occurs on the target database.
Applies ToTarget
Default SettingTrue
mirror_expected_errors_list
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when applying data changes to the target during mirroring. The
error specified must correspond to the integer error code (database-vendor specific)
returned by the SQLException class in JDBC (Java Database Connectivity). Specify
multiple errors with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
refresh_end_on_error
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to indicate if you want to end a refresh after an apply
error occurs.
Applies ToTarget
refresh_expected_errors_list
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter when you want InfoSphere CDC to ignore one or more
database errors when refreshing data to the target. The error specified must
correspond to the integer error code (database-vendor specific) returned by the
SQLException class in JDBC (Java Database Connectivity). Specify multiple errors
with a comma separated list of integer error codes.
Note: Latency may increase when using this system parameter since InfoSphere
CDC will not use JDBC array apply in order to track the errors specified.
Applies ToTarget
refresh_with_referential_integrity
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to indicate whether or not you want the data removed
from all the target tables being refreshed before repopulating any of them. This is
most useful when there are referential integrity constraints on the tables being
refreshed.
Applies ToSource
Default Settingfalse
trim_char_to_varchar
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
System parameters for InfoSphere CDC for IBM Informix Dynamic Server 633
trim_varchar_to_varchar
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to specify whether or not InfoSphere CDC should strip
or leave trailing blanks on string data of the column in the target table.
Applies ToTarget
Default Settingfalse
userexit_max_lob_size_kb
VersionInfoSphere CDC for IBM Informix Dynamic Server version 6.3 and later
Use this system parameter to set the maximum size of LOB data (in kb) that
InfoSphere CDC can pass to a user exit.
Applies ToTarget
Default Setting128 kb
Maximum9223372036854775807 kb
Minimum1 kb
Datastore commands
This section contains commands that help you create and manage your datastores.
See also:
dmchangeconnectionpasswordChanging the connection parameters to a
datastore
dmcreatedatastoreAdding a datastore on page 636
dmdeleteconnectionDeleting a datastore connection on page 637
dmdeletedatastoreDeleting a datastore on page 638
dmlistuserdatastoresGenerating a report list of datastores assigned to a user
on page 639
Syntax
DMCHANGECONNECTIONPASSWORD userName datastoreName database databaseOwner
databasePassword [-accessserver hostname port adminuser adminpassword]
Parameters
userName
Specifies the name of the user for which you want to create a connection.
datastoreName
Specifies the name of the datastore you want the user to connect to.
dmcreatedatastoreAdding a datastore
Use this command to add a new datastore. Adding a datastore in Management
Console means that you are in the process of making an installation of InfoSphere
CDC and the database you want users to replicate to or from available for
connection by other users. When adding a datastore, you must specify information
about where your installation of InfoSphere CDC resides.
Syntax
DMCREATEDATASTORE datastoreName description hostname port
[-accessserver hostname port adminuser adminpassword]
Parameters
datastoreName
Specifies the name of the datastore you want to add.
description
Specifies a brief description about this datastore.
Syntax
DMDELETECONNECTION userName datastoreName
[-accessserver hostname port adminuser adminpassword]
Parameters
username
Specifies the unique name of the user you want to delete the connection for.
datastoreName
Specifies the name of the datastore you want to delete the connection for.
-accessserver hostname port adminuser adminpassword
These parameters are optional and indicate that you want to run this
command for an installation of Access Server that is physically remote from
the Access Server installation where you are running this command. In other
words, you must install Access Server and run this command on a system to
which you have direct physical access. If you have installed Access Server on
the same machine as Management Console, then these parameters are not
required.
dmdeletedatastoreDeleting a datastore
Use this command to delete a datastore.
Syntax
DMDELETEDATASTORE datastoreName
[-accessserver hostname port adminuser adminpassword]
Parameters
datastoreName
Specifies the name of the datastore you want to delete.
-accessserver hostname port adminuser adminpassword
These parameters are optional and indicate that you want to run this
command for an installation of Access Server that is physically remote from
the Access Server installation where you are running this command. In other
words, you must install Access Server and run this command on a system to
which you have direct physical access. If you have installed Access Server on
the same machine as Management Console, then these parameters are not
required.
-accessserver
Specify -accessserver. This parameter indicates that you want to connect
to a remote installation of Access Server.
hostname
The fully qualified host name of the remote system where Access Server is
installed.
port
The port number of the remote system where Access Server is installed.
adminuser
A user with SYSADMIN privileges (see role parameter in the
dmcreateuser command) and the ability to manage users and datastores
(see manager parameter in the dmcreateuser command).
adminpassword
The password for the specified SYSADMIN user.
Syntax
DMLISTUSERDATASTORES username [-accessserver hostname port adminuser adminpassword]
Parameters
username
Specifies the name of the user you want to generate a list for. This list specifies
the datastores assigned to this user.
-accessserver hostname port adminuser adminpassword
These parameters are optional and indicate that you want to run this
command for an installation of Access Server that is physically remote from
the Access Server installation where you are running this command. In other
words, you must install Access Server and run this command on a system to
which you have direct physical access. If you have installed Access Server on
the same machine as Management Console, then these parameters are not
required.
-accessserver
Specify -accessserver. This parameter indicates that you want to connect
to a remote installation of Access Server.
hostname
The fully qualified host name of the remote system where Access Server is
installed.
port
The port number of the remote system where Access Server is installed.
adminuser
A user with SYSADMIN privileges (see role parameter in the
dmcreateuser command) and the ability to manage users and datastores
(see manager parameter in the dmcreateuser command).
adminpassword
The password for the specified SYSADMIN user.
See also:
dmchangeuserpasswordChanging the password on a user account on page
640
dmcreateuserAdding a user account on page 640
dmdeleteuserDeleting a user on page 642
dmdisableuserDisabling a user account on page 643
dmenableuserEnabling a user on page 643
dmlistusersListing user accounts on page 644
dmresetuserResetting a user account on page 646
Syntax
DMCHANGEUSERPASSWORD username password
[-accessserver hostname port adminuser adminpassword]
Parameters
userName
Specifies the name of the user that you are changing the password for.
password
Specifies the password you want the user to supply when logging into
Management Console. If you have enabled complex passwords, then you must
specify a password that meets the requirements.
-accessserver hostname port adminuser adminpassword
These parameters are optional and indicate that you want to run this
command for an installation of Access Server that is physically remote from
the Access Server installation where you are running this command. In other
words, you must install Access Server and run this command on a system to
which you have direct physical access. If you have installed Access Server on
the same machine as Management Console, then these parameters are not
required.
-accessserver
Specify -accessserver. This parameter indicates that you want to connect
to a remote installation of Access Server.
hostname
The fully qualified host name of the remote system where Access Server is
installed.
port
The port number of the remote system where Access Server is installed.
adminuser
A user with SYSADMIN privileges (see role parameter in the
dmcreateuser command) and the ability to manage users and datastores
(see manager parameter in the dmcreateuser command).
adminpassword
The password for the specified SYSADMIN user.
Parameters
username
Specifies the unique name for the user you want to create an account for.
fullname
Specifies the full name of the user.
description
Specifies a description about the user.
password
Specifies the password you want the user to supply when logging into
Management Console. If you have enabled complex passwords, then you must
specify a password that meets the requirements.
role
Specifies the role you want to assign to the user. Enable one of the following
values:
v SYSADMINSpecifies that a user assigned to this role is working in a
System Administrator account and can perform all available operations in
Management Console. Only users that require full operational access to the
Monitoring and Configuration perspectives should be assigned to this role.
System Administrators can also modify system parameters to calibrate their
replication environment.
v ADMINSpecifies that a user assigned to this role is working in an
Administrator account and can perform all available operations in
Management Console, but cannot modify system parameters. Users assigned
to this role can access both the Monitoring and Configuration perspectives.
v OPERATORSpecifies a that user assigned to this role is working in an
Operator account and has access to both the Monitoring and Configuration
perspectives. Operators can add, import and export projects, but they cannot
create new subscriptions. Users assigned to the Operator role can start, stop,
and monitor replication activities. They can also view the tables selected for
refresh and start a refresh on a subscription. Operators can view notifications
sent by subscriptions or datastores. However, users assigned to this role
cannot configure replication and select or remove tables from a refresh.
v MONITORSpecifies that a user assigned to this role is working in a
Monitoring account and only has access to the Monitoring perspective in
Management Console. Users assigned to the Monitor role can view the event
log, view statistics, and view table mappings. Monitors can view the
replication state and status of a subscription and can view latency threshold
information. However, users assigned to this role cannot start or stop
replication, configure replication, refresh tables, or view notifications sent by
subscriptions and datastores.
manager
Specifies that a user assigned the role of SYSADMIN also has privileges to
manage datastores and user accounts in the Access Manager perspective of
Management Console. If you want to enable this privilege for a System
Administrator, then specify a value of TRUE. Otherwise, specify a value
FALSE.
dmdeleteuserDeleting a user
Use this command to delete a user.
Syntax
DMDELETEUSER username [-accessserver hostname port adminuser adminpassword]
Parameters
username
Specifies the name of the user you want to delete.
accessserver hostname port adminuser adminpassword
These parameters are optional. Specifies that you want to connect to a remote
installation of Access Server. If you have installed Access Server on the same
machine as Management Console, then these parameters are not required.
Syntax
DMDISABLEUSER username [-accessserver hostname port adminuser adminpassword]
Parameters
username
Specifies the name of the user you want to disable.
-accessserver hostname port adminuser adminpassword
These parameters are optional and indicate that you want to run this
command for an installation of Access Server that is physically remote from
the Access Server installation where you are running this command. In other
words, you must install Access Server and run this command on a system to
which you have direct physical access. If you have installed Access Server on
the same machine as Management Console, then these parameters are not
required.
-accessserver
Specify -accessserver. This parameter indicates that you want to connect
to a remote installation of Access Server.
hostname
The fully qualified host name of the remote system where Access Server is
installed.
port
The port number of the remote system where Access Server is installed.
adminuser
A user with SYSADMIN privileges (see role parameter in the
dmcreateuser command) and the ability to manage users and datastores
(see manager parameter in the dmcreateuser command).
adminpassword
The password for the specified SYSADMIN user.
dmenableuserEnabling a user
Use this command to enable a user account. This lets the user log into
Management Console.
Syntax
DMENABLEUSER username [-accessserver hostname port adminuser adminpassword]
Parameters
username
Specifies the name of the user you want to enable.
-accessserver hostname port adminuser adminpassword
These parameters are optional and indicate that you want to run this
command for an installation of Access Server that is physically remote from
the Access Server installation where you are running this command. In other
Syntax
DMLISTUSERS [-accessserver hostname port adminuser adminpassword]
Parameters
-accessserver hostname port adminuser adminpassword
These parameters are optional and indicate that you want to run this
command for an installation of Access Server that is physically remote from
the Access Server installation where you are running this command. In other
words, you must install Access Server and run this command on a system to
which you have direct physical access. If you have installed Access Server on
the same machine as Management Console, then these parameters are not
required.
-accessserver
Specify -accessserver. This parameter indicates that you want to connect
to a remote installation of Access Server.
hostname
The fully qualified host name of the remote system where Access Server is
installed.
port
The port number of the remote system where Access Server is installed.
adminuser
A user with SYSADMIN privileges (see role parameter in the
dmcreateuser command) and the ability to manage users and datastores
(see manager parameter in the dmcreateuser command).
adminpassword
The password for the specified SYSADMIN user.
Syntax
DMRESETUSER username [-accessserver hostname port adminuser adminpassword]
Parameters
username
Specifies the name of the user account that needs to be reset.
-accessserver hostname port adminuser adminpassword
These parameters are optional and indicate that you want to run this
command for an installation of Access Server that is physically remote from
the Access Server installation where you are running this command. In other
words, you must install Access Server and run this command on a system to
which you have direct physical access. If you have installed Access Server on
the same machine as Management Console, then these parameters are not
required.
-accessserver
Specify -accessserver. This parameter indicates that you want to connect
to a remote installation of Access Server.
hostname
The fully qualified host name of the remote system where Access Server is
installed.
port
The port number of the remote system where Access Server is installed.
adminuser
A user with SYSADMIN privileges (see role parameter in the
dmcreateuser command) and the ability to manage users and datastores
(see manager parameter in the dmcreateuser command).
adminpassword
The password for the specified SYSADMIN user.
Syntax
646 InfoSphere Change Data Capture Management Console: Administration Guide
DMUNLOCKUSER username [-accessserver hostname port adminuser adminpassword]
Parameters
username
Specifies the name of the user you want to unlock.
-accessserver hostname port adminuser adminpassword
These parameters are optional and indicate that you want to run this
command for an installation of Access Server that is physically remote from
the Access Server installation where you are running this command. In other
words, you must install Access Server and run this command on a system to
which you have direct physical access. If you have installed Access Server on
the same machine as Management Console, then these parameters are not
required.
-accessserver
Specify -accessserver. This parameter indicates that you want to connect
to a remote installation of Access Server.
hostname
The fully qualified host name of the remote system where Access Server is
installed.
port
The port number of the remote system where Access Server is installed.
adminuser
A user with SYSADMIN privileges (see role parameter in the
dmcreateuser command) and the ability to manage users and datastores
(see manager parameter in the dmcreateuser command).
adminpassword
The password for the specified SYSADMIN user.
Other commands
This section contains miscellaneous commands for Access Server.
See also:
dmaccessserverStart Access Server
dmaddconnectionAdding a datastore connection to a user on page 648
dmlistdatastoreusersGenerating a report list of users assigned to a datastore
on page 649
dmshowversionShow InfoSphere CDC Access Server version on page 649
onlineOpen command environment on page 650
Syntax
DMACCESSSERVER
None.
Syntax
DMADDCONNECTION userName datastoreName database databaseOwner
databasePassword alwaysPrompt showParams writeProtected saveParams
[-accessserver hostname port adminuser adminpassword]
Parameters
userName
Specifies the name of the user for which you want to create a connection.
datastoreName
Specifies the name of the datastore you want the user to connect to.
database
Specifies the name of the database that you want users to replicate to or from.
Not all datastore connections are to a database. Use "" if not required.
databaseOwner
Specifies the user name of the database. Not all datastore connections are to a
database. Use "" if not required.
databasePassword
Specifies the password to log into the database. Not all datastore connections
are to a database. Use "" if not required.
alwaysPrompt
Specifies that you want the user to always be prompted for a connection each
time the user tries to connect to the datastore. If you want the user to be
prompted for a connection, then specify a value of TRUE. Otherwise, specify a
value of FALSE.
showParams
Specifies that you want all the connection parameters displayed to the user
(except for the password) each time the user tries to connect to the datastore. If
you want the parameters displayed, then specify a value of TRUE. Otherwise,
specify a value of FALSE.
writeProtected
Specifies that you want all the connection parameters displayed to the user in
read-only format each time the user tries to connect to the datastore. If you
want the parameters displayed in read-only format, specify a value of TRUE.
Otherwise, specify a value of FALSE.
saveParams
Specifies that you want the user to be able to save connection parameters
when connecting to the datastore. If you want to enable parameter saving, then
specify a value of TRUE. Otherwise, specify a value of FALSE.
-accessserver hostname port adminuser adminpassword
Syntax
DMLISTDATASTOREUSERS adminUser adminPassword datastoreName
Parameters
adminUser
Specifies the name of the System Administrator.
adminPassword
Specifies the password of the System Administrator.
datastoreName
Specifies the name of the datastore you want to generate a list for. This list
specifies the names of the users assigned to this datastore.
Syntax
DMSHOWVERSION
None.
Syntax
ONLINE
Parameters
None.
You must enable tracing before running Support Assistant so that Management
Console saves tracing information while you reproduce your support issue.Support
Assistant will collect the trace information for Management Console and Access
Server, and if you enable Detailed collection for the specified datastores, it will
collect the trace information for the time period that you specify.
Support Assistant collects diagnostic data and trace information and places this
data in a compressed file with a .zip extension. It is your responsibility to send
this file to IBM Support which is used to diagnose and troubleshoot your support
issue.
Preparing to collect diagnostic data and tracing information
Contacting IBM Support on page 654
See also:
To enable tracing for Management Console and Access Server on page 652
The instructions below do not apply to InfoSphere CDC for z/OS. For InfoSphere
CDC for z/OS, tracing should only be enabled once IBM Support has reviewed the
SPOOLed output and can provide advice on the trace points to enable if it is
necessary to further the investigation.
Note: Tracing for your datastores should only be used when directed by IBM
Support since it may significantly degrade InfoSphere CDC replication engine
performance. For performance reasons, tracing for your datastores should be
turned off immediately after you reproduce your problem in Management Console.
1. Add the global_trace_until system parameter to each datastore (InfoSphere CDC
version 6.3 and above) that encountered a support issue. This system parameter
will enable tracing until the specified date and time.
2. Type a date and time or only a date value in the Value box. Ensure you enclose
the date and time values with quotes. For example, "1/14/08" or "1/14/08 1:34
PM". When you type a specific date and time, full tracing is enabled until that
specified period. If you choose to only specify a date, then tracing is turned on
Note: .zip files with a *.inprocess extension are still collecting data from
your datastore and are not ready to be sent to IBM Support. Collection is
complete when the *.inprocess extension is removed.
Related concepts
Preparing to collect diagnostic data and tracing information on page 651
The following support page contains the latest troubleshooting information and
details on how to open a service request with IBM Support:
v http://www.ibm.com/software/data/infosphere/support/change-data-capture/
Access Server. A background process on a Windows continuous mirroring. A method of mirroring data
or UNIX workstation that implements the InfoSphere where a change applied to a source table is
CDC security model. immediately replicated to the target table. You should
use continuous mirroring when it is important that
adaptive apply. A method of applying data to a target source and target tables are synchronized at all times.
table which allows the target table to have incorrect
data. As data changes are replicated from the source critical column. A change to a critical column
table the target table will become more accurate. indicates that the source operation is important and
should be replicated to the target environment. If a
after image. The updated content of a source-table source row is updated but no critical columns are
column after the source operation has completed. changed then this change won't be replicated to the
target table. The changes to the non-critical columns
auditing. The process of tracking table and row-level will be replicated to the target the next time an
operations (insert, update, delete and clear operations) important update is done.
that have been applied to a source table. The tracking
occurs in a target table. data type. Defines the type of data stored in a specific
database column, such as date, numeric, or character
before image. The content of a replication source-table data. Significant differences in data types exist between
column prior to the source operation. different platforms' databases.
bidirectional replication. Replication in which datastore. An instance of a InfoSphere CDC engine.
changes that are made to one copy of a table are Instances are created using the configuration tool
replicated to a second copy of that table, and changes provided for each engine
that are made to the second copy are replicated back to
the first copy. You must choose which copy of the table derived column. A column that is calculated from
wins if a conflict occurs. other source column values using a derived expression.
bookmark. Information that InfoSphere CDC uses to differential refresh. A process that will synchronize
maintain transactional data consistency. the target table with the current contents of the source
table by applying only the differences between the
cascading replication. A replication topology where target and the source table.
changes are first replicated to a target table, and then
the changes made to that target table are further in scope objects. Objects that will be considered, or
replicated to one or more additional target tables (often included, for replication to the backup system.
located in another database).
filtering columns. The process of identifying which
column function. An expression within a derived source columns you want to include or exclude for
expression that performs enhanced data manipulation. replication.
Typically, column functions calculate statistical
aggregations, such as COUNT, SUM, AVG, or MAX, derived expressions. An expression that defines the
based on the values of existing columns, and then place value placed in a column for each row inserted or
the results in new columns. updated in a target table.
column mapping. The action of choosing which journal control fields. A set of fields that contain
source columns are replicated to which target columns. different information about a journal entry associated
with a source table change. Journal control fields can be
commitment control. A feature that maintains assigned to target columns, as journal entry
transaction consistency during replication and ensures information is replicated with source table data. In
that all transactions are applied to the target system. Management Console, journal control fields are denoted
with an ampersand (&) before the name of the field
LiveAudit. A feature that maintains an audit trail of recursion. The process by which a perpetual series of
table changes in the mapped target table. repetitive changes applied to the same record occurs
between two or more tables in a bidirectional
Management Console. The administrator applications replication scenario.
that provide the necessary support to configure,
manage, and monitor an entire replication recursion prevention. When performing bidirectional
configuration from a central location. replication, the ability to avoid a change to one table
from being repetitively applied to both tables without
member identifiers. An expression identifying the termination.
member in a multimember IBM i source table that is
the source of replicated data. You require member refresh. A process that will synchronize the target
identifiers to identify the member for each replicated table with the current contents of the source table.
record so that data in the target table is not erased
during a refresh. refresh order. The order in which source tables will be
refreshed.
metadata. The internal set of tables that maintain the
entities, attributes, and characteristics of your replication. The process of maintaining a on-going
replication configuration. synchronization between the contents of source tables
and target tables
mirroring. The process of continuous replication of The process of sending changes from source table(s) to
changed data from the source system to the target the target system. In InfoSphere CDC this term
system encompasses all methods of transferring data (refresh
and mirroring).
scheduled end (net change) mirroring. Scheduled End
(Net Change) mirroring replicates changes (to the replication method. A property of table mapping that
target) up to a user-specified point in the source indicates whether it performs mirroring or refresh
database log and then ends replication. Use this type of
mirroring when business requirements dictate that you row filtering. The process of determining which rows
only replicate your data periodically and you have a in a source table to replicate. Typically, an expression
clearly defined end point for the state of your target tests one or more column values in each row and
database when replication ends. Scheduled End (Net returns a boolean result that replicates or discards the
Change) mirroring allows you to end replication at the row.
following points in your source database log:
v Current time or Now source database. A database from which replication
transfers captured changes.
v User-specified date and time
v User-specified log position subscription. A group of table mappings.
These user specified end points ensure that your target subscription promotion. The process of copying
database is in a known state when replication ends. replication definitions from one environment to another
environment without having to recreate the definitions.
notifications. A mechanism that generates a
notification in response to a generated product subscription state. An indicator of the activity
message. A notification can be conveyed through involving a subscription defined in Management
different methods (e-mail notification, user exit Console. The subscription state indicates whether
program notification, and so on). This mechanism replication operations to a subscription are starting,
allows a user to monitor replication activity in their refresh, mirror continuous, mirror net-change, ending,
network. inactive, or unknown.
out of scope objects. Objects that will not be subscription status. The subscription status indicates
considered for, or will be excluded from, replication to how replication is progressing. The subscription status
the target system. can be Normal, Error, or Unknown.
persistent subscription. InfoSphere CDC will ensure summarization. A method of applying data to a target
that a persistent subscription is restarted when the table where numeric data in the table is incremented or
engine is restarted after shutdown or after the decremented based on the type of row-level operation
subscription ends with a recoverable error. (insert, update, or delete) applied to the table.
Glossary 657
658 InfoSphere Change Data Capture Management Console: Administration Guide
Notices
This information was developed for products and services offered in the U.S.A.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION AS IS WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this IBM
product and use of those Web sites is at your own risk.
IBM may use or distribute any of the information you supply in any way it
believes appropriate without incurring any obligation to you.
The licensed program described in this information and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement, or any equivalent agreement
between us.
All statements regarding IBM's future direction or intent are subject to change or
withdrawal without notice, and represent goals and objectives only.
All IBM prices shown are IBM's suggested retail prices, are current and are subject
to change without notice. Dealer prices may vary.
This information is for planning purposes only. The information herein is subject to
change before the products described become available.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
Each copy or any portion of these sample programs or any derivative work, must
include a copyright notice as follows:
(your company name) (year). Portions of this code are derived from IBM Corp.
Sample Programs. Copyright IBM Corp. _enter the year or years_. All rights
reserved.
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
Trademarks
The following terms are trademarks of International Business Machines
Corporation in the United States, other countries, or both:
AIX
DB2
DataStage
IBM
InfoSphere
iSeries
solidDB
System i
Transformation Server
z/OS
zSeries
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the
United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
Notices 661
662 InfoSphere Change Data Capture Management Console: Administration Guide
Printed in USA