IBM Support

IC67629: JCC SQLJ BATCH INSERTS RETURNS ARRAYINDEXOUTOFBOUNDSEXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When performing heterogeneous batch INSERTs using customized
    SQLJ the following error is returned from the JDBC/JCC driver:
    
    Exception data:
    
    java.lang.ArrayIndexOutOfBoundsException: 4
    at com.ibm.db2.jcc.t4.lb.a(lb.java:1149)
    at com.ibm.db2.jcc.t4.lb.a(lb.java:763)
    at com.ibm.db2.jcc.t4.lb.a(lb.java:178)
    at com.ibm.db2.jcc.t4.vb.a(vb.java:175)
    at com.ibm.db2.jcc.am.um.a(um.java:2823)
    at com.ibm.db2.jcc.am.um.a(um.java:4494)
    at com.ibm.db2.jcc.am.um.a(um.java:4167)
    at com.ibm.db2.jcc.am.um.c(um.java:4037)
    at com.ibm.db2.jcc.am.um.executeBatch(um.java:4023)
    ...
    ...
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR DESCRIPTION.                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade the JDBC/JCC driver.                                 *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in v9.7 Fixpack 2.  At minimum the fix
    should be applied to the client.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC67629

  • 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-04-05

  • Closed date

    2010-07-12

  • Last modified date

    2010-07-12

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

    IC67628

  • 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

  • R820 PSN

       UP

  • R910 PSN

       UP

  • R950 PSN

       UP

  • R970 PSN

       UP

  • R980 PSN

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7"}]

Document Information

Modified date:
16 September 2021