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.
See this idea on ideas.ibm.com
Transferred from AD0276 -
Since the early days of the CPF operating system on the System/38, We've been bedeviled by specifying variables for list parameters in CL programs. For every other parameter on the system, if you need to specify a variable you're good to go, but there has never been a good way to specify a variable with list parameters. If you specify one list element you're OK, but that's rarely what is needed. Often times one needs to specify multiple list elements and you can never be sure how many will be needed at execution time. The current design of the command processing environment makes this difficult.
Current workaround: The standard work-around for this problem has always been to create a CL command in a variable and then execute it with a command execution API like QCMDEXC, but there are inherent problems (see “impact” above).
Proposed resolution:
The solution combines with requirements #212 (Arrays in CL) and #215 (Qualified Data Structures in CL), and it proposes to change the command environment to allow arrays and data structure arrays to be specified in list parameters. This will eliminate the “impact” issues by giving the CL command environment a discrete set of data elements. Full details and illustrations can be found at this URL on the System i News iDigress blog: http://www.systeminetwork.com/blog/idigress-23/rpg-programming/solving-problem-list-parameters-variables-cl-699271
Idea priority | Medium |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
The cost to implement would not be worth the benefit. There are many other ways to accomplish this with other languages today
A group of 3 RFEs are related enhancements that COMMON Americas Advisory Council (CAAC) believes would work well together to enhance the CL language capabilities, so I am linking them together: 127728, 127731, 127732.
Nancy Uthke-Schmucki - CAAC Program Manager
The CAAC has reviewed this requirement and recommends that IBM view this as a high priority requirement that is important to be addressed. List parameters would be much easier to work with, just as they are when a REXX procedure is used as a command processing program.
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 RFEs on the broader IBM i community, and has therefore reviewed your RFE.
For more information about CAAC, see www.common.org/caac
For more details about CAAC's role with RFEs, see http://www.ibmsystemsmag.com/Blogs/i-Can/May-2017/COMMON-Americas-Advisory-Council-%28CAAC%29-and-RFEs/
Nancy Uthke-Schmucki - CAAC Program Manager
IBM has modified some of the information in this request. In particular, the Source field was updated to indicate this RFE came from the COMMON User Group. Please contact us if you have any questions.
The CL language is lacking behind HLL like RPG.
Instead of adding one function or two, it would be more wise to add the ability to execute CL commands directly from within RPG. Like SQL.
EXEC CL from within RPG, similar to EXEC SQL.