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 (https://ideas.ibm.com).


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 (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Data & AI Roadmaps (http://ibm.biz/Data-and-AI-Roadmaps) - Use this site to view roadmaps for Data & AI products.

IBM Employees should enter Ideas at https://hybridcloudunit-internal.ideas.aha.io/


Status Is a defect
Workspace Db2 for z/OS
Created by Guest
Created on May 21, 2021

Return SQL error when DBA attempts ALTER DDL with both pending and immediate changes, instead of returning "0" and "losing" a change.

We recently opened an SR TS005591497 with support when we found that an ALTER to a LOB tablespace specifying both PRIQTY and COMPRESS returned SQLCODE 0, but the PRIQTY was "lost".


IBM support pointed out the following:

https://www.ibm.com/docs/en/db2-for-zos/12?topic=statements-alter-tablespace

Restrictions on ALTER TABLESPACE statements that cause pending changes:

ALTER TABLESPACE statements that cause pending changes have the following restrictions:

  • Options that cause pending changes cannot be specified with options that take effect immediately

  • Options that cause pending changes cannot be specified for the following objects:

    • The catalog

    • System objects

    • Objects in a workfile database

An ALTER of PRIQTY is an immediate ALTER but the ALTER of COMPRESS is a pending alter and is not complete until a REORG is run. So when combined, the ALTER of PRIQTY is ignored. In this case, the ALTER of COMPRESS and PRIQTY should be done in separate DDL statements.



Though this is documented, it is doubtful most DBAs have reviewed the DOC that thoroughly. Since this action did not return a negative SQLcode, most DBAs would proceed under the assumption that the mixed DDL "took", and may not discover PRIQTY was lost until much later.

The DBAs need to be prompted to examine the documentation if they make an error in DDL such as this...I suggest a negative SQLcode be returned instead of allowing the operation to proceed.

Needed by Date Aug 31, 2021
  • Admin
    Janet Figone
    Jun 1, 2021

    Hello Mark,

    Development has reviewed this issue and determined that it is a defect. Please reopen your case or open a new case reporting the issue and stating such and request that an APAR be created for the problem.

    Sincerely,

    Db2 for z/OS Development