IBM Support

IC88352: INCORRECT VALUE IN EXPLAIN_PREDICATE.SUBQUERY WHEN EXPLAINING FROM A SECTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When capturing section explain information, the value of column
    SUBQUERY of the explain table EXPLAIN_PREDICATE may incorrectly
    be 'N' for some predicates.
    

Local fix

  • A workaround is to select the following expression instead of
    selecting the SUBQUERY column directly.
    
    SELECT CASE LENGTH(TRIM(WHEN_EVALUATED)) WHEN 0 THEN 'N' ELSE
    'Y' END AS SUBQUERY FROM EXPLAIN_PREDICATE
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * LUW users with Subquery predicates                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade the server to DB2 for Linux, Unix and Windows to     *
    * Version 10.1 Fixpack 2.                                      *
    ****************************************************************
    

Problem conclusion

  • DB2 for Linux, Unix and Windows Version 10.1 Fixpack will
    properly display the Subquery indicator as "Y" or "N" in the
    EXPLAIN_PREDICATE table, in the SUBQUERY column, when and
    explain from section is used to gather an explain containing
    subqueries.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC88352

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-17

  • Closed date

    2012-12-17

  • Last modified date

    2012-12-17

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

    IC82361

  • 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

  • RA10 PSN

       UP

  • RA10 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
17 December 2012