Contents Index Configuring data sources Connecting to a data source using a connection string

iAnywhere Solutions ODBC Drivers
  iAnywhere Solutions ODBC Driver for DB2

Connecting to a data source using a logon dialog box


On Windows, some ODBC applications display a logon dialog box when you are connecting to a data source. In these cases, the data source name has already been specified. For DB2, the dialog box is as follows:

In this dialog box, perform the following steps:

  1. In the IP Address field, type the IP address of the machine where the catalog tables are stored. Specify the address using the machine's numeric address (for example, 123.456.78.90) or specify its host name. If you enter a host name, the driver must find this name (with the correct address assignment) in the HOSTS file on the workstation or in a DNS server.

  2. In the TCP Port field, type the port number that is assigned to the DB2 server on the machine where the catalog tables are stored. Specify either this port's numeric address or its service name (5179 is the default port address). If you specify a service name, the driver must find this name (with the correct port assignment) in the SERVICES file on the workstation.

  3. Click OK to complete the logon and to update the values in the system information.


Contents Index Configuring data sources Connecting to a data source using a connection string