IBM Support

IC79611: CALL CAPTURE_STORAGEMGMT_INFO RETURNS ERROR SQL0443N, "SQL0407 TOKEN:TBSPACEID=2, TABLEID=8, COLNO=3 ". SQLSTATE=38553

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • call CAPTURE_STORAGEMGMT_INFO returns error SQL0443N, "SQL0407
    Token:TBSPACEID=2, TABLEID=8, COLNO=3".  SQLSTATE=38553
    
    This issue occurs only when database is created in Oracle mode,
    where the empty string cannot be assigned to NOT NULL column.
    
    Test Case:
    
    $ db2set -all
    [i] DB2_COMPATIBILITY_VECTOR=ORA
    
    $ db2stop force
    db2sSQL1064N  DB2STOP processing was successful.
    
    $ db2start
    db2 create db oSQL1063N  DB2START processing was successful.
    
    $ db2 create db ordb
    DB20000I  The CREATE DATABASE command completed successfully.
    
    $ db2 connect to ordb
    
       Database Connection Information
    
     Database server        = DB2/LINUXX8664 9.7.6
     SQL authorization ID   = LAPPANNA
     Local database alias   = ORDB
    
    $ db2 "call drop_storagemgmt_tables(1)"
      Return Status = 0
    
    $ db2 "call create_storagemgmt_tables('USERSPACE1')"
      Return Status = 0
    
    $ db2 "call CAPTURE_STORAGEMGMT_INFO(0,'','ORDB')"
    SQL0443N  Routine "*GMT_INFO" (specific name "") has returned an
    error SQLSTATE with diagnostic text "SQL0407 Token:TBSPACEID=2,
    TABLEID=8, COLNO=3".  SQLSTATE=38553
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * aLL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Problem Description Above.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.7  Fix Pack 6                       *
    ****************************************************************
    

Problem conclusion

  • First Fixed in Version 9.7 Fix Pack 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC79611

  • 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-11-03

  • Closed date

    2012-06-06

  • Last modified date

    2012-06-06

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

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

    IC84244

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 #: IC79611

Modified date: 06 June 2012