IBM Support

IT01891: DB2LOOK GENERATES INCORRECT SYNTAX FOR DISTINCT TYPE IF IT IS SOURCED FROM TIMESTAMP DATATYPE

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • A db2look tool generates incorrect syntax for DISTINCT TYPE if
    it is sourced from TIMESTAMP datatype.
    As a consequence output generated with db2look, if DISTINCT TYPE
    was defined with TIMESTAMP usage, might report error during
    loading this data.
    

Local fix

  • Manual fix of extracted previously DDL statements with db2look
    utility is needed in order to prevent DB21034E error during
    loading inappropriate DDL.
    For example statement:
      CREATE DISTINCT TYPE "MYSCHEMA"."MYTYPE" AS "SYSIBM
    ".TIMESTAMP(10,6)
    can be changed to proper one:
      CREATE DISTINCT TYPE "MYSCHEMA"."MYTYPE" AS "SYSIBM
    ".TIMESTAMP(6)
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 10                       *
    ****************************************************************
    

Problem conclusion

  • Fixed in DB2 Version 9.7 Fix Pack 10
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT01891

  • 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

    2014-05-20

  • Closed date

    2014-12-19

  • Last modified date

    2014-12-19

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

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

    IT01930 IT01931

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

Modified date: 19 December 2014