IBM Support

IZ52211: WITH CLI STATEMENT CHAINING ON, AFTER YOU SUCCESSFULLY INSERT ROWS, SQLROWCOUNT() WRONGLY INDICATES ZERO ROWS WERE INSERTED.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In CLI (Call Level Interface) applications, after you begin CLI
    array input chaining
    by setting the statement attribute SQL_ATTR_CHAINING_BEGIN,
    then you insert rows using a statement whose parameter markers
    are bound with column-wise array input,
    when you then call SQLRowCount() it wrongly indicates that zero
    rows were inserted.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of CLI (Call Level Interface) applications with DB2    *
    * for Linux, UNIX and Windows                                  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In CLI (Call Level Interface) applications, after you begin  *
    * CLI array input chaining by setting the statement attribute  *
    * SQL_ATTR_CHAINING_BEGIN, then you insert rows using a        *
    * statement whose parameter markers are bound with column-wise *
    * array input, when you then call SQLRowCount() it wrongly     *
    * indicates that zero rows were inserted.                      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * .                                                            *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.5 Fix Pack 5.
    At a minimum, this fix should be applied on the client.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ52211

  • Reported component name

    DB2 CEE AIX

  • Reported component ID

    5765F3000

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-05-28

  • Closed date

    2010-03-10

  • Last modified date

    2010-12-11

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

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

    IC61359 IZ55353

Modules/Macros

  • ENGN_CLI
    

Fix information

  • Fixed component name

    DB2 CEE AIX

  • Fixed component ID

    5765F3000

Applicable component levels

  • R910 PSN

       UP

  • R950 PSN

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950"}]

Document Information

Modified date:
04 October 2021