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 Future consideration
Workspace IBM i
Categories Languages - RPG
Created by Guest
Created on Mar 8, 2024

Allow %PROC BiF in the ON-EXIT

Allow the %PROC built in function to be used in the ON-EXIT group. That way if the subprocedure errors I can return the name of the subprocedure to whatever called it.

Idea priority Low
  • Admin
    Carmelita Ruvalcaba Cevallos
    Apr 9, 2024

    The CAAC has reviewed this IBM Idea and recommends that IBM view this as a high priority Idea that is important to be addressed.

    One of the biggest headaches within RPG is the fact that it is more difficult to make a procedure or program throwable. (think Java) and improving that capability would be so nice.

    Background: The COMMON Americas Advisory Council (CAAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CAAC has a key role in working with IBM i development to help assess the value and impact of individual IBM Ideas on the broader IBM i community and has therefore reviewed your Idea.

    For more information about CAAC, see

    Carmelita Ruvalcaba - CAAC Program Manager

  • Guest
    Mar 11, 2024
    IBM will use this Idea as input to planning, but no commitment is made or implied. This Idea will be updated in the future if IBM implements it. IBM will use votes and comments from others in the community to help prioritize this Idea.

    The ON-EXIT section for an RPG procedure is actually a different procedure. Within an ON-EXIT section, %PROC() could return two possible values:
    - the name of the procedure containing the ON-EXIT section
    - the name of the ON-EXIT procedure

    If this Idea is implemented, %PROC(*ONEXIT) would be allowed within an ON-EXIT section to return the name of the ON-EXIT procedure. When %PROC(*ONEXIT) is supported, %PROC() without a parameter would also be allowed in the ON-EXIT section, and it would return the name of the procedure containing the ON-EXIT section.

    Before this Idea is implemented, save the name of the procedure in a variable:

    dcl-proc p1;
    dcl-s proc_name varchar(20);
    proc_name = %proc();
    dsply (proc_name);

    - IBM Power Systems Development