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 (https://ideas.ibm.com).


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 (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.

Status Not under consideration
Workspace IBM i
Created by Guest
Created on Nov 28, 2018

No good way to specify a variable with list parameters.

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.


Use Case:

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
  • Guest
    Reply
    |
    Jun 12, 2019

    The cost to implement would not be worth the benefit. There are many other ways to accomplish this with other languages today

  • Guest
    Reply
    |
    Jan 29, 2019

    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

  • Guest
    Reply
    |
    Jan 29, 2019

    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

  • Guest
    Reply
    |
    Dec 7, 2018

    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.

  • Guest
    Reply
    |
    Nov 29, 2018

    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.