IBM Support

IC96250: DB2LOOK DOES NOT GENERATE COLUMN OPTIONS FOR TYPED TABLES

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Db2look utility does not generate column options for typed
    tables.
    
    Example:
    $ db2 CONNECT TO SAMPLE
    $ db2 "CREATE TYPE Person_t AS (Name VARCHAR(20), Age INTEGER)
    REF USING INTEGER MODE DB2SQL"
    $ db2 "CREATE TABLE PERSON OF Person_t (REF IS Oid USER
    GENERATED, Name WITH OPTIONS NOT NULL)"
    $ db2look -d SAMPLE -t PERSON -e
    [...]
    ------------------------------------------------
    -- DDL Statements for Table "DB2INST1"."PERSON"
    ------------------------------------------------
    
    CREATE TABLE "DB2INST1"."PERSON" OF "DB2INST1"."PERSON_T"
     (REF IS "OID" USER GENERATED)
     IN "USERSPACE1" ;
    [...]
    
    "Name WITH OPTIONS NOT NULL" clause has not been generated.
    

Local fix

  • Adjust generated DDL manually
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.7 Fix Pack 9.                       *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 version 9.7 Fix Pack 9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC96250

  • 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

    2013-09-25

  • Closed date

    2013-12-16

  • Last modified date

    2013-12-16

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

    IC95043

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

Modified date: 16 December 2013