IBM Support

IC67238: DB2 JCC TYPE4 DRIVER FORGETS THE CURRENTSCHEMA VALUE IF ROLLBACK IMMEDIATELY AFTER A NEW CONNECTION AND ENABLESYSPLEXWLB=TRUE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • The special registers are sent with the first SQL on a
    connection and when the commit or rollback is called after the
    first SQL the server returns the current special registers
    values effective at that point in time on a connection. The
    driver only remembers these special registers values returned
    from the server at the transaction boundary and clears any
    values that were set on the datasource property (i.e
    currentSchema). For subsequent transactions if the driver picks
    a new DB2 member it flows these remembered values first before
    flowing any new SQLs.
    
    But if an application is calling rollback as the first thing on
    a connection the server does not return any  special registers
    values back and the driver clears anything that is set as a
    property.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users prior to DB2 V97 FP2                               *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * DB2 JCC TYPE4 DRIVER FORGETS THE CURRENTSCHEMA VALUE IF      *
    * ROLLBACK                                                     *
    * IMMEDIATELY AFTER A NEW CONNECTION AND ENABLESYSPLEXWLB=TRUE *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please upgrade to DB2 V97 FP2                                *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 V97 FP2
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC67238

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-03-16

  • Closed date

    2010-07-22

  • Last modified date

    2010-07-22

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

    IZ72547

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC67238

Modified date: 22 July 2010