Skip to Main Content
IBM Data and AI Ideas Portal for Customers

This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (

Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea

Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal ( - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal ( - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM. - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at

Status Not under consideration
Created by Guest
Created on Jun 23, 2021

Add support for static SQL queries text storage in CQM_SUMM_TEXT

There is currently no support for the static SQL in CQM when one wants to store the SQLTEXT for such queries. Only dynamic SQL is supported. It is currently possible to see in the ISPF interface the static sql, but it is gone after a rollup of the backend temp datasets and this data is not offloaded into tables ei. CQM_SUMM_TEXT, like uit is done for dynamic SQL. Only a statement number is stored. However, this presents an obvious challange when there is a need to look at the historical data of query processing and object usage and in the meantime, the package used to execute the static SQL was already rebound, freed etc. It is often true in dynamically changing environment that programs are modified, DBRMs are newly created and packages are boud, old are freed, some are replaced. When only a stmt number is stored, it is not possible to analyze static usage of objects which can lead to invalid assumptions.

Proposed solution:

It should be a part of the process, to extract sql complete text from catalog tables for every static sql executed based on the statement number, statement ID, package name etc and externalized it to the backup tables that are used to store the CQM historical data. In this case for example CQM_SUMM_TEXT. This should be done immediatelly when such query is executed and stored in temporrary files, as it is done for dynamic queries. It seems to be low effort change, since the complete machanism of storing and saving this information is already in place for dynamic sql, only an extra step to extract the SQLTEXT from catalog is needed.

Thanks to this enhancement, CQM will be able to provide a much more comprehansive and complete picture of queries executed, objects used etc in DB2 and will allow for extensive historical analysis which is often vital in every DB2 shop.

Needed By Yesterday (Let's go already!)
  • Guest
    Aug 13, 2021

    Thank you for submitting this enhancement request. While we view all the enhancement requests we receive as valuable and we would like to implement all of them, in an effort to have maximum transparency we are closing the ones that don’t currently appear on our two year product roadmap. This is not to say that these enhancements may not still be implemented at some point in the future, as we constantly evaluate our requirements on the basis of customer demand and technical impact and try to deliver maximum value to our customers. We appreciate your feedback and would be happy to discuss your enhancement requests further