Table of Contents

Search

  1. Preface
  2. Part 1: PowerExchange CDC Introduction
  3. Part 2: PowerExchange CDC Components
  4. Part 3: PowerExchange CDC Data Sources
  5. Part 4: Change Data Extraction
  6. Part 5: Monitoring and Tuning
  7. Appendix A: DTL__CAPXTIMESTAMP Time Stamps

CDC Guide for Linux, UNIX, and Windows

CDC Guide for Linux, UNIX, and Windows

Parameter Descriptions

Parameter Descriptions

Specify PowerExchange Logger parameters in the pwxccl.cfg configuration file.
This topic describes each parameter.
The parameter syntax uses the following notational conventions:
  • Italics
    indicate a variable.
  • Curly braces { } enclose alternative options. Enter only one option. Do not type the braces when you enter the option.
  • A vertical bar | indicates a mutually exclusive choice. When used with braces, you must enter one of the items.
  • Underlining
    indicates a default value.
Parameters:
CAPT_IMAGE={
AI
|BA}
Type of data images that the PowerExchange Logger stores in its log files. Use this parameter to control whether the PowerExchange Logger stores after images only or both before and after images of the data in its log files.
This parameter affects the amount of storage that you use for PowerExchange Logger log files and whether before image data is available for use in extraction processing.
Enter one of the following options:
  • AI
    . Stores only after images in the PowerExchange Logger log files.
  • BA
    . Stores both before and after images in the PowerExchange Logger log files.
Default is
AI
. With
AI
, less storage is required for PowerExchange Logger log files. However, the following CDC limitations apply:
  • You cannot use before images of the data in extraction processing. If you add before image (BI) fields to extraction maps, PowerCenter CDC sessions that reference the BI fields fail.
  • If you add change indicator (CI) fields to extraction maps, PowerCenter CDC sessions that reference the CI fields fail.
Informatica recommends that you enter
BA
if you have sufficient storage for larger log files. The sample pwxccl configuration file that PowerExchange supplies specifies
BA
.
If you use
BA
and add CI columns to the extraction maps, any Insert and Delete operations on the source result in Null values in the CI columns. Any Update operations on the source result in the Y or N indicator in the CI columns.
CAPTURE_NODE={
node_name
|
local
}
Optional. The node name that the PowerExchange Logger uses to retrieve capture registrations and change data. Specify this parameter only if you use the PowerExchange Logger to capture change data from a source on a remote system.
Enter the node name of the remote source system, as specified in a NODE statement in the dbmover configuration file on the system where the PowerExchange Logger runs. The PowerExchange Logger uses the specified node name to connect to the PowerExchange Listener on the remote source node to read capture registrations and change data. The PowerExchange Logger then writes the change data to its local log files.
Default is local. Do not specify this parameter if the capture registrations and change data are on the local machine where the PowerExchange Logger runs.
You can also specify an optional user ID and password to control connection to the specified node. For more information, see the CAPTURE_NODE_UID parameter and the CAPTURE_NODE_EPWD or CAPTURE_NODE_PWD parameter.
CAPTURE_NODE_EPWD=
encrypted_password
An encrypted password that is associated with the user ID specified in the CAPTURE_NODE_UID parameter. This password, in conjunction with the CAPTURE_NODE_UID value, is used to control PowerExchange access to capture registrations and change data.
You can create an encrypted password in the PowerExchange Navigator by selecting
File
Encrypt Password
.
If you use remote logging of data from a data source on IBM i (i5/OS) or z/OS to a PowerExchange Logger for Linux, UNIX, and Windows instance, you can enter an encrypted PowerExchange passphrase instead of an encrypted password. Do not encrypt a passphrase that contains invalid characters, such as double-quotation marks, single quotation marks, or currency symbols.
If you specify CAPTURE_NODE_EPWD, do not also specify CAPTURE_NODE_PWD.
CAPTURE_NODE_PWD=
password
A clear text password that is associated with the user ID specified in the CAPTURE_NODE_UID parameter. This password, in conjunction with the CAPTURE_NODE_UID value, is used to control PowerExchange access to capture registrations and change data.
If you use remote logging of data from a data source on IBM i (i5/OS) or z/OS to a PowerExchange Logger for Linux, UNIX, and Windows instance, you can use a valid PowerExchange passphrase instead of a password. An i5/OS passphrase can be from 9 to 31 characters in length. A z/OS passphrase can be from 9 to 128 characters in length. A passphrase can contain the following characters:
  • Uppercase and lowercase letters
  • The numbers 0 to 9
  • Spaces
  • The following special characters:
    ’ - ; # \ , . / ! % & * ( ) _ + { } : @ | < > ?
    The first character is an apostrophe.
