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 IT03056 Status: Closed

TRANSLATE BUILT-IN FUNCTION FAILS WITH SQLSTATE 57017 ON UNICODE DATABASE

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
On a unicode database, the built-in function SYSIBM.TRANSLATE 
may fail with SQLSTATE 57017 when the arguments are a mix of 
graphic and FOR BIT DATA strings.  For example, the following 
usage should return CHAR(10) but fails with SQLSTATE 57017: 
 
SYSIBM.TRANSLATE( CHAR(10), VARCHAR(10) FOR BIT DATA, 
GRAPHIC(10) )
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.1 fix pack 5                       * 
****************************************************************
Local Fix:
Cast the graphic arguments to non-graphic
Solution
First fixed in DB2 version 10.1 fix pack 5
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
09.07.2014
13.07.2015
13.07.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.5 FixList