Use the following procedure to configure the TCP/IP software for XDB Link. Use your values from the TCP Host/Service worksheet to complete these steps.
To configure TCP/IP perform the following steps:
If you a running under... | Look for these files in... |
---|---|
Windows NT | C:\WinNT\SYSTEM32\DRIVERS\ETC |
Windows 95 or 98 | C:\WINDOWS |
IPAddress IPName
where:
For example: 204.17.148.230 LUDB2
If this is the last line in the HOSTS file, type a carriage return at the end of the line.
ServiceName Port/tcp
where:
ServiceName specifies a name that represents the port number on the host system. (You will use this name when you configure XDB Link in a later step.) Type the ServiceName in uppercase letters. Lowercase characters will cause problems under certain circumstances.
Port specifies the dedicated TCP/IP port assigned to the XDB Link Host Option on the host system. Use the value in J4 of the TCP Host/Service worksheet.
For example:
XDBSRV 5170/tcp
If this is the last line in the SERVICES file, type a carriage return at the end of the line.
When connecting to DB2 with native TCP/IP: