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
Categories Db2 for i
Created by Guest
Created on Apr 11, 2021

Create an IBM i Service for command DSPSAVF

Create a new IBM i Service to make it possible to get information of the content in a Save File.


Use Case:

Save Files are great to use when delivering objects from on server to another. To be able automate a deployment process we need to know what will be restored and replaced and it would be great to have an IBM i Service to list the content and backup the affected object on the target side before the restore is done. In our current solution we need to restore the object to a temporary library to be able to identify affected object before the restore i made.


Idea priority Medium
  • Guest
    Reply
    |
    May 18, 2023
    This enhancement was delivered in May 2023 with IBM i 7.5 PTF Group level 4 and IBM i 7.4 PTF Group level 25.

    The new QSYS2.SAVE_FILE_INFO view returns information about save files.
    The new QSYS2.SAVE_FILE_OBJECTS view and QSYS2.SAVE_FILE_OBJECTS table function return information about objects within a save file.

    You can read about it on new fact pages here:
    https://www.ibm.com/support/pages/node/6982049
    https://www.ibm.com/support/pages/node/6982051
    https://www.ibm.com/support/pages/node/6982053

    And in IBM Documentation here:
    https://www.ibm.com/docs/en/i/7.5?topic=services-save-file-info-view
    https://www.ibm.com/docs/en/i/7.5?topic=services-save-file-objects-view
    https://www.ibm.com/docs/en/i/7.5?topic=services-save-file-objects-table-function


    Db2 for i development team
    IBM Power Systems Development
  • Guest
    Reply
    |
    Oct 26, 2022

    I think this service will be valuable because it will allow me to query every save file on the system in one command. This will allow me to search all save files on the system in every user library to see if anyone has saved confidential data. I find it comparable to https://www.ibm.com/docs/en/i/7.4?topic=services-message-file-data-view

    To do this with APIs I would have to use multiple. One to find every save file on the system and another one to retrieve the contents. While patterning it after the MESSAGE_FILE_DATA view makes it so much easier.

  • Guest
    Reply
    |
    May 20, 2021

    I created such a SQL table function called Savefile_Info back in 2019. It is open source and available for any IBM i version supporting the QSRLSAVF API.

    You can find it here: https://bitbucket.org/christianjorgensen/sql-udtf-savefile_info/src/master/

    Feel free to contact me if you have any questions.

    Best regards,
    Christian

  • Guest
    Reply
    |
    May 7, 2021

    IBM will use this request as input to planning but no commitment is made or implied. This request will be updated in the future if IBM implements it.

  • Guest
    Reply
    |
    Apr 19, 2021

    The CEAC has reviewed this requirement and recommends that IBM view this as a MEDIUM priority requirement that should be addressed.

    Background: The COMMON Europe Advisory Council (CEAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CEAC has a crucial 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.

    To find out how CEAC help to shape the future of IBM i, see CEAC @ ibm.biz/BdYSYj and the article "The Five Hottest IBM i RFEs Of The Quarter" at ibm.biz/BdYSZT

    Therese Eaton – CEAC Program Manager, IBM

  • Guest
    Reply
    |
    Apr 13, 2021

    In my humble opinion having an API or other command which does the same is not a good reason not to deliver a DB2 for i service. Based on what is available it has never be the case. The command "DSPUSRPRF USRPRF(*ALL) OUTPUT(*OUTFILE) OUTFILE(MYLIB/MYFILE)" is in a way similar to what the DB2 i service called " QSYS2.USER_INFO" delivers.

    Having the option to use SQL instead of an API is more user friendly and makes it available on every IBM i LPAR. This is for me the reason not to let everyone walk the API road. SQL is easy, an API is not ;-)

    Please feel 100 % free to disagree.

  • Guest
    Reply
    |
    Apr 12, 2021

    Hi,

    I agree with Rudi that these things can be easily developed by anyone using the existing API's, and if you need an SQL interface on it with the combination of an SQL UDTF. More information on creating these can be found at https://developer.ibm.com/technologies/systems/articles/i-power-of-udtf/

    It would be a total waste of valuable IBM resources to ask them to write an SQL function for every single API that exists (which are thousands). Instead I hope IBM invests its resources in things that we can't develop ourselves.

  • Guest
    Reply
    |
    Apr 12, 2021

    Hello Mats,

    IBM has an API for this "List Save File (QSRLSAVF) API" => https://www.ibm.com/docs/en/i/7.4?topic=ssw_ibm_i_74/apis/qsrlsavf.htm.

    This API offers several formats, we seen this used this in the past for creating the command WRKSAVFOBJ.

    I wonder which of the offered formats, fulfils your requirement the best?