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 Languages - RPG
Created by Guest
Created on Nov 10, 2018

Dynamic variables/arrays

Allow dynamic size variables/arrays in RPGLE, SQLRPGLE and CLLE. Allow declaration of variables like var1 char, var2 int, etc.


Use Case:

Having dynamic variables and arrays allows you to not have to worry about array index out of bounds when you try to retrieve one element larger than the array or have to declare large array structures to avoid having to make them larger in the future when something changes. This will also allow you to declare variables you need and not have to worry about the size. Today you have to use pointers to do this but, it would be good not having to deallocate and reallocate a pointer and just declare your variables and arrays without specifying the size.


Idea priority Low
  • Guest
    Reply
    |
    Sep 16, 2019

    IBM has previously requested more clarifying information. Because the additional information was not provided within 30 days, the request has been closed.

  • Guest
    Reply
    |
    Jun 7, 2019

    Please provide a little more information about your request for dynamic variables. RPG already has varying-length strings, defined with VARCHAR, VARUCS2, and VARGRAPH. If you are requesting something different, please explain further.

    For RPGLE, dynamic arrays (called varying-dimension arrays in RPG) will be delivered in 7.4: See https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzasd/vardimarray.htm

    Regarding CLLE, please open another RFE, and mention "CLLE" in the title of your new RFE. For CLLE, open the RFE against the following:

    Brand: Servers and Systems Software
    Product family: Power Systems
    Product: IBM i
    Component:- Languages - CL (Control Language)

  • Guest
    Reply
    |
    May 20, 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 - Languages - RPG
    Operating system - IBM i
    Source - None

    For recording keeping, the previous attributes were:
    Brand - Servers and Systems Software
    Product family - Development Tooling
    Product - Programming Patterns
    Component - Code generation
    Operating system - IBM i
    Source - None