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 Functionality already exists
Workspace IBM i
Categories Languages - RPG
Created by Guest
Created on Dec 14, 2024

Relax requirements for /INCLUDE /IF /ENDIF in RPG IV

We still have to start the /xxxx directives (e.g., /IF, /INCLUDE, /ENDIF, /DEFINE in column 7 even in *FREE. Please eliminate this restriction and allow them to be speified in any column so long as all content before the /<whatever> is blank.

Idea priority High
  • Guest
    Reply
    |
    Dec 19, 2024
    It is already supported to code a directive in any column starting in column 1 for **FREE source and starting in column 7 for column-limited source.

    https://www.ibm.com/docs/en/i/7.5?topic=concepts-compiler-directives

    -IBM Power Systems Development
  • Guest
    Reply
    |
    Dec 19, 2024

    Okay. I tend to not use the **FREE directive. But do use free format keywords and that may be the column 7 issue. I will try to see if I can use them in 8, 9, 10... etc as well... thanks.

  • Guest
    Reply
    |
    Dec 18, 2024
    RPG already supports directives starting in any valid column. Please provide an example where the compiler gives an error when the directive does not start in column 7.

    In a **FREE module, directives can start in any column. For example, the following **FREE code compiles successfully. The /IF and /ENDIF start in column 1.

    **free
    /if defined(do_dsply)
    dsply 'hello';
    /endif
    return;

    In a column-limited module, directives can start in column 7 or any column after column 7 as long as the entire directive is complete within columns 7-80. For example, the following column-limited code compiles successfully. The /IF and /ENDIF start in column 14.

    /if defined(do_dsply)
    dsply 'hello';
    /endif

    return;

    -IBM Power Systems Development