IBM Support

IC64609: SERVER DESCRIBES NOT NULL COLUMNS AS NULLABLE

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

  • When a SELECT statement contains a subquery, the database server
    will describe a column defined as not null incorrectly as
    nullable.
    
    For example, if the table is defined as:
    
    CREATE TABLE foo
    (
            integer_col integer      not null,
            serial_col  serial       not null,
            varchar_col varchar(250) not null
    )
    ;
    
    When running the following select statement, the database server
    will describe the integer and varchar colums as nullable.  The
    serial column is correctly described as "not nullable".
    
    select * from (select * from foo)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IDS 11.50.xC5 users                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When there is a derived table query the not-null constraints *
    * defined on a particular column are not propagated up into    *
    * the projection clause of the main query. An application      *
    * programmer will not correctly see that a particular output   *
    * column has  a not-null constraint.                           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IDS 11.50.xC6 and above.                          *
    ****************************************************************
    

Problem conclusion

  • Problem first fixed in IDS 11.50.xC6.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC64609

  • Reported component name

    IBM IDS ENTRP E

  • Reported component ID

    5724L2304

  • Reported release

    B15

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-11-17

  • Closed date

    2010-02-17

  • Last modified date

    2010-02-17

  • 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

    IBM IDS ENTRP E

  • Fixed component ID

    5724L2304

Applicable component levels

  • RB15 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B15","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
17 February 2010