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).
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:
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 an idea.
Get feedback from the IBM team and other customers to refine your idea.
Follow the idea through the IBM Ideas process.
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.
Love it!
Thank you!
In the ON-EXIT section, you can now specify %PROC(*OWNER) to get the external name of the owning procedure and you can specify %PROC(*ONEXIT) to get the external name of the procedure that implements the ON-EXIT section.
The following PTFs provide support for the %PROC in the ON-EXIT section:
7.4 TGTRLS(*CURRENT) - 5770WDS SJ02912
7.5 TGTRLS(*CURRENT) - 5770WDS SJ02922
7.5 TGTRLS(*PRV) - 5770WDS SJ02923
See the "What's new since 7.4?" page in the ILE RPG Reference for 7.4:https://www.ibm.com/docs/en/ssw_ibm_i_74/rzasl/rpgrelv7r4post.htm
See the "What's new since 7.5?" page in the ILE RPG Reference for 7.5:https://www.ibm.com/docs/en/ssw_ibm_i_75/rzasl/rpgrelv7r5post.htm
- IBM Power Systems Development
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 www.common.org/caac
Carmelita Ruvalcaba - CAAC Program Manager
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();
on-exit;
dsply (proc_name);
end-proc;
- IBM Power Systems Development