IBM Support

LI73326: DB2LOOK DOES NOT PLACE DOUBLE QUOTES AROUND TABLESPACE NAMES FOR TYPED TABLES.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2LOOK does not place double quotes around tablespace names for
    typed tables.   This causes the create table statment to fail
    when using a delimited identifier as that tablespace name.
    
    
    create tablespace "MixedCase" managed by system using
     ('/tmp/db2inst1/aa');
    
    
    CREATE TYPE Address_t AS
         (Street varchar(80),
          City   varchar(80),
          State  char(2),
          Zip    char(10))
          MODE DB2SQL;
    
    CREATE TYPE Person_t AS
          (Name VARCHAR(20),
          Age INT,
          Address Address_t)
          REF USING VARCHAR(13) FOR BIT DATA
          MODE DB2SQL;
    
    CREATE TABLE Person OF Person_t
          (REF IS Oid USER GENERATED)
    in "MixedCase";
    
    db2look -d <dbname> -e -t person
    
     CREATE TABLE "DB2INST1"."PERSON" OF "DB2INST1"."PERSON_T"
     (REF IS "OID" USER GENERATED)
     IN MixedCase ;
    
    Trying to execute the create table statement produces an error
    
    DB21034E  The command was processed as an SQL statement because
    it was not a
    valid Command Line Processor command.  During SQL processing it
    returned:
    SQL0204N  "MIXEDCASE" is an undefined name.  SQLSTATE=42704
    

Local fix

Problem summary

  • User Affected:  All users using typed tables
    
    Problem Description:  db2look does not place qoutes around the
    tablespace name of typed tables.
    
    Problem Summary:  db2look does not place quotes around the
    tablespace names of typed tables.
    

Problem conclusion

  • Problem was first fixed in Version 95 Fix Pack 2.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI73326

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-04-11

  • Closed date

    2008-11-04

  • Last modified date

    2008-11-04

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

    LI73138

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

Fix information

  • Fixed component name

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

  • R810 PSN

       UP

  • R820 PSN

       UP

  • R910 PSN

       UP

  • R950 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":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
04 November 2008