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

CALL TO STORED PROCEDURE WHICH WORKS IN V8.2, FAILS IN V9.5 WITH RGBVALUE
4.

product:
DB2 CONNECT / DB2CONNCT / A10 - DB2
Problem description:
Stored procedure that worked in DB2 V8 no longer works in 
Version 9.5. 
 
Here the customers are using identical buffers for both rgbValue 
[ Which stores the value returned from the SP ]  and pcbValue 
[Which stores the length of the datatype returned ]. 
 
 
As pcbValue is processed after rgbValue so the output value [ 0 
] of the Sp is overwritten by the length of the return type [ 4 
] and hence the customers were getting the rgbValue as 4 instead 
of 0 which is expected. 
 
But in v8 it was done the other way around, so the customers 
used to get 0 which is their expected value.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* When the stored procedure was called it was giving a wrong   * 
* answer, which it should not have.                            * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade product to v.10.fp2                                  * 
****************************************************************
Local Fix:
available fix packs:
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
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
14.06.2012
18.12.2012
18.12.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.2 FixList
10.5.0.2 FixList