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 (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

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 (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.

IBM Employees should enter Ideas at https://ideas.ibm.com


Status Submitted
Workspace Db2
Created by Guest
Created on Jul 9, 2024

Db2 Connect Client steering thread recycle

Enhance Db2 Connect client for distributed workload.

problem statement:
Today Db2 DDF will close the connection to recycle the thread. This happens conditional (recycle-time limit, after Commit, no open cursors, other conditions). The client will find the socket being closed and will open a new connection, then continue workload on this new connection. Conditional SQL statements can be seamless replayed. This function is also used for accidential breaking connections.

Finding the connection lost could be in a state where SQL statements can't be replayed. This can happen in a window of network latency. Then the client needs to report SQLCODE -30108 against application. For accidental lost connections this works as designed, for periodical thread recycle there is a desire to prevent this occurence.

the idea:
instead breaking the connection from DDF-side let the client disconnect within the identical conditional model. This way the entire control of the connect handling is at the client side, no timing window would bring in uncertainty.

DRDA signaling could be used to identify the current setting, the thread recycle mechanism to be active at DDF or at client side.

If information about the thread state can only be obtained at the DDF side, DRDA signaling could be used to transport a 'go' immediate with synchronous Commit acknowledge to the client.

affected parts:
Db2 CLI , JDBC

additional details:

From https://www.ibm.com/docs/en/db2/11.5?topic=njcshacdzs-operation-automatic-client-reroute-connections-db2-zos-server-from-application-other-than-java-application

The following things listed and perhaps more are to be considered for “transparent” reconnect:

  • SET special registers

  • session global variables

  • Open cursors with cursor-hold behavior

  • Open cursors with locators

  • Declared global temporary tables

  • Accelerated queries


Needed By Yesterday (Let's go already!)