home clear 64x64
en blue 200x116 de orange 200x116 info letter User
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 IC95866 Status: Closed

SQL0104N IS RETURNED WHEN UPDATING SYSSTAT.COLDIST.COLVALUE VIA DB2LOOK
MIMIC MODE

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
The update of statistics of SYSSTAT.COLDIST.COLVALUE generated 
via db2look -m (mimic mode) may fail with SQL0104N error. 
 
The same output looks as follows: 
 
UPDATE SYSSTAT.COLDIST 
SET COLVALUE=''<value>  '', 
      VALCOUNT=<value> 
WHERE COLNAME = '<value>' AND TABNAME = 
'<value>' AND TABSCHEMA = '<SCHEMA>    ' AND TYPE      = 
'<value>' AND SEQNO     =  <value> 
DB21034E  The command was processed as an SQL statement because 
it was not a valid Command Line Processor command.  During SQL 
processing it 
returned: 
SQL0104N  An unexpected token "<value>" was found following 
"DIST SET 
COLVALUE=''".  Expected tokens may include:  "CONCAT". 
SQLSTATE=42601 
 
This occurs because of character wrapping for COLVALUE: db2look 
-m adds 
two single quotes instead of one single quote.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All Users on DB2 v10.1 FP2 and lower                         * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 v10.1 FP4                                     * 
****************************************************************
Local Fix:
As a temporary workaround: 
 
 
Remove one single quote for the COLVALUE literal in 
the update statement, then run the statement again: 
 
UPDATE SYSSTAT.COLDIST SET COLVALUE='<value>  ', 
VALCOUNT=<value> WHERE COLNAME = '<value>' AND TABNAME =
Solution
First Fixed in DB2 V10.1 FP4
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
10.09.2013
10.10.2017
10.10.2017
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)