Skip to Main Content
IBM Power Ideas Portal

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:

Post your ideas

Start by posting ideas and requests to this portal to enhance a Power product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas and add comments to ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea

Help IBM prioritize your ideas and requests

The IBM team may need your help to refine the ideas so they may ask for more information or feedback. The Power teams will then decide if they can begin working on your idea. If they can start during the next development cycle, they will put the idea on the priority list. Each team at IBM works on a different schedule, where some ideas can be implemented right away, others may be placed on a different schedule.

Receive notification on the decision

Some ideas can be implemented at IBM, while others may not fit within the development plans for the product. In either case, the team will let you know as soon as possible. In some cases, we may be able to find alternatives for ideas which cannot be implemented in a reasonable time.

Specific link you will want to bookmark for future use

IBM Unified Ideas Portal - - Use this site to create or search for existing Ideas across all IBM products that are outside of Power, and track all of your personal interactions with all Ideas.

Status Not under consideration
Workspace IBM i
Created by Guest
Created on Dec 15, 2021

Command (CRTCMD) to also run SQL stored procedures and functions

Today you can create commands to be used from command line and build them into CL programs. CL commands works as parameter wrappers and calls programs.

It will be great if the command concept also could be extended to be able to directly call SQL stored procedures and SQL functions

Today you can do this by creating a program that calls the procedure, however it is a necessary step that only acts a boilerplate. It will be much cleaner to simply invoke the stored procedure directly from a OS command.

Note that the RTVVAR feature of commands is important to get data back from procedures and functions

Use Case:


where SQLTYPE can be *PROC or *FUNC

The parameters for the commands is declared as usual in the member in QCMDSRC as it would be for any other CL/RPG/C/COBOL program.

Idea priority Medium
  • Guest
    Jan 12, 2022

    The comment below is missing two central points:

    1) that return values can not be handled with RUNSQL, which was the main goal.

    2) Also that this RFE will potentially bring a lot SQL functionality to the CL language. All SQL build in scalar function could potentially become CL commands : ie ENCRYPT_ , REGEXP_ etc.

  • Guest
    Jan 10, 2022

    The RUNSQL CL command allows an SQL statement to be run directly from an interactive green screen session or from within a CL program without needing a source file. The RUNSQLSTM commands allows to run a group of SQL statements from an IFS file or source physical file.

    IBM does not intend to provide a solution to this request at this time, so it is being closed.

  • Guest
    Dec 21, 2021

    Due to processing by IBM, this request was reassigned to have the following updated attributes:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Languages - CL (Control Language)
    Operating system - IBM i
    Source - COMMON

    For recording keeping, the previous attributes were:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Core OS
    Operating system - IBM i
    Source - COMMON