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

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

product:
DB2 FOR LUW / DB2FORLUW / 970 - 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 V97 FP5                                   * 
****************************************************************
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
Problem first fixed in DB2 LUW V97FP5
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC84482 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
07.03.2012
05.06.2012
05.06.2012
Problem solved at the following versions (IBM BugInfos)
9.7.FP5
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.6 FixList