IBM Support

IC67964: METHOD GETUPDATECOUNT RETURNS -1 FOR BATCH UPDATES USING JCC

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The method getUpdateCount is returning -1 when using the IBM
    Data Server Driver for JDBC and SQLJ with Batch updates.
    

Local fix

  • The number of successful updates can be determined by iterating
    through the integer array returned by executeBatch.
    

Problem summary

  • Users Affected:  This issue will occur when using the JCC
    driver to execute a batch.
    
    Problem Description:  The method getUpdateCount is returning -1
    when using the IBM Data Server Driver for JDBC and SQLJ with
    Batch updates.
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 2 JCC
    Driver (3.59.81/ 4.9.78).
    
    This fix is applied to the client.
    

Temporary fix

  • The number of successful updates can be determined by iterating
    through the integer array returned by executeBatch.
    

Comments

APAR Information

  • APAR number

    IC67964

  • 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-15

  • Closed date

    2010-08-23

  • Last modified date

    2010-08-23

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

    IZ73137

  • 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

[{"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