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
Categories IBM i Access Family
Created by Guest
Created on Sep 25, 2018

Pass SQL statement from RPG to "Run SQL Scripts"

I would like to pass a sql statement (SELECT) from RPG to "Run SQL Scripts" (Access Client Solutions ).

The "Run SQL Scripts" application should execute this statement and present the result set in a separate window.


Use Case:

Execute predefined sql statements without having access to "Run SQL Scripts".


Idea priority Medium
  • Guest
    Reply
    |
    Apr 15, 2022

    Just to make you aware, there is a green screen version of this already.

    We created SQL iQuery back in 2016 and it does just what you want. But can also produce results in XLS, CSV, JSON, and PDF along with the green screen subfile list. sqliquery.com

  • Guest
    Reply
    |
    Nov 29, 2021

    Thank you for submitting your Request For Enhancement. After evaluating and prioritizing this request, we cannot deliver your requested enhancement in the near future, so it is being declined. However, we understand the value of this request, so it will be added to an internal list for future consideration.

  • Guest
    Reply
    |
    Jun 25, 2020

    IBM understands this request and will consider it for a future code update, though no commitment is made or implied.

  • Guest
    Reply
    |
    Oct 5, 2018

    We will consider adding a new parameter to the command line for the rss plugin which only shows the result set.

  • Guest
    Reply
    |
    Oct 5, 2018

    Attachment (Description): SQL result set screen only

  • Guest
    Reply
    |
    Oct 5, 2018

    The /plugin=rss solution brings up the "sql entry" screen. I only want to bring up the "result set" screen for the end-user. The end user should not be able to even see the sql statement. Maybe an extra parameter for this plugin can help? I will attach a screenshot where you can see what I would like to have.

  • Guest
    Reply
    |
    Oct 3, 2018

    IBM i Access Client Solutions (ACS) provides the ability to use Run SQL Scripts from the command line. See GettingStarted section 9.1.31 (ftp://ftp.software.ibm.com/as400/products/clientaccess/solutions/GettingStarted_en.html#9.1.31).
    For example:
    C:\Users\YourUserID\IBM\ClientSolutions\Start_Programs\Windows_x86-64\acslaunch_win-64.exe /plugin=rss /system=LP77UT22 /sql="select * from qiws.qcustcdt" /autorun=1

    RPG has the ability to call a PC command. Here is an example of RPG calling a PC command: http://www-01.ibm.com/support/docview.wss?uid=nas8N1014847

    You should be able to substitute the "start C:a.pdf" in the above RPG example with a call similar to the above /plugin=rss command.

    Does that meet your requirement?

  • Guest
    Reply
    |
    Sep 27, 2018

    Rdi already does but only with sqlrpgle source type members. The feature should be open to any source member type. I store sql in various source files like ddl.