IC84563: WITH MULTI-ROW INSERT, AFTER AN APPLICATION ENDS CHAINING AND IT FAILS, THE NEXT SQLFETCH GETS ERROR CLI0115E

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • After a CLI (Call Level Interface) application sets the
    attribute SQL_ATTR_CHAINING_END for a statement handle (to end
    Multi-Row Insert chaining) and it fails for any reason, the next
    call to SQLFetch for any statement handle by the same CLI
    application then fails with the error:
    "[IBM][CLI Driver] CLI0115E  Invalid cursor state.
    SQLSTATE=24000".
    
    The error happens only if the attribute SQL_COLUMNWISE_MRI_ON is
    set (which activates the Multi-Row Insert feature). Therefore
    the error only happens when the database server is DB2 on z/OS.
    
    The DB2 on z/OS database server gets error DSNL032I with
    REASON=00D35B13
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * CLI users connecting to DB2 for Z                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 10.1.1                                *
    ****************************************************************
    

Problem conclusion

  • Upgrade to DB2 v10.1.1 to get the error message correctly.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC84563

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-14

  • Closed date

    2012-12-11

  • Last modified date

    2012-12-11

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

    IC82198

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

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • RA10 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

10.1

Reference #:

IC84563

Modified date:

2012-12-11

Translate my page

Machine Translation

Content navigation