IBM Support

IC77130: DROP TABLE FAILS WITH SQL1034C AFTER INSPECT INDEXDATA COMMAND

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • After running INSPECT with the INDEXDATA option on a partitioned
    table with partitioned indexes, an attempt to drop that table
    may fail with a critical error SQL1034C.
    
    The drop command may fail with the following error:
    
    DB21034E  The command was processed as an SQL statement because
    it was not a
    valid Command Line Processor command.  During SQL processing it
    returned:
    SQL1034C  The database is damaged.  All applications processing
    the database
    have been stopped.  SQLSTATE=58031
    
    In the db2diag.log, you will see entries similar to this:
    
    2011-04-20-12.02.32.444843-240 I7348E571            LEVEL:
    Severe
    PID    : 32742                TID  : 47435351058752 KTID : 14489
    PROC    : db2sysc 0
    INSTANCE: db2test              NODE : 000          DB  : SAMPLE
    APPHDL  : 0-164                APPID: *N0.xxxxxx.9999999
    AUTHID  : TEST
    EDUID  : 439                  EDUNAME: db2agent (SAMPLE) 0
    FUNCTION: DB2 UDB, data management, sqldDelTCB, probe:9018
    RETCODE : ZRC=0x87040055=-2029780907=SQLD_PRGERR "Unknown
    PROGRAM ERROR"
              DIA8576C A data management services programming error
    occurred.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of partitioned tables with partitioned indexes         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * After running INSPECT on a partitioned table with            *
    * partitioned indexes, you may hit an error when dropping that *
    * table.                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to the latest fix pack.                              *
    ****************************************************************
    

Problem conclusion

  • Problem is first fixed in DB2 UDB version 9.7 fix pack 5.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC77130

  • 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

    2011-06-23

  • Closed date

    2011-12-08

  • Last modified date

    2011-12-08

  • 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

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC77130

Modified date: 08 December 2011