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
Created by Guest
Created on Feb 15, 2015

Auto Generate Procedures

Today in Eclipse when coding Java applications you can type a call to a method without the method existing. When eclipse sees that the method does not exist it gives an auto correct option to create the method based on the parameters passed in the call. For example:

response = myProcedure(parmA, parmB);

Will auto generate the following as another method in the object.

Public String myProcedure(String parmA, Integer parmB) {
//TODO put code here
};

This is a HUGE time saver. Can we get eclipse to do this for RPG code as well? It could do this in the same way by sensing a procedure does not exist, looking at the data types for the parameters in the procedure call, and then auto generate the shell of the procedure. Based on the information in the outline view all the necessary information to do this is there I think.

This would be a very very nice improvement in efficiency.


Use Case:

When coding RPG code today many are not following Object Oriented principles to create procedures to perform an action because of the necessity to manually generate the procedure elsewhere in the source. To help with this I propose we add the ability for RDi to auto generate a procedure based on a call to the procedure, if the procedure does not exist.

For example:

DCL-S response varchar(100);
DCL-S parmA IND
DCL-S parmB INT(10);

response = myProcedure(parmA : parmB);

return;

This would show an error and give an auto fix option to generate the procedure like follows:

DLC-PROC myProcedure;
DCL-PI varchar(100);
parmA IND;
parmB INT(10);
END-PI;


//TODO Code Goes Here

END-PROC myProcedure;


Idea priority High
  • Guest
    Reply
    |
    Jan 25, 2022

    The CAAC has reviewed this requirement and recommends that IBM view this as a high priority requirement that is important to be addressed. No matter the experience level, this would be helpful to all the programmers and would make RPG easier to learn and work with.

    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

    Nancy Uthke-Schmucki - CAAC Program Manager

  • Guest
    Reply
    |
    Sep 9, 2020

    We have reviewed this requirement and we feel it would be a beneficial enhancement to the product. We hope to be able to add it to our development plans in the future.

  • Guest
    Reply
    |
    Sep 30, 2016

    Can we get someone at IBM to re-evaluate this request? I still think this request would be extremely beneficial.

  • Guest
    Reply
    |
    Sep 14, 2015

    Due to processing by IBM, this request was reassigned to have the following updated attributes:
    Brand - Servers and Systems Software
    Product family - Programming Languages
    Product - Developer for Power Systems

    For recording keeping, the previous attributes were:
    Brand - Rational
    Product family - Design & development
    Product - Developer for Power Systems

  • Guest
    Reply
    |
    May 19, 2015

    Voting... but would add an alternative (preferred if one must choose) use case :

    Frequently the first thing I write are prototypes, as a design exercise, then later create the procedures. So it seems more useful to me to crate the procedure shell from an existing prototype.

  • Guest
    Reply
    |
    Feb 19, 2015

    Although the theme of this request is consistent with our business strategy, it is not committed to the release that is currently under development.