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 Delivered
Workspace IBM i
Categories Web Serving
Created by Guest
Created on Aug 27, 2019

IBMi IWS ILE service program procedure limitation of 7 parameters

We use IBM i IWS (Integrated Web Services Server) to expose ILE service programs as REST web services. Each REST resource (represented by unique URI) is mapped to an ILE service program and corresponding REST methods to procedures within the service program. Some of the resource methods have several attributes to be received as input path/query/request body parameters but as there is limitation of maximum 7 parameters for ILE service program procedures we cannot represent the resources properly. Using an ILE program as an alternative shall not fit the scenario as resource URI will be different for each method within the resource


Use Case:

System: online customer rewards activity

Actor: Customer

Use cases for the system: View customer reward activity

Scenario: Customers have online access to view their rewards program activities by slicing and dicing the rewards data. It requires several query and path parameters (more than 15 parameters) to locate the customer rewards resource and to filter/sort the data


Idea priority High
  • Guest
    Reply
    |
    Sep 9, 2021

    You can now deploy service programs procedures that have up to 248 parameters as web services. You will need to get the following HTTP group PTF:

    V7R3M0 SF99722 Level 31
    V7R4M0 SF99662 Level 12

  • Guest
    Reply
    |
    Aug 29, 2019

    IBM agrees with the request and a solution appears to be desirable and feasible. IBM intends to provide a solution. However, IBM's plans may change and no commitment is made that a solution will be provided.

  • Guest
    Reply
    |
    Aug 28, 2019

    We use data structures as parameters to receive & send data for HTTP POST/PUT methods where the payload is sent using message body but the parameter limitation restricts while we use HTTP GET where data is received through path, query, matrix parameters. We have complex search criteria based on several attributes and IWS does not support mapping path, query, matrix parameters to data structure subfields

  • Guest
    Reply
    |
    Aug 27, 2019

    While 7 does seem a rather low limit, it seems to me that coding procedures that require more than 7 parameters rather than accepting a Data Structure or array as a parameter is perhaps not the best design. Perhaps modifying the design would make more sense. I have worked with other customers who hit this limit and in each case the original design was based on thinking that originated in the days of RPG400 when it was awkward to pass a DS as a parameter. Changing the design made it much easier for non-IBM i clients to call the service.

  • Guest
    Reply
    |
    Aug 27, 2019

    While 7 does seem a rather low limit, it seems to me that coding procedures that require more than 7 parameters rather than accepting a Data Structure or array as a parameter is perhaps not the best design. Perhaps modifying the design would make more sense. I have worked with other customers who hit this limit and in each case the original design was based on thinking that originated in the days of RPG400 when it was awkward to pass a DS as a parameter. Changing the design made it much easier for non-IBM i clients to call the service.