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 Future consideration
Workspace IBM i
Categories Db2 for i
Created by Guest
Created on Jan 29, 2019

Fix DSPF to allow Fields on REFFLD that use full 128 character DDL long names

Our team uses has old DDS DSPFs and new ones built using PROFOUNDUI. Product DDS DSPF currently has a 32-character limit for long names/Aliases for fields referenced using REFFLD keyword. This limit should be extended to use the full 128 characters available for long names.


Use Case:

We are implementing a phased modernization effort, with the first step being conversion of our PF/LF to TABLES/VIEW/INDEXES with long names and audit fields added. This issue, in the PMR referenced, is a MAJOR road block to our modernization efforts. If long names, of more than 32 characters, are added to columns on tables, this means that any new/existing display files referencing these files can no longer be compiled.


Idea priority Urgent
  • Guest
    Reply
    |
    Feb 27, 2021

    IBM will use this request as input to planning but no commitment is made or implied. This request will be updated in the future if IBM implements it.

  • Guest
    Reply
    |
    Apr 17, 2020

    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 - None

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

  • Guest
    Reply
    |
    May 28, 2019

    The CAAC has reviewed this requirement and recommends that IBM view this as a medium priority requirement that should be addressed. Because DSPFs are still used for some modernization approaches, and longer names can be used in tables, we believe that the ALIAS keyword in DDS needs to support the longer names.

    Background: The COMMON Americas Advisory Council (CAAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CAAC has a key role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community, and has therefore reviewed your RFE.

    For more information about CAAC, see www.common.org/caac

    For more details about CAAC's role with RFEs, see http://www.ibmsystemsmag.com/Blogs/i-Can/May-2017/COMMON-Americas-Advisory-Council-%28CAAC%29-and-RFEs/

    Nancy Uthke-Schmucki - CAAC Program Manager

  • Guest
    Reply
    |
    Feb 22, 2019

    We are also experiencing this and another one. IBM pointed me to this RFE when I created a PMR. Here is the PMR information if interested.

    Title -- CRTDSPF issuing CPD5237 & CPD7534 failures creating a catch-22 when using DB2 tables with long names.

    Description -- IBM i 7.3 Problem (1) CPD5237--Field or ALIAS name specified more than once in record.
    This is issued when REFFLD(referenced-field-name database-file-name) is specified more than once in a format where database-file-name is a DB2 table and referenced-field-name has a long name.

    The manual, "Program for Display Files" does state: "The alternative-name must be different from all other alternative names and from all DDS field names in the record format. If a duplicate name is found, an error appears on the field name or alternative name."

    With a DB2 table though, the CRTDSPF command is picking up the long name as the alias automatically – the coder has no control over it; unless – the ALIAS keyword is hard-coded to use another name. However - see Problem (2).

    Problem (2) CPD7534--Length of keyword value not valid.
    This is issued when REFFLD(referenced-field-name database-file-name) is specified where database-file-name is a DB2 table and referenced-field-name has a long name that exceeds 30 characters – the max length for ALIAS.

    ** This is the same issue mentioned on this RFE **

    As with Problem (1) -- the CRTDSPF command is picking up the long name as the alias automatically – the coder has no control over it; unless the ALIAS keyword is hard-coded to use another name. The only workaround seems to be, abandon REFFLD and hard code the data type, precision, and scale values in the display file.

    This is easy to replicate. Create 2 tables and 1 display file.

    create or replace table
    SOMELIB/T1
    (C1 char(10)
    ,C2 int
    ,C3 date);

    create or replace table
    SOMELIB/T2
    (TABLE_COLUMN_1 for C1 char(10)
    ,TABLE_COLUMN_2 for C2 int
    ,TABLE_COLUMN_LONG_NAME_EXCEEDING_30_CHARS for C3 date);


    A DSPSIZ(24 80 *DS3)
    A R TESTDSPA

    *ALL OF THESE WORK!
    A C1T1 R B 1 9REFFLD(C1 T1)
    A C2T1 R B 2 9REFFLD(C2 T1)
    A C3T1 R B 3 9REFFLD(C3 T1)
    A C1T1COPY R B 4 9REFFLD(C1 T1)
    A C2T1COPY R B 5 9REFFLD(C2 T1)
    A C3T1COPY R B 6 9REFFLD(C3 T1)
    A C3T1COPY2 R B 7 9REFFLD(C3 T1)

    *THE 2 SUCEEDING LINES WORK:
    A C1T2 R B 1 39REFFLD(C1 T2)
    A C2T2 R B 2 39REFFLD(C2 T2)
    *UNCOMMENT THIS LINE - CPD7534 IS ISSUED.
    A* C3T2 R B 3 39REFFLD(C3 T2)
    *UNCOMMENT THIS LINE - CPD5237 IS ISSUED.
    A* C1T2COPY R B 4 39REFFLD(C1 T2)

  • Guest
    Reply
    |
    Feb 22, 2019

    We are also experiencing this and another one. IBM pointed me to this RFE when I created a PMR. Here is the PMR information if interested.

    Title -- CRTDSPF issuing CPD5237 & CPD7534 failures creating a catch-22 when using DB2 tables with long names.

    Description -- IBM i 7.3 Problem (1) CPD5237--Field or ALIAS name specified more than once in record.
    This is issued when REFFLD(referenced-field-name database-file-name) is specified more than once in a format where database-file-name is a DB2 table and referenced-field-name has a long name.

    The manual, "Program for Display Files" does state: "The alternative-name must be different from all other alternative names and from all DDS field names in the record format. If a duplicate name is found, an error appears on the field name or alternative name."

    With a DB2 table though, the CRTDSPF command is picking up the long name as the alias automatically – the coder has no control over it; unless – the ALIAS keyword is hard-coded to use another name. However - see Problem (2).

    Problem (2) CPD7534--Length of keyword value not valid.
    This is issued when REFFLD(referenced-field-name database-file-name) is specified where database-file-name is a DB2 table and referenced-field-name has a long name that exceeds 30 characters – the max length for ALIAS.

    ** This is the same issue mentioned on this RFE **

    As with Problem (1) -- the CRTDSPF command is picking up the long name as the alias automatically – the coder has no control over it; unless the ALIAS keyword is hard-coded to use another name. The only workaround seems to be, abandon REFFLD and hard code the data type, precision, and scale values in the display file.

    This is easy to replicate. Create 2 tables and 1 display file.

    create or replace table
    SOMELIB/T1
    (C1 char(10)
    ,C2 int
    ,C3 date);

    create or replace table
    SOMELIB/T2
    (TABLE_COLUMN_1 for C1 char(10)
    ,TABLE_COLUMN_2 for C2 int
    ,TABLE_COLUMN_LONG_NAME_EXCEEDING_30_CHARS for C3 date);


    A DSPSIZ(24 80 *DS3)
    A R TESTDSPA

    *ALL OF THESE WORK!
    A C1T1 R B 1 9REFFLD(C1 T1)
    A C2T1 R B 2 9REFFLD(C2 T1)
    A C3T1 R B 3 9REFFLD(C3 T1)
    A C1T1COPY R B 4 9REFFLD(C1 T1)
    A C2T1COPY R B 5 9REFFLD(C2 T1)
    A C3T1COPY R B 6 9REFFLD(C3 T1)
    A C3T1COPY2 R B 7 9REFFLD(C3 T1)

    *THE 2 SUCEEDING LINES WORK:
    A C1T2 R B 1 39REFFLD(C1 T2)
    A C2T2 R B 2 39REFFLD(C2 T2)
    *UNCOMMENT THIS LINE - CPD7534 IS ISSUED.
    A* C3T2 R B 3 39REFFLD(C3 T2)
    *UNCOMMENT THIS LINE - CPD5237 IS ISSUED.
    A* C1T2COPY R B 4 39REFFLD(C1 T2)