suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT37626 Status: Closed

ERROR SQL0102N RETURNED WHEN DB CFG VARCHAR2=ON, STMT_CONC=LITERALS AND
STRING_UNITS=CODEUNITS32

product:
DB2 FOR LUW / DB2FORLUW / B50 - DB2
Problem description:
SQL statement compilation may fail with SQL0102N when the
database has the following attributes:

Varchar2 compatibility                            = ON
Statement concentrator     (STMT_CONC) = LITERALS
Default string units         (STRING_UNITS) = CODEUNITS32

The error will occur when the SQL statement has a string literal
greater than 63 characters.  For example:

values
'AAAAAAAAABAAAAAAAAABAAAAAAAAABAAAAAAAAABAAAAAAAAABAAAAAAAAABAAA
X';
SQL0102N  The string constant beginning with
"AAAAAAAAABAAAAAAAAABAAAAAAAAABAAAAAAAAABAAAAAAAAABAAAAAAAAABAAA
X"
is too long.  SQLSTATE=54002
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* ALL                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Db2 version 11.5.7.0                              *
****************************************************************
Local Fix:
Disable statement concentrator for the database:

update db cfg using STMT_CONC OFF
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* ALL                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Db2 version 11.5.7.0                              *
****************************************************************
Comment
First fixed in Db2 version 11.5.7.0
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
14.07.2021
22.11.2021
22.11.2021
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)