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 Db2 for i
Created by Guest
Created on Apr 21, 2022

Enhancement to the new COMPARE_FILE table function, including both rows are written to the objects journal when rows don’t match, allow the starting and ending rrn, allow entry of the user and password to be used to connect with the file 2 when using rdb.

No description provided
Idea priority High
  • Guest
    May 21, 2022
    IBM does not intend to provide a solution to this request at this time, so it is being closed.

    The solution for partial file compares is to use the HASH_ROW scalar function to compare the range of RRNs you are interested in. Here is a link to that function:
    https://www.ibm.com/docs/en/i/7.5?topic=functions-hash-row

    The result column you are seeing doesn't contain data from either row. It returns the member name that had the miscompare. This is a Unicode (UTF-16) column. If you are using STRSQL, you must CAST that column to a character data type to see the data. We highly recommend using the Access Client Solutions (ACS) Run SQL Scripts interface for running interactive queries.

    Comparing tables remotely requires RDB setup, which the service cannot circumnavigate by adding userid and password parameters.

    Journals are used to record actual file change activity, not a place to deposit information collected by a tool. If you want the results of COMPARE_FILE available after the statement is complete, you could run the compare within a CREATE TABLE statement so the results are inserted into a table of your choice. For example:
    CREATE TABLE mylib.mycompare AS (select * from table (qsys2.compare_file(<parameters>))) with data;

    We will make some documentation updates based on your request to explain the function a bit better.

    Db2 for i development team
    IBM Power Systems Development