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 (

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 ( - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal ( - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM. - 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 Sep 12, 2016

Allow cross system exception joins

Please allow cross system exception joins.

Use Case:

-- Not a valid statement. Apparently you cannot do a cross system exception join.
-- SQL State: 56023 Vendor Code: -512 Message: [SQL0512] Statement references objects in multiple databases. Cause . . . . . :   The statement refers to objects that reside on multiple databases.  The objects could be either explicitly qualified object names or alias names that are defined to reference a different database. This SQL statement can only refer to a single database. A CREATE TABLE AS that selects from a remote database cannot reference a table that has a FIELDPROC defined.  It cannot define a materialized query table. If the remote database is not on an IBM i server, the INCLUDING clauses are not allowed. Recovery  . . . :   Ensure all objects used in the statement reside at the same database.  Try the request again.
from qsys2.PTF_INFO home exception join RemoteLpar.QSYS2.PTF_INFO away

-- Repeat the following sequence for each remote system.
drop table MySchema.ptf_info;
-- Replace the system name below
Create table MySchema.PTF_INFO as (
select * from RemoteLpar.QSYS2.PTF_INFO)
with data;

From QSYS2.PTF_INFO a exception join MySchema.PTF_INFO b

Idea priority High
  • Guest
    Dec 6, 2016

    We currently do not plan to add this capability to DB2 for i. Instead, we suggest that you consider that following alternatives.:
    1) Use IBM's Federated Server support
    2) Avoid the SQL0512 limitation through the use of repeated 3-part database access where you pull the data from one RDB at a time.
    3) Purchase and use a 3rd party product. For example:
    Please note that I have not personally used DB-Gate, but it does look like an option for your situation.

  • Guest
    Sep 13, 2016

    Creating a new RFE based on Community RFE #94447 in product IBM i.