IBM Support

IT21985: DOING LIKE ON A CODEUNITES32 FIXED LENGTH COLUMN  IN THE COLUMNAR ORGANIZED TABLE COULD RETURN AN INCORRECT RESULT

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Example:
    CREATE TABLE TEST_ROW (TEST CHAR(2 CODEUNITS32)) organize by row
    
    INSERT INTO TEST_ROW VALUES ('AE')
    select * from  TEST_ROW WHERE  TEST LIKE 'AE'
    TEST
    --------
    AE
    
    
    CREATE TABLE TEST_CDE (TEST CHAR(2 CODEUNITS32)) organize by
    column
    INSERT INTO TEST_CDE VALUES ('AE')
    select * from  TEST_CDE WHERE  TEST LIKE '%AE'
    TEST
    --------
    
      0 record(s) selected.
    

Local fix

  • avoid using CODEUNITS32 FIXED LENGTH COLUMNS
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * CODEUNITES32 FIXED LENGTH COLUMNS                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please See Error Description and install fix.                *
    ****************************************************************
    

Problem conclusion

  • Please See Error Description and install fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT21985

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-11

  • Closed date

    2018-03-16

  • Last modified date

    2018-03-16

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

    IT21971

  • 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"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
07 May 2020