tAS400CDC Standard properties
These properties are used to configure tAS400CDC running in the Standard Job framework.
The Standard tAS400CDC component belongs to the Databases family.
The component in this framework is available in all subscription-based Talend products.
Basic settings
Database |
Select the desired database type from the list and click Apply. |
Use an existing connection |
Select this check box and in the Component List drop-down list, select the desired connection component to reuse the connection details you already defined. Information noteNote: When a Job contains the parent Job and the child Job, do the following if you
want to share an existing connection between the parent Job and the child Job (for example,
to share the connection created by the parent Job with the child Job).
For an example about how to share a database connection across Job levels, see Sharing a database connection. |
Property type |
Either Built-in or Repository.
Information noteWarning: Reset the DB type by clicking the relevant button to
select the CDC connection.
|
DB Version |
Select the AS/400 database version you are using. |
Host name |
Database server IP address. |
Database |
Name of the CDC database. Information noteNote: The CDC database in which are stored the modified data must be
different from the one containing the source data.
|
Username and Password |
DB user authentication data. To enter the password, click the [...] button next to the password field, enter the password in double quotes in the pop-up dialog box, and click OK to save the settings. |
Schema and Edit Schema |
A schema is a row description. It defines the number of fields (columns) to be processed and passed on to the next component. When you create a Spark Job, avoid the reserved word line when naming the fields.
Information noteWarning: Reset the DB type by clicking the relevant button to
select the schema of the CDC connection.
Click Edit schema to make changes to the schema. If the current schema is of the Repository type, three options are available:
|
Table Name |
Short name of the source table where changes made to data should be captured. The target CDC table uses automatically this short name to name itself. |
Source Library |
The AS/400 database's source library. Information noteNote: The library name must not contain more than 10 characters. The
database name is generally used.
|
Subscriber |
Enter the name of the application that will use the change table. |
Events to catch |
|
Member |
Enter the name of the member that holds the desired records. A member is part of a physical file in the library and contains a group of entries. For details, search format of an AS/400 file at http://www.ibm.com. |
Advanced settings
Additional JDBC parameters |
Specify additional connection properties for the DB connection you are creating. This option is not available if you have selected the Use an existing connection check box in the Basic settings. |
Process all input data and empty CDC table |
Select this option to process all the input data and empty CDC tables. |
Keep data in CDC Table |
Select this check box to keep the changes made available to one or more target systems, even after they have been consulted. |
Trim all the String/Char columns |
Select this check box to remove leading and trailing whitespace from all the String/Char columns. |
Trim column |
Remove leading and trailing whitespace from defined columns. Information noteNote: Deselect Trim all the String/Char
columns to enable Trim columns in this field.
|
Disable command |
Select this check box to be able to manually call the RUNCDC program by yourself to write changes to the CDC table. |
Customize command |
Select this check box to specify the parameters of the commands to be executed by tAS400CDC. The following gives the syntax of the command executed by tAS400CDC.
where,
By default, the component execute the following command.
For more information about the RUNCDC command, refer to CDC_Documentation_1.09_EN.pdf. You can find this document at <Studio_install>\plugins\org.talend.designer.cdc_<version>\resource\. |
tStatCatcher Statistics |
Select this check box to collect log data at the component level. |
Usage
Usage rule |
This component is used as a start component. It requires an output component and row Main link. Note that the journal and the receiver required by CDC are typically controlled by the administrator of the AS/400 system. For this reason, since version 5.4.2 (included) of Talend Studio, tAS400CDC runs the RUNCDC program only and does not automatically create, activate, deactivate, modify, or delete any journal or receiver of that AS/400 system any more. You need to contact the AS/400 administrator before performing any of these operations. Depending on the policy in your company, the administrator will either perform the operation or provide you with the authorization to do it yourself. Because of this behavior updates, since 5.4.2, the tAS400CDC component does not execute the following command as it did in the 5.4.1 or earlier versions:
This command is used to ensure that an older receiver is detached from a journal and a newer one is attached to the journal to retrieve the last change. You are then recommended to execute this command in your AS/400 system before running this component. Alternatively, enter the example command given above for the Customize command check box is selected, in order to automate the detachment and attachment process. For further information about how the CDC for AS/400 is handled by Talend Studio, see CDC architecture and CDC Redo/Archive log mode. |