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

ISSUES WITH REFERENCING THE VARIABLES IN MIXED CASES

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
When we execute the below statements we get the following error 
 
$ db2 create variable \"Ihubv97\".var9 bigint default 10125 
 
DB20000I  The SQL command completed successfully. 
 
 
$ db2 values \"Ihubv97\".var9 
 
SQL0727N  An error occurred during implicit system action type 
"10". 
Information returned for the error includes SQLCODE "-206", 
SQLSTATE 
"42703" 
 
and message tokens "IHUBV97.VAR9".  SQLSTATE=56098 
 
 
$ db2 grant all on variable \"Ihubv97\".var9 to public 
 
DB20000I  The SQL command completed successfully. 
 
 
$ db2 values \"Ihubv97\".var9 
 
SQL0727N  An error occurred during implicit system action type 
"10". 
Information returned for the error includes SQLCODE "-206", 
SQLSTATE 
"42703" 
 
and message tokens "IHUBV97.VAR9".  SQLSTATE=56098 
 
If I then create a second variable all in upper case, the error 
is 
gone, but the result is incorrect. 
 
 
$ db2 create variable Ihubv97.var9 integer default 10 
 
DB20000I  The SQL command completed successfully. 
 
$ db2 grant all on variable Ihubv97.var9 to public 
 
DB20000I  The SQL command completed successfully. 
 
$ db2 values \"Ihubv97\".var9 
 
1 
 
-------------------- 
 
                   - 
 
  1 record(s) selected. 
 
 
 
$ db2 values ihubv97.var9 
 
1 
 
----------- 
 
         10 
 
  1 record(s) selected.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* all                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to Db2 Version 9.7 fix pack 6                        * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
14.11.2011
17.07.2012
17.07.2012
Problem solved at the following versions (IBM BugInfos)
9.7.FP6
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.6 FixList