Purpose

Specifies the host name of the client machine to be stored in the database. This property sets the CURRENT CLIENT_WRKSTNNAME register (Db2 for Linux/UNIX/Windows) or CLIENT WRKSTNNAME register (Db2 for z/OS and Db2 for i) in the database. This value is used for database administration/monitoring purposes.

Valid Values

string

where:

string
is the host name of the client machine.

Notes

  • Your database may impose character length restrictions on the value. If the value exceeds a restriction, the driver truncates it.

Data Source Methods

public String getClientHostName()

public void setClientHostName(String)

Default

No default value

Data Type

String

See also

Client information