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 (

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 ( - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal ( - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM. - 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
Categories Db2 for i
Created by Guest
Created on Dec 20, 2016

Add imbedded SQL to CL

Please add imbedded SQL precompiler support to CL.
With so many cool new Services out there it would really simplify CL to be able to easily access those services.
And many of those services would really help a "control" type language like CL.
Saying, just use another language is not desired.

Use Case:

Accessing services from SQL.
Deciding whether to call a processing program if the number of rows to process is known to be zero.
and more...

Idea priority Medium
  • Guest
    Oct 23, 2017

    All embedded languages have pointer capabilities. CL has limited pointer support, making it very difficult for us to add the requested support.
    However, recommend the use of the RUNSQL CL command in conjunction with the CREATE TABLE AS SQL statement, as a technique for CL programs to consume IBM i Services. The RUNSQL command would be initiated via a CALL QSYS2/QCMDEXC() procedure invocation.
    Regards, Scott Forstie

  • Guest
    Jul 18, 2017

    The CAAC has reviewed this requirement and recommends that IBM view this as a “nice to have” low priority feature.

    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

    For more details about CAAC's role with RFEs, see

    Dawn May - CAAC Program Manager

  • Guest
    May 1, 2017

    Maybe instead of adding more and more stuff to the CL language (Subroutines, multiple files etc), it would be a good idea to allow execution of CL commands directly from RPG. So we will have everyting the RPG language has. nad everyting in one language.

    Similar to EXEC SQL, EXEC CL. as simple as that.