You can connect DB2 databases using these ways:

1. Opening through FD interface. Select FD interface, click DB2, then fill needed database parameters.

2. Opening through ODBC DSN (interface: ADO or BDE). Select ODBC data source option and then select the ODBC DSN from the drop-down list. But first, you should create an ODBC DSN of the corresponding type using Windows administrative tools, and point it to the database.

3. Opening through connection string (interface: ADO). Select Connection string option and write a connection string. This way is the most flexible one because it allows to specify many additional parameters in the connection string and override standard Exportizer connection behavior. But it is recommended basically for advanced users. Here are basic connection strings (more examples and details can be found in the Internet):

Provider=DB2OLEDB;Network Transport Library=TCPIP;Network;Initial Catalog=MyCatalog;Package Collection=MyPkgCol;Default Schema=mySchema;User ID=myUsername;Password=myPassword;   (Microsoft OLE DB Provider for DB2 must be installed)

Provider=IBMDADB2;Database=myDatabase;Hostname=myServerAddress;Protocol=TCPIP;Port=50000;Uid=myUsername;Pwd=myPassword;   (IBM OLE DB Provider for DB2 must be installed)

Driver={IBM DB2 ODBC DRIVER};Database=myDbName;Hostname=myServerAddress;Port=myPortNum;Protocol=TCPIP;Uid=myUserName;Pwd=myPwd   (IBM DB2 Driver for ODBC must be installed)

DB2 client must be installed. The bit-version of it (32 or 64) must match the bit-version of the application.
This database type is supported only in Exportizer Enterprise. Exportizer Pro can open such database via ODBC only.

See also

 Connection Strings Examples