Connecting systems with TCP/IP

Transmission Control Protocol/Internet Protocol (TCP/IP) is a standard communication protocol for network communications. Previous versions of DB2® supported TCP/IP requesters, although additional software and configuration was required.

About this task

The domain name (IP address) and port number (service name) uniquely identify a DB2 subsystem in the TCP/IP network. The domain name and the server port number (service name) of the database server must be defined in the communications database (CDB) at a requesting DB2 so that the DB2 subsystem can connect to a remote location. If you use a port number in the CDB to access a remote DB2 location, the port number must be defined to TCP/IP. The domain name must be defined to the TCP/IP host so that a DB2 subsystem can accept connections from remote locations. Port numbers are never used by a DB2 subsystem that accepts connections. Optionally, you can protect the port number that DB2 uses when acting as a server within TCP/IP from being used by any other task or job in the subsystem. When DDF is started, the DB2 subsystem binds itself to its designed port.