IBM Support

IC82361: 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:                                              *
    * All DB2 Linux, Unix, Windows users of Section Explain        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade the DB2 Linux, Unix and Windows server to Version    *
    * 9.7 Fix Pack 7.                                              *
    ****************************************************************
    

Problem conclusion

  • Upgrade the DB2 Linux, Unix and Windows server to Version 9.7
    Fix Pack 7 in order for subquery predicates to be flagged
    properly for explain from section.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC82361

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-29

  • Closed date

    2012-10-20

  • Last modified date

    2012-10-20

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

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

    IC88352

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC82361

Modified date: 20 October 2012