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 Future consideration
Workspace IBM i
Categories Db2 for i
Created by Guest
Created on Aug 19, 2022

Support *LIBL on RUNQRY QRY()

Hi,

When creating a query definition, the library is resolved at creation time and not at runtime. This method is unlike any other function on IBM i and doesn't allow the query to be used with another library list as it is ignored.

This way you can't create a query definition in a development environment and promote it to test or production without manual changes (as there's no automatic method to reevaluate the file location).

In the mean while I found out that you can combine the QRY() and QRYFILE() parameters to solve this, ex.

RUNQRY QRY(MYQRY) QRYFILE((*LIBL/MYTABLE1) (*LIBL/MYTABLE2))

...however this requires changes to the program/person running the query as he needs to be aware which files are used (which defeats the purpose of building queries).

I would therefore suggest that an extra parameter is added to the RUNQRY command that allows to set this behavior in general, ex. LIBREF(*LIBL) or LIBREF(*QRY) for backward compatibility.

Kind regards,

Paul


Idea priority Urgent
  • Guest
    Sep 21, 2022

    There are indeed alternatives to queries (ie. RUNQRY) like SQL, however this doesn't make the existing ones go away.

    <rant mode>

    People still heavily rely on them so I prefer some investment on this (instead of IBM wasting time in writing yet another SQL function that can easily be accomplished by API's which already exist for 25 years). It's sad to see that IBM resources are spent on things that don't bring added value but rather support the current SQL function hype.

    </rant mode>

  • Admin
    Nancy Uthke-Schmucki
    Sep 20, 2022

    The CAAC has reviewed this Idea and recommends that IBM not implement this request. The RUNQRY command has been stabilzed by IBM. Although it would be a handy enhancement, there are modernized approaches, such as SQL, that could accomplish the same thing.


    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 Ideas on the broader IBM i community, and has therefore reviewed your Idea.


    For more information about CAAC, see www.common.org/caac


    Nancy Uthke-Schmucki - CAAC Program Manager

  • Guest
    Sep 19, 2022
    IBM will use this Idea as input to planning, but no commitment is made or implied. This Idea will be updated in the future if IBM implements it.