The following table lists the client info property values that the IBM Data Server
Driver for JDBC and SQLJ returns for DB2 for z/OS
Table 12. Client info property values for DB2 for z/OS
NAME MAX_LEN DEFAULT_VALUE for type 4 connectivity
DEFAULT_VALUE
for type 2
connectivity DESCRIPTION
ApplicationName 32 clientProgramName property value, if set.
″db2jcc_application″ otherwise.
Empty string The name of the
application that is
currently using the
connection.
ClientAccountingInformation 200 A string that is the concatenation of the
following values:
v ″JCCnnnnn″, where nnnnn is the driver
level, such as 04000.
v The value that is set by
DB2Connection.setDB2ClientWorkstation.
If the value is not set, the default is the
host name of the local host.
v applicationName property value, if set. 20
blanks otherwise.
v clientUser property value, if set. Eight
blanks otherwise.
Empty string The value of the
accounting string
from the client
information that is
specified for the
connection.
ClientHostname 18 The value that is set by
DB2Connection.setDB2ClientWorkstation.If
the value is not set, the default is the host
name of the local host.
Empty string The host name of
the computer on
which the
application that is
using the
connection is
running.
ClientUser 16 The value that is set by
DB2Connection.setDB2ClientUser.Ifthe
value is not set, the default is the current
user ID that is used to connect to the
database.
Empty string The name of the
user on whose
behalf the
application that is
using the
connection is
running.
The following table lists the client info property values that the IBM Data Server
Driver for JDBC and SQLJ returns for IBM Informix Dynamic Server
Table 13. Client info property values for IBM Informix Dynamic Server
NAME MAX_LEN DEFAULT_VALUE DESCRIPTION
ApplicationName 20 Empty string The name of the application
that is currently using the
connection.
ClientAccountingInformation 199 Empty string The value of the accounting
string from the client
information that is specified for
the connection.
ClientHostname 20 The value that is set by
DB2Connection.setDB2ClientWorkstation.If
the value is not set, the default is the host
name of the local host.
The host name of the computer
on which the application that is
using the connection is
running.
ClientUser 1024 Empty string The name of the user on whose
behalf the application that is
using the connection is
running.
64 Application Programming Guide and Reference for Java
â„¢