Passphrases cannot include single quotation marks (‘), double quotation marks (“), or currency symbols.
When entering a passphrase, you must enclose it with double-quotation marks ("), for example:
CAPTURE_NODE_PWD="This is a passphrase!"
On z/OS, a valid RACF passphrase can be up to 100 characters in length. PowerExchange truncates passphrases longer than 100 characters when passing them to RACF for validation.
To use passphrases, ensure that the PowerExchange Listener runs with a security setting of SECURITY=(1,N) or higher in the DBMOVER member. For more information, see "SECURITY Statement" in the
PowerExchange Reference Manual
.
If you specify CAPTURE_NODE_PWD, do not also specify CAPTURE_NODE_EPWD.
CAPTURE_NODE_UID=
user_id
A user ID that is used to control access to capture registrations and change data on the local machine or on the remote node that is specified in the CAPTURE_NODE parameter.
Whether this parameter is required depends on the operating system of the local or remote node and the SECURITY setting in its DBMOVER configuration file on that node.
If CAPTURE_NODE specifies a remote IBM i (i5/OS) or z/OS node, the SECURITY setting has the following effects:
  • If the SECURITY setting is 0, do not specify this parameter. PowerExchange uses the user ID under which the PowerExchange Listener job runs to control access to capture registrations and change data.
  • If the SECURITY setting is 1, enter a valid operating system user ID for this parameter. Otherwise, error message PWX-00231 is issued, indicating a signon failure. However, PowerExchange uses the user ID under which the PowerExchange Listener job runs to control access to capture registrations and change data.
  • If the SECURITY setting is 2, enter a valid operating system user ID for this parameter. Otherwise, error message PWX-00231 is issued, indicating a signon failure. PowerExchange uses this user ID to control access to capture registrations and change data. If the specified user ID does not have the authority that is required to read capture registrations or change data, access fails.
If CAPTURE_NODE specifies a Linux, UNIX, or Windows local or remote node, enter a user ID that is valid for your data source type:
  • For Db2 sources on Linux, UNIX, or Windows, enter a valid operating system user ID that has Db2 DBADM or SYSADM authority.
  • For Microsoft SQL Server instances that use SQL Server Authentication, enter a database user ID that permits access to the SQL Server distribution database. For SQL Server instances that use Windows Authentication, PowerExchange uses the user ID under which the PowerExchange Listener was started. In this case, do not specify this parameter unless you want to specify another user.
  • For MySQL sources on Linux or Windows, enter a database user ID that allows access to the MySQL binary logs. This user must have been granted the privileges that are required for MySQL CDC. For more information, see Preparing MySQL Sources.
  • For Oracle sources, enter the ORACAPTL user ID that you defined, which permits access to the Oracle online and archive redo logs.
  • For PostgreSQL sources on Windows, enter a database user ID that allows access to the PostgreSQL source database. This user must have been granted the privileges that are required for PostgreSQL CDC. For more information, see Preparing PostgreSQL CDC Sources.
If you specify CAPTURE_NODE_UID, you must enter a password or encrypted password in either the CAPTURE_NODE_PWD or CAPTURE_NODE_EPWD parameter, but not both.
COLL_END_LOG={
0
|1}
Required. The PowerExchange Logger operational mode.
Enter one of the following options:
  • 0
    . Runs the PowerExchange Logger continuously until you manually stop it. After the Writer subtask completes a processing cycle, it waits for the number of minutes specified in the NO_DATA_WAIT parameter before starting another processing cycle.
  • 1
    . Runs the PowerExchange Logger in batch mode. The PowerExchange Logger shuts down after the seconds specified in the NO_DATA_WAIT2 parameter elapse and no data has been received.
Default is
0
for continuous mode.
COND_CDCT_RET_P={
days
|
60
}
Recommended. Retention period, in days, for CDCT records and PowerExchange Logger log files. Log files that are older than this period and their corresponding CDCT records are deleted automatically during PowerExchange Logger cleanup processing. Cleanup processing occurs during startup, file switch, or shutdown processing.
Enter a number greater than 0. Default is 60.
When setting this parameter, try to minimize the size of the CDCT file while preserving the log files that contain the earliest change data that you might need to access. Use the following guidelines:
  • If you set the retention period to a low value, ensure that PowerExchange extracts change data from the PowerExchange Logger log files during this period. Otherwise, the log files for which the retention period has elapsed are deleted and you can lose change data. For example, if the retention period is 5 and you plan not to run extractions during a 10-day holiday, increase the retention period to 15. This approach ensures that the log files with the change data you need are not deleted until the extractions run again.
  • If you set the retention period to a high value, the CDCT can become very large, depending on the number active capture registrations. Also, the number of PowerExchange Logger log files might increase. For continuous extraction mode, you can use the PowerExchange Logger FILE_SWITCH parameters to decrease the number of log files and increase their size instead.
  • If you use continuous extraction mode, PowerExchange reads the CDCT file each time the interval specified in the FILEWAIT parameter of the CAPX CAPI_CONNECTION statement elapses. If a CDCT file becomes large, this read activity can increase I/O, system resource use, and latency of change data extraction. If you use batch extraction mode, this high read activity is not a consideration.
CONDENSENAME=
service_name
Optional. A name for the command-handling service for a PowerExchange Logger for Linux, UNIX, and Windows process to which infacmd pwx or pwxcmd commands are issued.
This service name must match the service name that is specified in the associated SVCNODE statement in the dbmover configuration file. The SVCNODE statement specifies the TCP/IP port on which this service listens for infacmd pwx or pwxcmd commands.
Enter a service name up to 12 characters in length. This is the maximum length of the service name that you can specify in the SVCNODE statement. No default is available.
If you run the PowerExchange Logger as a background process in continuous mode, specify this parameter so that you can use the pwxcmd program to issue commands to the PowerExchange Logger. Without the use of pwxcmd, you cannot shut down a PowerExchange Logger process that is running in the background or send status information to a computer that is remote from where the PowerExchange Logger runs.
CONDENSE_SHUTDOWN_TIMEOUT={
seconds
|
600
}
Maximum amount of time, in seconds, that the PowerExchange Logger waits after receiving the SHUTDOWN or pwxcmd shutdown command before stopping.
Enter a number from 0 through 2147483647. Default is 600.
During a shutdown, the PowerExchange Logger updates the CDCT file for each capture registration that is used to capture change data. If you have a large number of capture registrations, you might need to increase this timeout period.
CONN_OVR=
capi_connection_name
Recommended. The name of the override CAPI_CONNECTION statement to use for the PowerExchange Logger. If you do not enter CONN_OVR, the PowerExchange Logger uses the default CAPI_CONNECTION in the dbmover configuration file, if specified.
Enter a valid CAPI_CONNECTION name for the source type.
Informatica recommends that you specify CONN_OVR because it is the only type of override that the PowerExchange Logger can use.
DBID=
instance_name
Required. A source identifier, sometimes called the
instance
name, that is defined in capture registrations. When used with DB_TYPE, it defines selection criteria for capture registrations in the CCT file.
This value matches the instance or database name that is displayed in the Resource Inspector of the PowerExchange Navigator for the registration group that contains the capture registrations.
For sources on Linux, UNIX, and Windows, enter one of the following options:
  • For Db2 sources on Linux, UNIX, or Windows, enter the
    Database
    name that is displayed for the registration group in the
    Resource Inspector
    .
  • For Microsoft SQL Server, this value depends on whether you also specify the optional DISTSRV and DISTDB parameters in the PowerExchange Logger configuration file and whether you entered the
    Instance
    identifier when creating the registration group:
    • If you specify the optional DISTSRV and DISTDB parameters to have the single PowerExchange Logger instance log data for all of the registered articles that are published to the distribution database, enter a name that serves as the collection identifier for all of the registrations. This name must be one to eight characters in length and start with a letter. This name overrides the instance name that is associated with the individual registrations.
      When you perform a CAPXRT database row test, you must enter this name in the
      MSS LUW DBId
      field in the CAPXRT Advanced Parameters dialog box. When you define a PWXPC connection for PowerCenter CDC sessions that extract data from PowerExchange Logger log files, enter this value for the
      Logger DBID
      attribute on the PowerCenter PWX MSSQL CDC Real Time connection.
    • If you do not specify the DISTSRV and DISTDB parameters, enter the value from the
      Instance
      field that is displayed for the registration group in the PowerExchange Navigator Resource Inspector. The instance identifier is either the unique user-defined identifier that was optionally entered for the database name and database server combination during registration group creation in the PowerExchange Navigator or the instance identifier that PowerExchange generated if you did not specify an instance identifier.
  • For MySQL, enter the
    Instance
    name that is displayed for the registration group in the
    Resource Inspector
    .
  • For Oracle, enter the
    Instance
    name that is displayed for the registration group in the
    Resource Inspector
    . This value also should match the first positional parameter of the ORACLEID statement in the dbmover configuration file.
  • For PostgreSQL, enter the
    Instance
    name that is displayed for the registration group in the
    Resource Inspector
    .
If you use the PowerExchange Logger to log data from remote data sources on IBM i (i5/OS) or z/OS, enter one of the following options:
  • For Adabas, enter the
    Instance
    name that is displayed for the registration group.
  • For Datacom, enter the
    MUF Name
    value that is displayed for the registration group.
    Alternatively, if you use Datacom synchronous CDC, enter the value of the MUF parameter in the DTLINPUT data set specified in the MUF JCL. Or, if you use Datacom table-based CDC, enter the value of REG_MUF parameter in the ECCRDCMP member of the RUNLIB library.
  • For Db2 for i, enter the
    Instance
    name that is displayed for the registration group. This name should match the INST parameter value in the AS4J CAPI_CONNECTION statement in the DBMOVER member of the CFG file.
  • For Db2 for z/OS, enter the
    Instance
    name that is displayed for the registration group. This name should match the RN parameter value in the DB2 statement in the RUNLIB(REPDB2OP) member.
  • For IDMS Log-based CDC, enter the
    Logsid
    value that is displayed for the registration group. This value should match the LOGSID parameter value in the RUNLIB(ECCRIDLP) member.
  • For IMS, enter the
    IMSID
    value that is displayed for the registration group. For IMS log-based CDC, this value should match the first parameter value in the IMSID statement in the RUNLIB(CAPTIMS) member.
  • For VSAM, enter the
    Instance
    name that is displayed for the registration group.
DB_TYPE={ADA|AS4|DB2|DCM|IDL|IMS|MSS|MYS|ORA|PGS|UDB|VSM}
Required. Source database type.
For sources on Linux, UNIX, or Windows, enter one of the following options:
  • MSS
    for Microsoft SQL Server sources
  • MYS
    for MySQL sources
  • ORA
    for Oracle sources
  • PGS
    for PostgreSQL sources
  • UDB
    for Db2 sources on Linux, UNIX, or Windows
If you use the PowerExchange Logger to log data from remote data sources on IBM i (i5/OS) or z/OS systems, enter one of the following options:
  • ADA
    for Adabas sources
  • AS4
    for Db2 for i sources
  • DB2
    for Db2 for z/OS sources
  • DCM
    for Datacom sources.
  • IDL
    for IDMS log-based CDC sources
  • IMS
    for IMS sources
  • VSM
    for VSAM sources
DISTDB=
distribution_database_name
For Microsoft SQL Server sources, the name of the distribution database. Enter this parameter if you want the single PowerExchange Logger instance to read data for all of the registered articles that are published to the distribution database, regardless of their source publication databases. Otherwise, you must run a separate PowerExchange Logger instance for each source database.
This parameter is required if MULTIPUB=Y is specified in the MSQL CAPI_CONNECTION statement. Otherwise, this parameter is optional.
If you specify this parameter, you must also specify the DISTSRV parameter.
For the PowerExchange Logger to extract change data from the distribution database for articles in multiple publication databases in one pass, you must also set the MULTIPUB parameter in the MSQL CAPI_CONNECTION statement to Y. Otherwise, the extraction fails with message PWX-15757. Also, you must specify the DBID parameter value for the
Logger DBID
attribute on the PowerCenter PWX MSSQL CDC Real Time connection.
DISTSRV=
distribution_database_server
For Microsoft SQL Server sources, the network name of the server that hosts the distribution database. This name might be different from the network name of the SQL Server instance if the distribution database resides on a different server. Enter this parameter if you want the single PowerExchange Logger instance to read data for all of the registered articles that are published to the distribution database, regardless of their source publication databases. Otherwise, you must run a separate PowerExchange Logger instance for each source database.
This parameter is required if MULTIPUB=Y is specified in the MSQL CAPI_CONNECTION statement. Otherwise, this parameter is optional.
If you specify this parameter, you must also specify the DISTDB parameter.
For the PowerExchange Logger to extract change data from the distribution database for articles in multiple publication databases in one pass, you must also set the MULTIPUB parameter in the MSQL CAPI_CONNECTION statement to Y. Otherwise, the extraction fails with message PWX-15757. Also, you must specify the DBID parameter value for the
Logger DBID
attribute on the PowerCenter PWX MSSQL CDC Real Time connection.
ENCRYPTEPWD=
encrypted_encryption_password
A password in encrypted format for enabling the encryption of PowerExchange Logger log files. With this password, the PowerExchange Logger can generate a unique encryption key for each Logger log file. The password is stored in the CDCT file in encrypted format. For security purposes, the password is not stored in CDCT backup files and is not displayed in the CDCT reports that you can generate with the PWXUCDCT utility.
You can set the AES algorithm to use for log file encryption in the ENCRYPTOPT parameter. The default is AES128.
If you specify this parameter, do not also specify the ENCRYPTPWD parameter in the same pwxccl.cfg file.
If you specify this parameter and cold start the PowerExchange Logger with a pwxccl command that includes the encryptepwd parameter, the ENCRYPTEPWD parameter in the configuration file takes precedence.
If you change this ENCRYPTEPWD password after log files have been encrypted, you must cold start the PowerExchange Logger. Otherwise, the change is ignored.
For optimal security, Informatica recommends that you specify the encryption password in a pwxccl command for cold starting the PowerExchange Logger rather than in the pwxccl.cfg configuration file. This practice can reduce the risk of malicious access to the encryption password for the following reasons: 1) The encryption password is not stored in the pwxccl.cfg file, and 2) You can remove the password from the command line after a successful cold start. If you specify the encryption password in a pwxccl command for a cold start and then need to restore the CDCT file later, you must enter the same encryption password in the RESTORE_CDCT command of the PWXUCDCT utility.
To
not
encrypt PowerExchange Logger log files, do not enter an encryption password in the pwxccl.cfg configuration file or in the pwxccl command for a cold start.
ENCRYPTOPT={
AES128
|AES192|AES256}
The AES encryption algorithm that you want to use for encrypting PowerExchange log files. To enable encryption, you must also specify an encryption password in the ENCRYPTEPWD or ENCRYPTPWD parameter in the pwxccl.cfg configuration file or specify the encryptepwd parameter in a pwxccl command that you use to cold start the PowerExchange Logger.
Default is AES128.
ENCRYPTPWD=
clear_text_encryption_password
A password in clear text format for enabling the encryption of PowerExchange Logger log files. With this password, the PowerExchange Logger can generate a unique encryption key for each Logger log file. The password is stored in the CDCT file in encrypted format. For security purposes, the password is not included in CDCT backup files and is not displayed in the CDCT reports that you can generate with the PWXUCDCT utility.
You can set the AES algorithm to use for log file encryption in the ENCRYPTOPT parameter. The default is AES128.
If you specify this parameter, do not also specify the ENCRYPTEPWD parameter in the same pwxccl.cfg file.
If you specify this parameter and cold start the PowerExchange Logger with a pwxccl command that includes the encryptepwd parameter, an error occurs. Do not specify the ENCRYPTPWD parameter in the configuration file and also specify the encyptepwd parameter in the PWXCCL command.
If you change this ENCRYPTPWD password after log files have been encrypted, you must cold start the PowerExchange Logger. Otherwise, the change is ignored.
For optimal security, Informatica recommends that you specify the encryption password in a pwxccl command for cold starting the PowerExchange Logger rather than in the pwxccl.cfg configuration file. This practice can reduce the risk of malicious access to the encryption password for the following reasons: 1) The encryption password is not stored in the pwxccl.cfg file, and 2) You can remove the password from the command line after a successful cold start. If you specify the encryption password in a pwxccl command for a cold start and then need to restore the CDCT file later, you must enter the same encryption password in the RESTORE_CDCT command of the PWXUCDCT utility.
To
not
encrypt PowerExchange Logger log files, do not enter an encryption password in the pwxccl.cfg configuration file or in the pwxccl command for a cold start.
EPWD
Deprecated. Use CAPTURE_NODE_EPWD instead. If both CAPTURE_NODE_EPWD and EPWD are specified, CAPTURE_NODE_EPWD takes precedence.
EXT_CAPT_MASK=
path/prefix
Required. An existing directory path and a unique prefix to be used for generating the PowerExchange Logger log files.
Maximum length is 256 characters.
For example:
/capture/pwxlog
If you enter a value that include spaces, you must enclose the value in double quotation marks (").
If you need to enter a Windows network path, use three leading backslashes (\\\) for PowerExchange to parse the network path correctly. For example:
EXT_CAPT_MASK=\\\host\Shared Folders\C\CDC_SHARED\logfiles
Verify that no existing files match the path and prefix. PowerExchange considers any file that matches this path and prefix to be a PowerExchange Logger log file, even if it is unrelated to PowerExchange Logger processing.
To create the log files, the PowerExchange Logger appends the following information:
.CND.CP
yymmdd
.T
hhmmssnnn
Where:
  • yymmdd
    is a date composed of a two-digit year, a month, and a day.
  • hhmmss
    is 24-hour time value, including hours, minutes, seconds.
  • nnn
    is a generated sequence number that ensures uniqueness of the file name.
For example:
/capture/pwxlog.CND.CP080718.T1545001
FILE_FLUSH_VAL={
seconds
|
-1
}
Recommended. File flush interval in seconds. When this interval elapses, the PowerExchange Logger writes any outstanding change data that it read from the source to log files on disk. After the change data is flushed to disk, CDC sessions that use continuous extraction mode can read the change data. This parameter affects the latency of continuous change data extractions.
Valid values are:
  • -1
    . The PowerExchange Logger does
    not
    flush outstanding change data to the current log file on disk based on this parameter. Enter this value only if you use batch extraction mode. If you use continuous extraction mode, this value can increase the latency of your continuous extraction sessions.
  • 0
    . The PowerExchange Logger flushes outstanding change data after every record.
  • Any value from 1 through 86400
    . The PowerExchange Logger flushes outstanding change data at the specified interval.
Default is -1.
A value of 0 can degrade the performance of the PowerExchange Logger and file system.
Set this value as appropriate for your CDC environment. Values that are too high can increase change extraction latency, and values that are too low can degrade PowerExchange Logger and system performance. Informatica recommends that you set this parameter to a value that is equal to or greater than the NO_DATA_WAIT2 value because file flushes cannot occur until the NO_DATA_WAIT2 period expires.
FILE_SWITCH_CRIT={
M
|R}
Type of units to use for the FILE_SWITCH_VAL parameter, which determines when to do an automatic file switch.
Enter one of the following options:
  • M
    for minutes.
  • R
    for records.
Default is
M
.
FILE_SWITCH_ON_CHECKPOINT={
Y
|N}
Controls whether automatic file switching occurs when the PowerExchange Logger is notified of a checkpoint event. When the Logger receives notification of a checkpoint, it initiates a file switch to harden the captured data to disk and advance the restart point. Options are:
  • Y
    . Enables automatic file switches when checkpoint events occur.
  • N
    . Disables automatic file switches when checkpoint events occur.
Default is Y.
FILE_SWITCH_VAL={
minutes_or_records
|
30
}
Number of minutes or change records, as determined by FILE_SWITCH_CRIT, that must elapse before PowerExchange performs a file switch.
Enter a number greater than 0. Default is 30. Entering a very large number might cause unpredictable results.
For example, if you use 30 and enter FILE_SWITCH_CRIT=R, the PowerExchange Logger performs a file switch every 30 records. If FILE_SWITCH_CRIT=M, the PowerExchange Logger performs a file switch every 30 minutes.
If the PowerExchange Logger log files contain no data when the FILE_SWITCH_VAL threshold is reached, the file switch does not occur.
This value affects the size of the PowerExchange Logger log files. Specify a value that results in log files of the appropriate size for your environment.
When using continuous extraction mode, set this parameter such that you have larger log files and a smaller CDCT file. When using batch extraction mode, set this parameter to a value that causes file switches to occur within the time frame that meets your change extraction latency requirements.
GROUPDEFS=
path/file_name
Path and file name of the optional PowerExchange Logger group definition file. This file defines groups of capture registrations that the PowerExchange Logger uses to capture change data to separate sets of log files. It also defines the path that the PowerExchange Logger uses to create the log files that contain the change data for each group.
This parameter is optional and has no default.
If you need to enter a Windows network path, use three leading backslashes (\\\) for PowerExchange to parse the network path correctly.
Maximum length is 255 characters.
LOGGER_DELETES_EXPIRED_CDCT_RECORDS={
Y
|N}
Controls whether the PowerExchange Logger deletes CDCT records for log files for which the retention period has expired.
Enter one of the following options:
  • Y
    . The PowerExchange Logger deletes expired CDCT records during file switches. You cannot use the PWXUCDCT utility DELETE_EXPIRED_FILES command to manually delete expired log files and their related CDCT records.
  • N
    . The PowerExchange Logger does not delete expired CDCT records. However, you can use the PWXUCDCT utility DELETE_EXPIRED_FILES command to manually delete expired log files and their related CDCT records.
    This parameter does not affect PowerExchange Logger deletions of CDCT records that are rolled back because of a cold start or a warm start to a prior point in time.
Default is
Y
.
NO_DATA_WAIT={
minutes
|
1
}
If you run the PowerExchange Logger in continuous mode, specify the number of minutes that the PowerExchange Logger must wait before starting the next logging cycle.
Enter 0 or a number greater than 0. Default is 1.
A value of 0 causes no waiting to occur between PowerExchange Logger processing cycles. If source data is not available, the CAPI sleeps.
For continuous extraction mode, enter 0 for no waiting, or enter a low value so that the next logging cycle starts shortly after the current one completes.
If the value of FILE_SWITCH_CRIT is M and the value of FILE_SWITCH_VAL is less than the value of NO_DATA_WAIT, the PowerExchange Logger uses the FILE_SWITCH_VAL value instead.
NO_DATA_WAIT2={
seconds
|
600
}
The number of seconds that PowerExchange waits at the end-of-log for more change data before returning control to the PowerExchange Logger. If this wait period elapses and no new change data has been received, PowerExchange returns control to the PowerExchange Logger, and the PowerExchange Logger then stops the current logging cycle.
Enter a number greater than 0. Default is 600.
Informatica recommends a value of 10. If you enter a greater value, execution of commands for the PowerExchange Logger might be delayed.
Use the same value for the FILE_FLUSH_VAL parameter.
PROMPT={Y|N}
When you run the PowerExchange Logger in foreground mode, controls whether PowerExchange displays a user confirmation prompt and waits for a response when you perform one of the following actions:
  • Cold start the PowerExchange Logger.
  • Warm start the PowerExchange Logger from a previous position in the change stream. This situation occurs only if the CDCT file still contains records related to the deleted files.
Enter one of the following options:
  • Y
    . Displays the confirmation message PWX-33236 for a cold start or PWX-33242 for a warm start. You must respond to the message for startup processing to continue.
  • N
    . Does not display the confirmation messages. PowerExchange attempts to start without first prompting for user confirmation.
If you run the PowerExchange Logger in foreground mode, the default is Y.
If you run the PowerExchange Logger in background mode or as a PowerExchange Logger Service in the Informatica domain, the default is N. In this case, if you enter PROMPT=Y in the pwxccl.cfg file, the PowerExchange Logger ignores this setting, issues error message PWX-33253, and continues processing.
PWD
A deprecated parameter. Use CAPTURE_NODE_PWD instead. If both CAPTURE_NODE_PWD and PWD are specified, CAPTURE_NODE_PWD takes precedence.
RESTART_TOKEN and SEQUENCE_TOKEN
A pair of token values that define a restart point for starting change data processing when a PowerExchange Logger is cold started.
Depending on how you set these parameters, PowerExchange Logger processing starts from one of the following restart points during a cold start:
  • If you do not specify these parameters, processing starts from the current end-of-log position.
  • If you enter 0 for both parameters, processing starts from the default start location for the source type, as follows:
    • For Db2, the default location is the current log position at the time the PowerExchange capture catalog was created.
    • For Microsoft SQL Server, the default location is the oldest data available in the publication database.
    • For MySQL, the default location is the oldest data available in the binary log. This position is the beginning of the binary log that has the log name that includes the lowest numeric suffix value. You can use the SHOW BINARY LOGS statement to identify this log.
    • For Oracle, the default location is the beginning of the most recent archive log.
    • For PostgreSQL, the default location is the oldest data stored in the replication store table. If the replication store table is empty, the default location is the oldest record waiting to be read from the logical replication slot.
  • If you enter restart token and sequence token values other than 0, processing resumes from the specific restart point defined by these token values. To perform a special start of the PowerExchange Logger, you must specify the RESTART_TOKEN and SEQUENCE_TOKEN parameters with specific values, and the SEQUENCE_TOKEN value must be greater than the sequence token in the CDCT file.
If you use remote logging of change data from IBM i (i5/OS) z/OS data sources, see the PowerExchange Condense chapter in the
PowerExchange CDC Guide for i5/OS
or
PowerExchange CDC Guide for z/OS
for information about what to enter for these parameters.
SIGNALLING={
N
|Y}
Indicates whether the PowerExchange Logger attempts to take automatic action in the event of certain errors.
Enter one of the following options:
  • N
    . The PowerExchange Logger does not automatically trap and handle system errors. Instead, the operating system uses default error handling. Usually, the default handing is to report the program line in error and dump memory.
  • Y
    . The PowerExchange Logger automatically handles certain errors such as memory corruption. After the PowerExchange Logger handles the error, it attempts to shut down in a controlled manner.
Default is
N
.
STATS=(MONITOR[,
interval
|
0
])
Enables PowerExchange Logger collection of the following monitoring statistics:
  • PowerExchange Logger process ID (PID)
  • Status of the PowerExchange Logger Writer task
  • CPU time used by the PowerExchange Logger - total and for Writer task functions.
  • Memory use (current/total/maximum) in kilobtyes, total and for the Controller, Command Handler, and Writer tasks
  • Record counts, including the number of inserts, updates, deletes, and commits that the PowerExchange Logger processed - total since the Logger started and for the current active log file and the active logging cycle
  • Total number of UOWs and bytes that the Writer task processed
Also enables collection of the following statistics for PowerExchange Logger group definitions, if defined:
  • The number of DML operations and commits processed for each group
  • Then number of change records that have not yet been flushed to a Logger log file on disk
  • The name of the open Logger log file for each group and the file open timestamp
Logger statistics are printed to the PowerExchange message log and on screen when any of the following events occur:
  • You enter the DL or DG command at the command line, or enter the pwxcmd displaystats -tp {logger|groups} command from a remote Linux, UNIX, or Windows system.
  • You issue the SHUTCOND or SHUTDOWN command to a PowerExchange Logger that runs in continuous mode.
  • A PowerExchange Logger that runs in batch mode finishes its run and shuts down.
For more information about the monitoring commands and related reports, see the
PowerExchange Command Reference
.
Optionally, include the
interval
subparameter in the STATS statement to publish the Logger statistics at a regular interval.
{
interval
|
0
}
Optional. The interval, in minutes, after which PowerExchange publishes monitoring statistics for the PowerExchange Logger. The interval-based statistics that are written to the PowerExchange message log file are the same as those published by the DL (or DS) command and
pwxcmd displaystats -tp logger
command. However, a subset of the message output is displayed on screen to prevent flooding the screen with messages over time.
The Logger still issues monitoring messages at shutdown, regardless of whether you specify the
interval
parameter.
Valid values are 0 through 120. Default is 0, which disables interval-based reporting of PowerExchange Logger monitoring statistics. With the default value, PowerExchange writes these statistics only when one of the following Logger commands is issued: DL,
pwxcmd displaystats -tp logger
, SHUTCOND, or SHUTDOWN.
UID
A deprecated parameter. Use CAPTURE_NODE_UID instead. If both CAPTURE_NODE_UID and UID are specified, CAPTURE_NODE_UID takes precedence.
VERBOSE={
Y
|N}
Indicates whether the PowerExchange Logger writes verbose or terse messages to the PowerExchange message log file for activities that it performs frequently, such as cleanup, condense, and file-switch processing.
Enter one of the following options:
  • Y
    . Verbose messaging. The PowerExchange Logger logs multiple messages at various processing points, such as when starting or ending a cycle of reading source data or doing a file switch. Verbose messaging often includes processing statistics such as records processed and elapsed time.
  • N
    . Terse messaging. The PowerExchange Logger logs a single terse message for each file switch.
Default is
Y
.

Back to Top

0 COMMENTS

We’d like to hear from you!