IBM Support

IC85340: SQL0413N MAY BE RETURNED WHEN QUERYING AGAINST SYSIBMADM.DBA_IND EXES OR SYSIBMADM.DBA_IND_PARTITIONS IF FULLKEYCARD IS 0

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you have oracle compatibility mode turned on and have a
    table that has fullkeycard of zero, you may receive SQL0413N if
    you try to query against table SYSIBMADM.DBA_INDEXES. Also, when
    you have a partitioned index that has fullkeycard of zero, you
    will receive SQL0413N if you query against table
    SYSIBMADM.DBA_IND_PARTITIONS.
    
    For example,
    db2set DB2_COMPATIBILITY_VECTOR=ORA
    db2 "CREATE TABLE foo(a int)"
    db2 "CREATE INDEX i on foo(a)"
    db2 "RUNSTATS ON TABLE db2user.foo ON KEY COLUMNS AND
    INDEXES ALL"
    db2 "SELECT * FROM SYSIBMADM.DBA_INDEXES"
    SQL0413N  Overflow occurred during numeric data type conversion.
    
    or
    
    db2set DB2_COMPATIBILITY_VECTOR=ORA
    db2 "CREATE TABLE foo(a INT)  PARTITION BY RANGE (a) (STARTING
    FROM (1) ENDING AT (100) EVERY (20))"
    db2 "CREATE INDEX i ON foo(a) PARTITIONED"
    db2 "RUNSTATS ON TABLE db2user.foo ON KEY COLUMNS AND
    INDEXES ALL "
    db2 "SELECT * from SYSIBMADM.DBA_INDEXES"
    SQL0413N  Overflow occurred during numeric data type conversion.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users running servers on DB2 Version 9.7 on platforms    *
    * Linux, Unix and Windows, and querying against                *
    * SYSIBMADM.DBA_INDEXES or SYSIBMADM.DBA_IND_PARTITIONS        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * This problem is first fixed in DB2 Version v9.7 Fix Pack 7.  *
    ****************************************************************
    

Problem conclusion

  • This problem is first fixed in DB2 Version v9.7 Fix Pack 7.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC85340

  • 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

    2012-07-16

  • Closed date

    2012-10-20

  • Last modified date

    2012-10-20

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

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

    IC88321

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 October 2012