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.
Just in response to the comment from 14th...
The resources won't get freed up immediately, but in a long-running job they are likely to get cleanup up and we have had this happen in our application environments. We've been in contact with IBM and they confirmed that CLI isn't currently compatible with this usage (i.e. initialisation of the environment/connection handles from a service program 'utility' procedures) for exactly this reason. Like I say, it will very often work without issue depending on the use case, but for longer running jobs which idle between client requests (for example), things will go bad at some point. If we could just get the same option QSQPRCED offers for activation group scoping also under CLI, that would be fantastic.
(by the way we always use ACTGRP(*CALLER))
I'm confused. I use CLI in C programs and things don't get freed when a program leaves the stack. Perhaps you are using an Activation Group new for your service program and the activation group goes away when the procedure in the service program returns.
I just wanted to add: we note that the Extended Dynamic SQL interface QSQPRCED notes similar scoping of resources to a calling program (albeit one which the caller names), and that once this program leaves the callstack the associated resources will be cleaned up. The difference here is that this can be overriden by instead scoping those resources to the Activation Group. This would be a perfect solution for us also under CLI.