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 Delivered
Workspace IBM i
Created by Guest
Created on Apr 4, 2017

Create Open List (QGYxxxx) API for FIle Member List

There is no QGY (open list API) for Members of a file. There are however SPOOL files and Message ID Open LIst APIs (those that start with the QGY prefix). Provide an Open LIst (QGYOLMBRL) (Open List Member List) to allow developers to process a list of members in a Generic File name (more than one file). This will allow SQL Db2 udtf to be created to list members in a file more consistently than current options.


Use Case:

I want to create an SQL UDTF to list the (source) member names and descriptions for a file. That file is often specified as a generic name, e.g., Q*
An Open List (QGYxxxx) API would allow me to create such as UDTF more efficiently than using QUSLMBR which dumps everything into a user space.


Idea priority High
  • Guest
    Reply
    |
    Oct 26, 2022

    The "IBM i Service" or SQL View as we call it, is painfully slow when initially accessed.

    This is a workable way to the data in question, but no better than and usually worse than using legacy techniques such as DSPFD to an OUTFILE. #Disappointing

  • Guest
    Reply
    |
    Apr 17, 2020

    This support is possible with an IBM i Service

  • Guest
    Reply
    |
    Apr 10, 2020

    This support has been delivered with an IBM i Service .. Use the following

  • Guest
    Reply
    |
    Sep 24, 2019

    The CAAC has reviewed this requirement and recommends that IBM not implement this request since a solution already exists, as Rob Berendt pointed out below.

    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 www.common.org/caac

    For more details about CAAC's role with RFEs, see http://www.ibmsystemsmag.com/Blogs/i-Can/May-2017/COMMON-Americas-Advisory-Council-%28CAAC%29-and-RFEs/

    Nancy Uthke-Schmucki - CAAC Program Manager

  • Guest
    Reply
    |
    Apr 6, 2017

    I reread your request. The API wasn't desired for speed, it was so that you could do something like:

    SELECT system_table_schema, system_table_name, system_table_member, source_type, last_change_timestamp
    FROM QSYS2.SYSPARTITIONSTAT
    WHERE SYSTEM_TABLE_SCHEMA = 'ROUTINES'
    AND SYSTEM_TABLE_NAME like('Q%')
    ORDER BY system_table_member;

    Try this.

  • Guest
    Reply
    |
    Apr 6, 2017

    However I get that if you have 2,000,000 partitions (barring any system limits) it may take awhile to generate that list. Cursor perhaps?

  • Guest
    Reply
    |
    Apr 6, 2017

    Try this:
    -- category: Custom
    -- description: List members (partitions) in a table
    --
    -- List partitions in a table
    --
    SELECT system_table_member
    FROM QSYS2.SYSPARTITIONSTAT
    WHERE SYSTEM_TABLE_SCHEMA = 'ROUTINES'
    AND SYSTEM_TABLE_NAME = 'QRPGLESRC';
    https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_73/db2/rbafzcatsyspstat.htm