IBM Support

PH07669: SENDING SQL STATEMENT WITH MULTI-LINE COMMENT TO IBM DATA SERVERMANAGER MAY BE VERY SLOW

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Tuning SQL statement can be very slow if it starts with a
    multi-line comment and is not explainable.
    For example, the following statement reproduces this issue:
    
    /* IBM_DSM */ EXPLAIN ALL SET QUERYNO = 1234 FOR SELECT * FROM
    SYSIBM.SYSTABLES WHERE NAME = 'SYSTABLES';
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Users of IBM Db2 Query Monitor z/OS.         *
    ****************************************************************
    * PROBLEM DESCRIPTION: Tuning SQL statement can be very slow   *
    *                      if it starts with a multi-line comment  *
    *                      and is not explainable. For example,    *
    *                      the following statement reproduces      *
    *                      this issue:                             *
    *                                                              *
    *                      (* IBM_DSM *) EXPLAIN ALL SET           *
    *                      QUERYNO = 1234 FOR SELECT * FROM        *
    *                      SYSIBM.SYSTABLES WHERE NAME =           *
    *                      'SYSTABLES';                            *
    ****************************************************************
    * RECOMMENDATION: APPLY the PTF.                               *
    ****************************************************************
    Code has been changed to correct this condition.
    

Problem conclusion

  • APPLY the PTF.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH07669

  • Reported component name

    DB2 QUERY MONIT

  • Reported component ID

    5655E6701

  • Reported release

    330

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-01-23

  • Closed date

    2019-01-24

  • Last modified date

    2019-02-02

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

    PI98799

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

    UI60919

Modules/Macros

  • CQMCAEPT CQMCPXPT
    

Fix information

  • Fixed component name

    DB2 QUERY MONIT

  • Fixed component ID

    5655E6701

Applicable component levels

  • R330 PSY UI60919

       UP19/01/29 P F901

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":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.3.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 December 2020