Skip to Main Content
IBM Data and AI Ideas Portal for Customers

This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. 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

Post ideas and requests to enhance a 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 that matter most to you

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

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.

IBM Employees should enter Ideas at

Status Needs more information
Workspace Db2
Components Federation
Created by Guest
Created on Jul 18, 2023

2-Phase commit for JDBC driver to Postgres

We use a replication solution which utilizes DB2 LUW Federation as a link between DB2 z/OS (source database) and Postgres (target database).

So the picture is as follows:

SQL Replication 11.4

-Db2 z/OS 12 on mainframe,

-Db2 LUW Federation 11.5.8,

-PostgreSQL JDBC Driver (FluidQuery),

-Postgres 13 in GCP,

This configuration relies on 1-Phase commit as Federation doesn't support 2-Phase commit for Postgres. In case of failure - when Db2 or SQL replication agent on the source wasn't stopped in a controlled manner (due to crash, user mistake etc.) - we experience data inconsistency between source and target tables (Replication tries to insert data which is already present at the target - which results in SQLCODE -803 and replication stops with an error).

We believe this improvement will prevent us from this kind of errors.

Needed By Yesterday (Let's go already!)
  • Guest
    Sep 1, 2023

    I have tested if ODBC connection can be used. I set up a replication thru federation using ODBC wrapper then started replication. An error appeared:

    2023-08-30- ASN1001E APPLY "ASN" : "WorkerThread". The Apply program encountered an SQL error. The ERRCODE is "7A010

    2". The SQLSTATE is "25000". The SQLCODE is "-30090". The SQLERRM is "21". The SQLERRP is "SQLND00F". The server name is "DTC2VT

    ". The table name is "ASN2.IBMQREP_DONEMSG".

    -30090 - IBM Documentation

    An update operation or a dynamic commit or rollback was attempted at a server that was supporting an application that was in a read-only execution environment (IMS, CICS®, or RRSAF.)

    here is a description of the reason code:

    Updating through an alias - Oracle Forum (

    o 21 - The operation that you want performed at the specified
    data source(s) is not supported by the wrapper by which DB2
    accesses the data source(s). Consult the documentation to
    find out what operations this wrapper supports.

    So I suppose ODBC cannot be used at this stage - adding a 2-phase commit could help in this case?