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 Feb 13, 2020

More than one statement per line

It would be nice to be able to put more than one statement per line in free format separated by the Semicolon.

If X = 1; X=2; Else; X=3; EndIf;

Would be an easy solution without changing the whole language to be similar to what other languages commonly do on one line of code.

If X=1 then X=2 else X=3;
If (X=1) { X=2 } else { X=3 }

I'm suspecting the harder problem with this is changing the debuggers to be able to step through the code. It might make sense to insert a line break where there is a semicolon during compile time for (legacy) debugger views.

Use Case:

Simple statements where it would normally take up more screen real estate than it needs.

In some cases, it's easier to follow.

It could lead to messy code, but so does bad indenting.

Idea priority Low
  • Guest
    Dec 4, 2020

    This is a very, VERY bad idea. I'm pretty sure this would cause the homicide rate to rise sharply in RPG shops. And lawyers aren't cheap.

    It's. A. Joke. People!
    But it's still a bad idea.

  • Guest
    Mar 9, 2020

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

    While it is sometimes convenient to write multiple statements per line when a programming language, such as Java, supports it, there are differing opinions about whether that style of coding contributes to more maintainable code. Often, coding guidelines recommend against the practice.

    It is very unlikely that IBM will implement this requirement for RPG.

    However, please refer to RFE 111965 which is requesting that RPG support a "ternary" operator which would allow a simple "IF / ELSE" statement on one line.

  • Guest
    Mar 4, 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 - Programming Languages
    Product - Developer for Power Systems
    Component - RPG/COBOL Development Tools
    Operating system - IBM i
    Source - None

  • Guest
    Feb 14, 2020

    I wouldn't recommend this.
    This will result in a really messy program.

    Instead another suggestion here might be a better idea:

    Besides you have to consider that use of characters like {} depends on the CCSID.
    The example you give
    If (X=1) { X=2 } else { X=3 }
    would look like this for me
    If (X=1) æ X=2 å else æ X=3 å
    Lovely syntax -- right?