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.