IBM Support

IT22587: DB2LOOK FOR TIMESTAMP COLUMNS GENERATES TIMESTAMP(9) WHEN DEFINED ON DB2 FOR Z/OS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you have defined TIMESTAMP columns on a DB2 for z/OS server
    and using db2look to get the definition of the tables, you may
    obtain an incorrect output as TIMESTAMP(9) instead of TIMESTAMP.
    
    for example :
    db2 "create table t1 ( col1 timestamp )"
    db2look -d dbname -t t1 -z schema -e -o db2look.out -i username
    -w password
    
    CREATE TABLE "SCHEMA"."T1"
                    (
                     "COL1"  TIMESTAMP (9)  DEFAULT NULL,
                    )
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod3 Fix Pack 3 or higher                *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod3 Fix Pack 3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT22587

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-09-29

  • Closed date

    2018-03-19

  • Last modified date

    2018-03-19

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

    IT21406

  • 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

  • RB10 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
19 March 2018