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 Under review
Workspace IBM i
Categories Web Serving
Created by Guest
Created on Jul 2, 2025

Feature Request – Support for Parameter Substitution in RSEAPI_SQLRequest

I would like to suggest an enhancement to the RSEAPI_SQLRequest structure used in the RSE API for SQL execution. Currently, the API only supports static SQL statements via the sqlStatement field, without the ability to bind input or output parameters dynamically.

Idea priority Medium
  • Guest
    Feb 10, 2026

    Today, RSEAPI_SQLRequest appears to support only static SQL text through the sqlStatement field. What I’m requesting is the ability to use parameter markers (?) with bound parameters for OUT parameters, similar to JDBC/ODBC prepared statements.

    This would enable two key scenarios:

    1. IN parameter binding (avoid concatenating values into the SQL string)

    2. OUT parameter retrieval (capture return codes/status values from stored procedures)

    Generic Example: Calling a Stored Procedure with an OUT Return Code

    Goal: Call a procedure that performs an operation (e.g., file transformation) and returns a status/return code via an OUT parameter.

    SQL statement (with parameter markers):

    SQLCALL MYLIB.MYPROC(?, ?, ?)

    • Parameter 1: IN (VARCHAR) → input path

    • Parameter 2: IN (VARCHAR) → output path

    • Parameter 3: OUT (INTEGER) → return/status code

    What I’d like to express via RSEAPI_SQLRequest (pseudo-structure)

    (This is an illustrative example; the exact field names could vary. The intent is to show the capability needed.)

    {
    "sqlStatement": "CALL MYLIB.MYPROC(?, ?, ?)",
    "parameters": [
    { "index": 1, "direction": "IN", "type": "VARCHAR", "value": "/tmp/input.txt" },
    { "index": 2, "direction": "IN", "type": "VARCHAR", "value": "/tmp/output.bin" },
    { "index": 3, "direction": "OUT", "type": "INTEGER" }
    ]
    }

    And then receive the OUT parameter values in the response:

    {
    "success": true,
    "outParameters": [
    { "index": 3, "type": "INTEGER", "value": 0 }
    ],
    "sqlDiagnostics": {
    "sqlState": "00000",
    "message": "Procedure completed successfully"
    }
    }


    Why this enhancement matters

    • Functional: Without OUT parameters, it’s hard (or impossible) to reliably capture procedure results (return code/status) without workarounds.

    • Security & robustness: IN parameter binding avoids string concatenation and reduces injection risks.

    • Consistency: Aligns RSE API behavior with common SQL execution patterns (prepared statements + bound parameters).

  • Guest
    Dec 5, 2025
    Not sure how this would apply to RSE API. Can you give an example of what you desire to do?