IBM Support

IT10642: upgrade database command failed with SQL0206N

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Upgrading from V9.5 to V9.7 may fail with SQL0206N when the
    error(sql0206N) by the 'db2 upgrade db <db name>' command.
    
    They execute db2iupgrade is completed without a problem.
    But the execute 'db2 upgrade db <db name>' is following error
    occurred.
    
    =================================
    db2 upgrade db tooldb
    
    SQL0206N "C.DATAMODEL" is not valid in the context where it is
    used.
    SQLSTATE=42703
    =================================
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 Version 9.5                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Problem Description above.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 11.                      *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 Version 9.7 Fix Pack 11.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT10642

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-08-12

  • Closed date

    2016-02-03

  • Last modified date

    2016-02-03

  • 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 #: IT10642

Modified date: 03 February 2016