IBM Support

PH47766: EXPLAIN FOR MERGE STATEMENTS DOESN'T WORK WHEN IT'S RUN VIA ANLCSPA MACRO

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • EXPLAIN for Merge statements doesn't work when it's run via
    ANLCSPA macro
    

Local fix

  • Edit module hlq.SANLCLST(ANLCMACR) change line 000233 by adding
    MERGE keyword:
    'SELECT DECLARE INSERT UPDATE DELETE CREATE SET WITH MERGE')
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: IBM Db2 SQL Performance Analyzer users       *
    *                 of components:                               *
    *                 - ISPF and Batch Process SQL from a          *
    *                 sequential data set or PDS member via        *
    *                 ANLCSPA macro                                *
    ****************************************************************
    * PROBLEM DESCRIPTION: EXPLAIN for Merge statements doesn't    *
    *                      work when it's run via ANLCSPA macro    *
    ****************************************************************
    * RECOMMENDATION: Apply the PTF                                *
    ****************************************************************
    EXPLAIN for Merge statements doesn't work when it's run via
    ANLCSPA macro
    

Problem conclusion

  • Code logic was corrected to fix the issue described.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH47766

  • Reported component name

    DB2 SQL PERF AN

  • Reported component ID

    5697F5701

  • Reported release

    510

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-07-05

  • Closed date

    2022-08-09

  • Last modified date

    2022-09-01

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

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

Modules/Macros

  • ANLBATCH ANLCDISC ANLCFINE ANLCMACR ANLICRE8 ANLMAIN  ANLPH020
    ANLPHV03 ANLSQLPA ANLTSO
    

Fix information

  • Fixed component name

    DB2 SQL PERF AN

  • Fixed component ID

    5697F5701

Applicable component levels

  • R510 PSY UI81872

       UP22/08/12 P F208

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSZJXP","label":"DB2 Tools for z\/OS"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.1.0","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
01 September 2022