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 Delivered
Workspace Db2
Created by Guest
Created on Jul 8, 2022

Solution for flushing (and replacing) cached external 64 bit routines (db2fmp processes)

Solution for flushing (and replacing) cached external 64 bit routines (db2fmp processes)

We are running in our online production environment thousands external db2 routines per minute. Because of its performance we are forced to cache these routines by setting dbm cfg keepfenced to yes.

The database must be available 24/7. Of course, we have at least once per day the urgent necessity for hotfixes (new versions of self written cobol modules) without stopping the database.

So, we need a solution which flushes pooled db2fmp processes (and running db2fmp processes after they return to pool) similar to the solution which exists for db2fmp32 processes.

Solution for flushing (and replacing) cached external 64 bit routines (db2fmp processes)

We are running in our online production environment thousands external db2 routines per minute. Because of its performance we are forced to cache these routines by setting dbm cfg keepfenced to yes.

The database must be available 24/7. Of course, we have at least once per day the urgent necessity for hotfixes (new versions of self written cobol modules) without stopping the database.

So, we need a solution which flushes pooled db2fmp processes (and running db2fmp processes after they return to pool) similar to the solution which exists for db2fmp32 processes.

IBM implemented this feature for 32-bit routines as result of Case TS005866848.

IBM implementation details for 32-bit routines (as far as I understand):

1. DB2SET DB2_FMP_CLEAN_DELAY=90000

2. UPDATE DBM CFG USING FENCED_POOL 0 IMMEDIATE

3. UPDATE DBM CFG USING FENCED_POOL -1 AUTOMATIC IMMEDIATE

4. AFTER A FEW MINUTES: DB2SET DB2_FMP_CLEAN_DELAY=

By setting FENCED_POOL to 0, the states of all db2fmp processes are set to 0x02000010.

When these pooled processes are reused, they are terminated first and then new processes are started.

A second requirement:

Sometimes, we have problems with looping db2fmp processes.

Therefore, it should also be possible to flush one single db2fmp process by setting the state to 0x02000010.

Same AHA request for 32-bit routines exists: https://ibm-data-and-ai.ideas.ibm.com/ideas/DB24LUW-I-1365


Needed By Quarter