DB2 Version 9.7 for Linux, UNIX, and Windows

Hostname CLI/ODBC configuration keyword

Specifies the server system's host name or IP address, used with file DSN or in a DSN-less connection.

db2cli.ini keyword syntax:
Hostname = host name | IP Address
Default setting:
None
Only applicable when:
Protocol set to TCPIP
Usage notes:
 

Use this option in conjunction with the ServiceName option to specify the required attributes for a TCP/IP connection from this client machine to a server running DB2®. These two values are only considered when the Protocol option is set to TCPIP.

Specify either the server system's host name or its IP address.