IBM Support

IC65255: QUERY CONTAINING LEFT/RIGHT OUTER JOIN (LOJ), UNION ALL AND ANSI INNER JOIN OVER DISTINCT SUBSELECT WITH LOJ MAY ABEND INSTANCE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • DB2 instance may abend if a query with the following
    characteristics is issued:
    - Contains a subselect which consumes the output of a union all
    (UA) and an ansi inner join (IJ)
    - The subselect joins the UA and IJ with a left or right outer
    join (LOJ) where the UA is a null-producer for the LOJ
    - The IJ consumes a distinct subselect (DISTSEL)
    - DISTSEL contains a left or right outer join (LOJ')
    

Local fix

  • Rewrite the query in question to a semantically equivalent form
    that precludes the conditions described
    

Problem summary

  • DB2 instance may abend if a query with the following
    characteristics is issued:
    - Contains a subselect which consumes the output of a union all
    (UA) and an ansi inner join (IJ)
    - The subselect joins the UA and IJ with a left or right outer
    join (LOJ) where the UA is a null-producer for the LOJ
    - The IJ consumes a distinct subselect (DISTSEL)
    - DISTSEL contains a left or right outer join (LOJ')
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.1, FixPak 9
    

Temporary fix

  • Rewrite the query in question to a semantically equivalent form
    that precludes the conditions described
    

Comments

APAR Information

  • APAR number

    IC65255

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-12-23

  • Closed date

    2010-04-14

  • Last modified date

    2010-04-14

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

    IZ67361

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

    IC65403

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R910 PSY

       UP

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

Document Information

Modified date:
16 September 2021