EasyManuals Logo

IBM DB2 User Manual

IBM DB2
585 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #353 background imageLoading...
Page #353 background image
length is 22 bytes. A Java empty string (″″) is valid for this parameter
value, but a Java null value is not valid.
Important: setDB2ClientAccountingInformation is deprecated in the JDBC 4.0
implementation of the IBM Data Server Driver for JDBC and SQLJ. Use
java.sql.Connection.setClientInfo instead.
setDB2ClientApplicationInformation
Format:
public String setDB2ClientApplicationInformation(String info)
throws java.sql.SQLException
Specifies application information for the current client.
Important: setDB2ClientApplicationInformation is deprecated in the JDBC 4.0
implementation of the IBM Data Server Driver for JDBC and SQLJ. Use
java.sql.Connection.setClientInfo instead.
Parameter description:
info
User-specified application information. The maximum length depends on
the server. For a DB2 Database for Linux, UNIX, and Windows server, the
maximum length is 255 bytes. For a DB2 for z/OS server, the maximum
length is 32 bytes. A Java empty string (″″) is valid for this parameter
value, but a Java null value is not valid.
setDB2ClientDebugInfo
Formats:
public void setDB2ClientDebugInformation(String debugInfo)
throws java.sql.SQLException
public void setDB2ClientDebugInformation(String mgrInfo,
String traceInfo)
throws java.sql.SQLException
Sets a value for the CLIENT DEBUGINFO connection attribute, to notify the
database system that stored procedures and user-defined functions that are
using the connection are running in debug mode. CLIENT DEBUGINFO is
used by the DB2 Unified Debugger. Use the first form to set the entire CLIENT
DEBUGINFO string. Use the second form to modify only the session manager
and trace information in the CLIENT DEBUGINFO string.
The setDB2ClientDebugInfo method applies only to connections to DB2 for
z/OS database systems.
Setting the CLIENT DEBUGINFO attribute to a string of length greater than
zero requires one of the following privileges:
v The DEBUGSESSION privilege
v SYSADM authority
Parameter description:
debugInfo
A string of up to 254 bytes, in the following form:
Mip:port,Iip,Ppid,Ttid,Cid,Llvl
The parts of the string are:
Mip:port
Session manager IP address and port number
Iip Client IP address
Chapter 7. JDBC and SQLJ reference information 337
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the IBM DB2 and is the answer not in the manual?

IBM DB2 Specifications

General IconGeneral
DeveloperIBM
Initial Release1983
LicenseProprietary
Written inC, C++
CategoryDatabase Management System (RDBMS)
Operating SystemLinux, Windows
Programming LanguagesC, C++
Data ModelsRelational
EditionsCommunity, Standard, Advanced
Key Featureshigh availability, scalability