IBM Support

IZ62253: JCC CONNECTION TO A NON-EXISTENT DATABASE SOMETIMES GETS SQLSTATE 08001 INSTEAD OF SQLSTATE 08004

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An attempt to connect to a non-existing database using JCC type
    4 connection sometimes gets SQL error -4499 with SQL state 08001
    instead of SQL state 08004.
    
    SQL state 08001 is misleading here as it indicates a general
    communication issue:
    
    08001 The application requester is unable to establish the
          connection.
    
    08004 The application server rejected establishment of the
          connection.
    
    
    This APAR will address transparent error handling and ensure SQL
    state 08004 is returned.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All using JCC type 4 connectivity                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * An attempt to connect to a non-existing database using       *
    * JCCtype4 connection sometimes gets SQL error -4499 with SQL  *
    * state08001instead of SQL state 08004.SQL state 08001 is      *
    * misleading here as it indicates a generalcommunication       *
    * issue:08001 The application requester is unable to establish *
    * theconnection.08004 The application server rejected          *
    * establishment of theconnection.This APAR will address        *
    * transparent error handling and ensureSQLstate 08004 is       *
    * returned.                                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 9.5 FP6                               *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 version 9.5 FP6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ62253

  • Reported component name

    DB2 EDE AIX

  • Reported component ID

    5724N7600

  • Reported release

    950

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-30

  • Closed date

    2010-06-24

  • Last modified date

    2010-06-24

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    IC65322

Fix information

  • Fixed component name

    DB2 EDE AIX

  • Fixed component ID

    5724N7600

Applicable component levels

  • R950 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"950","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
24 June 2010