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
Created by Guest
Created on Aug 1, 2018

Rational Developer Outline View: Add a section for "Literals"

In the Outline View, under Global Definitions and Local Definitions, a group exists for Constants. An additional group of "Literals" would aid refactoring efforts to replace hard-coded values with data items (a variable, procedure, etc.)


Use Case:

A module contains this statement (but the referenced literals appears in several places throughout the module):

If Customer = 1017321 or Customer = 3758901; //intercompany customers

The Outline View has a group for "Literals". With this I can easily position the source to each occurrence. I replace the expression with a new procedure "Isa_IntercompanyCustomer (Customer);"


Idea priority Low
  • Guest
    Reply
    |
    Jun 24, 2022
    IBM believes that this request can be addressed by using the "Refactor > Extract Constant" feature of RDi, available with 9.6.0.11. One aspect of this feature is that it lists all the statements that use the literal, showing what the new version of the statement will be when refactoring is complete.
    However, please note that Refactor > Extract Constant does not currently support replacing a literal with an expression such as a procedure call. Please open another Idea to address the need to refactor a literal to an expression.
    As a workaround, you could do the following, for example:
    1. Refactor the literal 1017321 to a constant Isa_IntercompanyCustomer_Customer_
    2. Find-and-replace all instances of "Isa_IntercompanyCustomer_Customer_" with the procedure call
    "Isa_IntercompanyCustomer(Customer)"
    3. Delete the definition of the constant Isa_IntercompanyCustomer_Customer_

    IBM Power Systems Development - RDi team
  • Guest
    Reply
    |
    Oct 5, 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
    |
    Jan 10, 2019

    The simplest thing would be to mark the literal you want to search, press Ctrl+F and select All

    Then only the lines containing the search string is shown.

  • Guest
    Reply
    |
    Sep 11, 2018

    This would, in some cases, explode the outline to unusable proportions (not EVERY literal is evil). Perhaps a function to guide you through refactoring a literal or set of literals might work too instead of picking through them individually. Like we do with variables, but with a literal value instead.

  • Guest
    Reply
    |
    Aug 23, 2018

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

  • Guest
    Reply
    |
    Aug 8, 2018

    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
    Component - RPG/COBOL Development Tools
    Operating system - IBM i
    Source - Other

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