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

Status Delivered
Workspace IBM i
Categories IBM i Access Family
Created by Guest
Created on May 20, 2021

IBM i Access ODBC driver Connection Timeout

I am using the IBM i Access ODBC driver with PHP, and it does not currently have an option for "Connection Timeout". If the server DSN is temporarily unreachable, the PDO/ODBC connection will wait to timeout until the PHP max_execution_time is reached.

It would be nice if the ODBC driver supports a keyword for the odbc.ini or connection string to optionally set a number of seconds to wait for the connection to timeout, and return an error.

Current available Connection String Keywords for ODBC driver:

https://www.ibm.com/docs/en/i/7.3?topic=details-connection-string-keywords

Unfortunately the PDO/ODBC driver does not currently support the PDO:ATTR_TIMEOUT attribute. There is currently a bug submitted, but appears no activity has happened:

PDO/ODBC driver doesn't respect PDO::ATTR_TIMEOUT option: https://bugs.php.net/bug.php?id=45287


Use Case:

In the scenario where the database server is unavailable or not accessible (down for maintenance, rebooting, etc), the user requesting a PHP page that attempts to make a connection will be stuck waiting for the max_execution_timeout for every request.


Idea priority High
  • Guest
    Reply
    |
    Nov 11, 2022
    As of the latest ACS Application Package, version 1.1.0.27, the following options are supported for setting timeouts:

    - connection string keywords LoginTimeout and Timeout
    - connection attributes SQL_ATTR_LOGIN_TIMEOUT and SQL_ATTR_CONNECTION_TIMEOUT
    - cwbcopwr
  • Guest
    Reply
    |
    Jul 28, 2022
    The latest driver version, 1.1.0.26, respects the SQL_ATTR_LOGIN_TIMEOUT and SQL_ATTR_CONNECTION_TIMEOUT connection attributes. In addition, cwbcopwr can be used to set the default send and receive timeouts on a per-system basis.

    Future versions of the driver will support connection options, making these settings even easier to set from an application.
  • Guest
    Reply
    |
    Nov 29, 2021

    Due to processing by IBM, this request was reassigned to have the following updated attributes:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - IBM i Access Family
    Operating system - IBM i
    Source - None

    For recording keeping, the previous attributes were:
    Brand - Servers and Systems Software
    Product family - Power Systems
    Product - IBM i
    Component - Open Source, PASE
    Operating system - IBM i
    Source - None

  • Guest
    Reply
    |
    Oct 26, 2021

    The CAAC has reviewed this requirement and recommends that IBM view this as a “nice to have” low priority feature.

    Background: The COMMON Americas Advisory Council (CAAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CAAC has a key role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community, and has therefore reviewed your RFE.

    For more information about CAAC, see www.common.org/caac

    Nancy Uthke-Schmucki - CAAC Program Manager

  • Guest
    Reply
    |
    Jul 12, 2021

    The CEAC has reviewed this requirement and recommends that IBM view this as a “nice to have” LOW priority feature.

    Background: The COMMON Europe Advisory Council (CEAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CEAC has a crucial role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community and has therefore reviewed your RFE.

    To find out how CEAC help to shape the future of IBM i, see CEAC @ ibm.biz/BdYSYj and the article "The Five Hottest IBM i RFEs Of The Quarter" at ibm.biz/BdYSZT

    Therese Eaton – CEAC Program Manager, IBM