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 (

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 ( - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal ( - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM. - 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 Sep 24, 2019

Create shortcut for eval(h) so user doesn't need to type in eval(h)

When performing calculations where we want to round-up, instead of typing

Result = (Factor1 - Factor2) * Factor3;

we need to type

eval(h) Result = (Factor1 - Factor2) * Factor3;

It would be nice if that could be simplified to

Result(h) = (Factor1 - Factor2) * Factor3;

I do realize, though, that this would likely cause compatibility issues with using "h" as a variable for arrays.

So perhaps one of the following cold be considered:

Result(+) = (Factor1 - Factor2) * Factor3; // Preferred because of potential CCSID issues with other options & (+) cannot be used as array and may be more self-explanatory than (h)

Result[h] = (Factor1 - Factor2) * Factor3;

Result{h} = (Factor1 - Factor2) * Factor3;

Result<h> = (Factor1 - Factor2) * Factor3;

or similar shortcut could be considered - please take CCSID translations into account.

Use Case:

See description

Idea priority Low
  • Guest
    Aug 19, 2020

    IBM does not intend to provide a solution to this request at this time, so it is being closed.

    IBM feels that adding an alternative syntax for half-adjust would not provide enough benefit to RPG programmers to be worth the effort to implement this in the compiler.

  • Guest
    Jun 25, 2020

    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 - Power Systems
    Product - IBM i
    Component - Application Development
    Operating system - IBM i
    Source - None

  • Guest
    Sep 25, 2019

    Thank you for your input, Peder.

    After I submitted the request, I had a feeling that certain CCSIDs would cause an issue with [] & {}

    I had since modified the request to suggest
    Result(+) = (Factor1 - Factor2) * Factor3

    This is now on the top of the suggestions.

    As far as I know, this would not cause issues with CCSID because () is used extensively and + is used in computations.

    And, it may be more intuitive than using "h" because the "+" could be an implicit "Round-up" and "+" isn't a valid variable name.

  • Guest
    Sep 25, 2019

    One should be aware how the characters [] and {} are presented in other codepages.
    The characters #@$ are for example presented as ÆØÅ in CCSID 277.
    So this is not a good idea.

    Instead %DECH should be used when the RFE 11732, that suggests that the second and third parameter should reflect the resulting variable, is implemented.

    Then you can code it like A = %dech(B * C)