IBM Support

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

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error 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.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * CALL TO STORED PROCEDURE WHICH WORKS IN V8.2, FAILS IN V9.5  *
    * WITH                                                         *
    * RGBVALUE 4.                                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * upgrade to product version v.95.fp10                         *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC82417

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-02

  • Closed date

    2012-10-31

  • Last modified date

    2012-10-31

  • APAR is sysrouted FROM one or more of the following:

    IC82132

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

  • R950 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC82417

Modified date: 31 October 2012