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.
Due to the complexity and cost, we do not intend to implement this Idea. The COMMON Americas Advisory Council came to the same conclusion.
You can pass values from within an SQL statement to RPG code by define an external SQL function written in RPG. We do not plan to integrate RPG any deeper into the SQL language.
Db2 for i development team
IBM Power Systems Development
Hi Carmelita,
I have to disagree here - the idea would add a lot of additional value to the interaction of RPG and SQL.
First - it would be possible to declare less working variables if it's possible to directly use a returned value of an RPG procedure. This makes code clearer und it helps to reduce clutter.
Second - it would even solve the problem that is described in idea IBMI-I-1942 - "multi-level" data structures or arrays are not usable as host variables - example:
This is because the pre-compiler should only insert the expression inside the parentheses without looking into it.
Third - it would maybe even solve the problem which is described in idea IBMI-I-3733 - VARCHAR host variables longer than around 32000 are not usable - example:
Also here - the pre-compiler should only insert the expression inside the parentheses.
Of course, if the RPG host expression is invalid, the RPG compiler has to complain - but it would do this anyway.
So this idea solves more than one idea at a time - therefore I still think, it should be implemented.
Kind regards,
Daniel
The CAAC has reviewed this IBM Idea and recommends that IBM not implement this request.
Adds unnecessary complexity without appreciable benefits.
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