IBM Support

IT29577: DB2LOOK IS NOT DISPLAYING THE TABLE COMMENTS PROPERLY USING DOUBLE QUOTES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • db2look is not displaying the table comments properly when using
    double quote at the beginning, end or middle : ie :
    
    CREATE TABLE "COMMENTS" ("ID" INTEGER )ORGANIZE BY ROW
    COMMENT ON TABLE "COMMENTS" IS '"new"test"'
    
    select substr(tabname,1,10) as tabname, substr(remarks,1,30) as
    remarks  from syscat.tables where tabname='COMMENTS'
    
    TABNAME       REMARKS
    --------------- ------------------------------
    COMMENTS    "new"test"
    
    But after db2look -d testdb -e -t COMMENTS -o a.out
    
    db2look reported: INCORRECT EXTRA DOUBLE QUOTE at the beginning,
    in the middle and at the end:
    COMMENT ON TABLE "WANGYUZ9"."COMMENTS" IS '""new""test""'
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher                *
    ****************************************************************
    

Problem conclusion

  • First fixed in Db2 11.1 Mod 4 Fixpack 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT29577

  • 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

    2019-06-28

  • Closed date

    2020-01-18

  • Last modified date

    2020-01-18

  • 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

  • RB10 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"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:
18 January 2020