Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IT06599 Status: Geschlossen

DB2 VARCHAR_BIT_FORMAT ALLOWING ODD LENGTH INPUT

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
DB2 function HEXTORAW (VARCHAR_BIT_FORMAT) does not accept odd 
length input. 
 
Note the HEXTORAW function is a synonym for the 
VARCHAR_BIT_FORMAT 
function with a single argument. 
 
 
The documentation states: 
"the length must be an even number of characters" 
 
And the following call produces an error: 
 
db2 "select VARCHAR_BIT_FORMAT('ABC') from sysibm.sysdummy1" 
 
1 
----- 
SQL0171N  The statement was not processed because the data type, 
length or 
value of the argument for the parameter in position "1" of 
routine 
"SYSIBM.VARCHAR_BIT_FORMAT" is incorrect. Parameter name: 
"character-expression".  SQLSTATE=42815 
 
This APAR will allow for the this function to accept odd length 
input with the output having a 
zero appended to it, optionally enabled by a registry variable. 
 
eg: 
 
db2 "select VARCHAR_BIT_FORMAT('ABC') from sysibm.sysdummy1" 
 
1 
------- 
x'ABC0' 
 
  1 record(s) selected. 
 
To enable this functionality, set the following registry 
 
DB2_RUNTIME_DEBUG_FLAGS=DISABLE_BLANK_TOLERANCE 
 
Under SAP workloads, this is enabled by default 
 
Setting DB2_WORKLOAD=SAP will set 
DB2_RUNTIME_DEBUG_FLAGS=DISABLE_BLANK_TOLERANCE.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to  DB2 V10.5.FixPack7                               * 
****************************************************************
Local-Fix:
Lösung
First fixed in DB2 V10.5.FixPack7
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
19.01.2015
19.01.2016
19.01.2016
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.7 FixList