IBM Support

LI73138: 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

  • See Problem Description.
    

Problem conclusion

  • First fixed in DB2 Version 9.1, FixPak 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI73138

  • Reported component name

    DB2 UDE ESE LIN

  • Reported component ID

    5765F4104

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-15

  • Closed date

    2008-07-14

  • Last modified date

    2008-07-14

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

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

    LI73325 LI73326

Fix information

  • Fixed component name

    DB2 UDE ESE LIN

  • Fixed component ID

    5765F4104

Applicable component levels

  • R910 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"910","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 October 2021