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 Delivered
Workspace IBM i
Categories Languages - RPG
Created by Guest
Created on Aug 3, 2017

Change RNF ID & help text for global array starting with TAB

I ran into an issue yesterday where I created a global variable as an array. The variable name was Table_Title.

When I attempted to access the array using an element ID (ie. Table_Title(1)), the compiler would throw an RNF0528 "The index is not allow for variable <whatever> that is not an array; index is ignored".

I spent a good amount of time trying to assure there were no typos, checking outline views within RDi, etc. This did not occur when Table_Title was defined as a local variable.

Then it dawned on me that TAB as the first three characters are reserved for compile-time arrays/tables.

I'd like to request that a different RNF error ID be given, with expanded text stating that the array cannot start with TAB (phrased more appropriately of course).

It would have saved me a lot of time trying to figure out where my error was.


Use Case:

Described in description


Idea priority Low
  • Guest
    Reply
    |
    May 6, 2022
    IBM believes that the request described has been solved and is available with release 7.5 of the RPG compiler product 5770WDS.

    For the following program, the RPG compiler now issues severity-20 message RNF0752, with the following text: "The name for table TABLE_TITLE begins with TAB, so is not allowed; the index is ignored."

    dcl-s Table_Title varchar(100) dim(20);
    Table_Title(1) = 'Hello';

    If OPTION(*SECLVL) is specified for the compile, the full text of the message incudes the following additional information:
    "When a variable is defined with the DIM keyword, and the name of the variable begins with TAB, the variable is considered to be a table, not an array. An array index is not allowed for a table."
  • Guest
    Reply
    |
    Apr 17, 2020

    IBM agrees with the request and a solution appears to be desirable and feasible. IBM intends to provide a solution in a future full release. However, IBM's plans may change and no commitment is made that a solution will be provided.

  • Guest
    Reply
    |
    Sep 22, 2017

    IBM has received the requirement and is evaluating it. IBM will provide a response after evaluation is complete.