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 | |
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 | |
10.5.0.2 |