Skip to Main Content
IBM Power Ideas Portal

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:

Post your ideas

Start by posting ideas and requests to this portal to enhance a Power product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas and add comments to ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea

Help IBM prioritize your ideas and requests

The IBM team may need your help to refine the ideas so they may ask for more information or feedback. The Power teams will then decide if they can begin working on your idea. If they can start during the next development cycle, they will put the idea on the priority list. Each team at IBM works on a different schedule, where some ideas can be implemented right away, others may be placed on a different schedule.

Receive notification on the decision

Some ideas can be implemented at IBM, while others may not fit within the development plans for the product. In either case, the team will let you know as soon as possible. In some cases, we may be able to find alternatives for ideas which cannot be implemented in a reasonable time.


Specific link you will want to bookmark for future use

IBM Unified Ideas Portal - https://ideas.ibm.com/ - Use this site to create or search for existing Ideas across all IBM products that are outside of Power, and track all of your personal interactions with all 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