IBM Support

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

Subscribe

You can track all active APARs for this component.

 

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

  • RB10 PSN

       UP

[{"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":"10.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 May 2022