This section describes how to create or modify a connection to IBM DB2 so that could work with data in that data system.
To create a connection to IBM DB2, you need to use in conjunction with a special connector called IBM DB2 Connector. This connector is included in the package.
The IBM DB2 Connector supports the following features:
Table 51: IBM DB2 Connector – Supported features
Bidirectional synchronization
Specifies whether you can both read and write data in the connected data system. |
Yes |
Delta processing mode
Specifies whether the connection can process only the data that has changed in the connected data system since the last synchronization operation. This reduces the overall synchronization duration. |
No |
Password synchronization
Specifies whether you can synchronize user passwords from an Active Directory (AD) domain to the connected data system. |
Yes |
To create a new connection
- On the system where is installed, install IBM Data Server Client supplied with the IBM DB2 version with which you plan to work.
- In the , open the Connections tab.
- Click Add connection, then use the following options:
-
Click Next.
- On the Specify connection settings page, use the following options:
-
IBM DB2 server: Type or select the fully qualified domain name of the IBM DB2 computer that hosts the database you want to participate in data synchronization operations. You can click Refresh to get a list of available IBM DB2 servers.
-
Access IBM DB2 server using: Type the user name and password with which you want to access the IBM DB2 server.
-
Connect to database: Type the name of the database to which you want to connect on the IBM DB2 server.
-
Advanced: Optionally, you can click this button to specify additional parameters you want to add to the connection string that will be used to access the IBM DB2 server. In the dialog box that opens, click Add Parameter to specify the name and value of the parameter you want to add to the connection string.
- Test Connection: Click this button to verify the specified connection settings.
-
Click Next.
-
On the Specify how to select and modify data page, use the following options:
-
Use data from this table: Allows you to select a database table that includes the data you want to participate in the synchronization operations. You can click Preview to preview the database table you have selected.
-
Use an SQL query to specify data: Allows you to compose an SQL query that provides a more flexible way for specifying the data for synchronization. For example, you can use this option to specify multiple database tables.
-
Configure Settings: Click this button to specify settings for modifying data in the connected system during synchronization operations. For example, you can specify the database tables in which you want to insert, update, or delete data during synchronization operations.
-
On the Specify attributes to identify objects page, use the following options:
-
Available attributes: Lists the attributes that are available in the external data system. Use this list to select the attributes whose values you want to use to generate a unique identifier for each object in the external data system. You can filter attributes by typing in the text box at the top of this list. To select multiple attributes, hold down CTRL and click to select attributes in the list.
-
UniqueID attributes: Lists the attributes whose values are currently used to generate a unique identifier for each object in the external data system.
-
Add->: Moves the selected attributes from the Available attributes list to the UniqueID attributes list.
-
<-Remove: Moves the selected attributes from the UniqueID attributes list to the Available attributes list.
-
Constructed UniqueID: Displays a combination of the attributes whose values will make up a unique identifier for each object in the external data system.
-
Click Finish to create a connection to the IBM DB2 system.
To modify connection settings
-
In the , open the Connections tab.
-
Click Connection settings below the existing IBM DB2 connection you want to modify.
-
On the Connection Settings tab, click an appropriate item to expand it and use the options it provides.
You can expand the following items:
-
Click Save.
This expandable item provides the following options that allow you to modify the connection settings:
-
IBM DB2 server: Type or select the fully qualified domain name of the IBM DB2 computer that hosts the database you want to participate in data synchronization operations. You can click Refresh to get a list of available IBM DB2 servers.
-
Access IBM DB2 server using: Type the user name and password with which you want to access the IBM DB2 server.
-
Connect to database: Type the name of the database to which you want to connect on the IBM DB2 server.
-
Advanced: Optionally, you can click this button to specify additional parameters you want to add to the connection string that will be used to access the IBM DB2 server. In the dialog box that opens, click Add Parameter to specify the name and value of the parameter you want to add to the connection string.
- Test Connection: Click this button to verify the specified connection settings.