IBM Support

IT15107: DB2CONVERT FAILS WITH SQL0802N WHEN TABLE HAS MORE THAN 2147483647 ROWS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • db2convert utility fails with
    
      SQL0802N Arithmetic overflow or other arithmetic exception
    occurred.  SQLSTATE=2200
    
    when trying to convert a table that has more than 2147483647
    rows (the max limit of a signed 32-bit integer).
    

Local fix

  • Customer can try to accomplish the same result using other
    tools/methods, for example
    -- manually create the column-organized table, do a LOAD FROM
    CURSOR, drop original table, rename column-organized table to
    original name
    -- use ADMIN_MOVE_TABLE manually
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * First fixed in Db2 11.1 fp5                                  *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 fp5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT15107

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-05-04

  • Closed date

    2019-11-13

  • Last modified date

    2019-11-13

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

  • 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

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
13 November 2019