Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. 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
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


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.

Status Not under consideration
Workspace IBM i
Categories Db2 for i
Created by Guest
Created on Jun 7, 2019

CRTDUPOBJ of a table with long name

As indicated in the document N1017004 , ( http://www-01.ibm.com/support/docview.wss?crawler=1&uid=nas8N1017004 ) when I want to make a " CRTDUPOBJ " of a table with a long name, I can only change the short name of the table, not its long name.
So if I want to copy my table several times into the same library with different short names (like for example to make a monthly archive), I am blocked from the second copy because the system indicates that there is already a table with this long name in the destination library.
I am therefore obliged to make a RUNSQLSTM before copying to remove the long name.
Would it be possible to add a parameter to the CRTDUPOBJ that would allow us to specify a new long name in addition to the new short name ?


Use Case:

Monthly archiving of our accounting table stopped at the end of the month in the archive library


Idea priority Medium
  • Guest
    Reply
    |
    Feb 13, 2021

    IBM does not intend to provide a solution to this request at this time, so it is being closed. The database team has a long list of higher priority requirements, so this request is not likely to be implemented anytime soon.

    Rather than using RUNSQLSTM to make the change, you could use the RUNSQL CL command. That would fit in your current CL processing stream with less disruption than using RUNSQLSTM.

  • Guest
    Reply
    |
    Jun 18, 2019

    There would still leave the problem of duplicate constraint names. But this is a step forward at least. +1

  • Guest
    Reply
    |
    Jun 12, 2019

    Due to processing by IBM, this request was reassigned to have the following updated attributes:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Db2 for i
    Operating system - IBM i
    Source - Client

    For recording keeping, the previous attributes were:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Other
    Operating system - IBM i
    Source - Client

  • Guest
    Reply
    |
    Jun 11, 2019

    IBM has modified some of the information in this request. Please contact us if you have any questions.

    Namely, the text for the headline, description, and use case have been converted to English, since RFEs require English in order for others in the community to understand and vote on them.

    Previous Headline: CRTDUPOBJ d'une table avec nom long

    Previous description: Comme indiqué dans le document N1017004, lorsque je veux faire un CRTDUPOBJ d'une table avec un nom long, je ne peux que changer le nom court de la table, pas son nom long.
    Du coup, si je veux copier ma table plusieurs fois dans la même bibliothèque avec des noms courts différents (comme par exemple pour faire un archivage mensuel), je suis bloqué dès la deuxième copie car le système indique qu'il existe déjà une table avec ce nom long dans la bibliothèque de destination.
    Je suis alors obligé de faire un RUNSQLSTM avant la copie pour retirer le nom long.
    Serait-il possible d'ajouter un paramètre au CRTDUPOBJ qui nous permettrait d'indiquer un nouveau nom long en plus du nouveau nom court ?

    Previous Use Case: Archivage mensuel de notre table comptabilité arrêté à fin de mois dans la bibliothèque d'archivage

  • Guest
    Reply
    |
    Jun 11, 2019

    Translated description with https://clientcare.mybluemix.net/newTicket.html :
    As indicated in the document N1017004 , ( http://www-01.ibm.com/support/docview.wss?crawler=1&uid=nas8N1017004 ) when I want to make a " CRTDUPOBJ " of a table with a long name, I can only change the short name of the table, not its long name.
    So if I want to copy my table several times into the same library with different short names (like for example to make a monthly archive), I am blocked from the second copy because the system indicates that there is already a table with this long name in the destination library.
    I am therefore obliged to make a RUNSQLSTM before copying to remove the long name.
    Would it be possible to add a parameter to the CRTDUPOBJ that would allow us to specify a new long name in addition to the new short name ?

  • Guest
    Reply
    |
    Jun 11, 2019

    avez vous essayé de remplacer le CRTDUPOBJ par un RUNSQL pour faire le CREATE TABLE directement dans le CL, plutôt que de passer par un RUNSQLSTM + un membre source ?