IBM Support

JR27555: UNDER CERTAIN STRICT CONDITIONS A QUERY INVOLVING AN OUTERJOIN MAY RESULT IN A CRASH.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With the registry variable DB2COMPOPT is set a query involving
    all of:
    
    - one or more outer joins with at least one NULL producing
      operand consisting of a nested sub-select statement
    - outer join clause that contains a simple equality predicate
      referencing multiple columns
    - the outer join row preserving operand is a sub-select that
      contains GROUP BY, UNION, INTERSECT, EXCEPT or a nested
      table modification operand (UPDATE, INSERT, DELETE)
    
    may result in a crash whilst it is being compiled.
    

Local fix

  • Unset the DB2COMPOPT registry variable and consult with DB2
    support about possible side effects from un-setting it.
    

Problem summary

  • Users affected: Only those meeting strict conditions required
    for this APAR to be prevalent (see problem summary)
    Problem description:  Under certain strict conditions a query
    involving an outerjoin may result in a crash.
    Problem summary:
    With the registry variable DB2COMPOPT is set a query involving
    all of:
    
    - one or more outer joins with at least one NULL producing
      operand consisting of a nested sub-select statement
    - outer join clause that contains a simple equality predicate
      referencing multiple columns
    - the outer join row preserving operand is a sub-select that
      contains GROUP BY, UNION, INTERSECT, EXCEPT or a nested
      table modification operand (UPDATE, INSERT, DELETE)
    
    may result in a crash whilst it is being compiled.
    

Problem conclusion

  • First fixed in DB2 UDB Version 9.5, FixPak 1
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR27555

  • Reported component name

    DB2 UDB EXE WIN

  • Reported component ID

    5724E4901

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-10-29

  • Closed date

    2009-04-21

  • Last modified date

    2009-04-21

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

    JR26652

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

Fix information

  • Fixed component name

    DB2 UDB EXE WIN

  • Fixed component ID

    5724E4901

Applicable component levels

  • R950 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"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:
21 April 2009