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

SQLPROCEDURECOLS RETURN DUPPLICATE ROWS WHEN THERE ARE MORE THAN ONE
PROCEDURE WITH THE SAME ROUTINENAME AND SPECIFICNAME

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
db2 "CREATE TABLE newton.tabm  ( "COL1" INTEGER , "COL2" INTEGER 
) " 
 
db2 "CREATE MODULE newton.mod1" 
db2 "ALTER MODULE newton.mod1 PUBLISH PROCEDURE 
T_NMPMODULE_SP120(IN p1 INT, OUT p2 INT) specific p1 BEGIN SET 
p2 = p1; END" 
 
 
db2 "CREATE MODULE "NEWTON  "."T_NMPMODULE_M611"" 
db2 "ALTER MODULE newton.T_NMPMODULE_M611 PUBLISH PROCEDURE 
T_NMPMODULE_SP120(IN param1 INT, IN param2 INT, OUT param3 INT) 
specific p1 BEGIN SET param3 = param1+param2; END" 
 
db2 "create PROCEDURE T_NMPMODULE_SP120(IN pm1 INT, IN pm2 INT, 
OUT pm3 INT) specific p1 BEGIN SET pm3 = pm1+pm2; END" 
 
db2 "call 
sysibm.SQLProcedurecols('','%','T_NMPMODULE_SP120','%','DATATYPE 
=''ODBC''')" 
 
Above call returns 13 records but it should actually return 8 
records
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users of SQLPROCEDURECOLS                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 LUW V10.1 FP1                                 * 
****************************************************************
Local Fix:
available fix packs:
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Solution
Fixed in DB2 LUW V10.1 FP1
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
14.06.2012
15.11.2012
15.11.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.1 FixList
10.5.0.1 FixList