IBM Support

PK22347: ABEND0C4 IN ODBC DRIVER WHEN OTHER THREAD TO ACCESS THE CLI_STATEMENTINFO BLK BEFORE IT IS FULLY INITIALIZED.

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • abend0c4 in odbc driver when other thread to access the CLI_STAT
    EMENTINFO blk before it is fully initialized.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of DB2 UDB for OS/390 and z/OS     *
    *                 Version 7 ODBC/CLI and DB2 UDB for z/OS      *
    *                 Version 8 ODBC/CLI.                          *
    ****************************************************************
    * PROBLEM DESCRIPTION: ABEND0C4 in CLI_utlUpdateCursor         *
    *                      in a multithreaded ODBC                 *
    *                      application due to unserialized         *
    *                      access to shared data.                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A timing window exists in SQLAllocStmt which allows threads
    in a multithreaded application to access the newly allocated
    statement information block before it is fully initialized.
    

Problem conclusion

  • Code is changed to ensure the statement information block is
    properly initialized during SQLAllocStmt() to avoid
    unserialized access.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK22347

  • Reported component name

    DB2 ODBC/JDBC/S

  • Reported component ID

    5740XYR02

  • Reported release

    817

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2006-03-28

  • Closed date

    2006-06-02

  • Last modified date

    2006-07-05

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

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

    UK15072 UK15071

Modules/Macros

  •    CLIDST   DSNAOCLI DSNAOC08 DSNAOSDK
    

Fix information

  • Fixed component name

    DB2 ODBC/JDBC/S

  • Fixed component ID

    5740XYR02

Applicable component levels

  • R717 PSY UK15071

       UP06/06/20 P F606

  • R817 PSY UK15072

       UP06/06/20 P F606

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEPEK","label":"Db2 for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"817"}]

Document Information

Modified date:
03 March 2021