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
Created by Guest
Created on Jun 1, 2011

Suround selection with if, do, for, monitor in Lepex for RPGLE

Add a "Surround with" option in Lpex for RPGLE source similar to the one existing for Java.

A common case when updating an existing program is adding a condition for a block of lines, i.e puttiong these lines inside a 'if'. With this option, the user would select the lines and do the surroundWithIf action which would indent the lines (in free format), add the endif; after the block and the if before the block with the cursor positioned where the condition goes.
There would be similar actions for dow, dou, select and monitor. The context menu would have a Surround with option with a submenu.
Formatting would respect the current preferences for indenting and capitalization of the end keyword.
A warning should be issued if indenting pushes code past column 80.


Use Case:

Programmer wants to catch possible errors when invoking functions B and C in the following code;
var1 = functionA();
functionB(var1: var2);
functionC();

User selects the lines for functions B and C and chooses Surround with -> Monitor in the context menu.

Code is changed to
var1 = functionA();
monitor;
functionB(var1: var2);
functionC();
on-error _ ; <--- _ is cursor position
endmon;


Idea priority Low
  • Guest
    Reply
    |
    Sep 21, 2021

    Thank you for taking the time to submit your request. After careful consideration, we know that we cannot deliver your requested enhancement soon, so it is being declined. However, your request does align with the future strategy of our product and we believe it may have future value, so we will add it to an internal list for us to keep in mind for the future.

  • Guest
    Reply
    |
    Jul 27, 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 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
    |
    Sep 7, 2011

    This RFE will be under consideration for a future release. Status has been updated to Uncommitted Candidate.

  • Guest
    Reply
    |
    Aug 17, 2011

    In addition to surrounding with "code", I'd like to surround some code with directives such as /if defined(NOTDEFINED).../endif -- makes a quick job of getting rid of a bunch of code without altering the lines (and hence the change dates) themselves.

  • Guest
    Reply
    |
    Jul 9, 2011

    This RFE is consistent with our strategy and product roadmap and IBM is continuing to evaluate.