IBM Support

IC80656: DB2 CLIENT INCORRECTLY INVOKES SYSPROC.SQLPROCEDURECOLS() WHEN STORED PROCEDURE WITH TIMESTAMP INOUT/OUT PARAMS ARE CALLED

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • DB2 client invokes SYSPROC.SQLPROCEDURECOLS() when .NET
    application calls a stored procedures that contains INOUT/OUT
    timestamp parameters even when correct data types are bound. DB2
    clients should only call SYSPROC.SQLPROCEDURECOLS() when the
    application binds parameters with mismatched data types.
    
    The issue only happens against DB2 z/os 10 server.
    
    The extra call to SYSPROC.SQLPROCEDURECOLS() may degrade
    performance.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 .Net application users                                   *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * DB2 .Net application invokes SYSPROC.SQLPROCEDURECOLS()      *
    * internally even when correct data types are                  *
    * being bound in the application.                              *
    *                                                              *
    * Problem only happens with stored procedures that contain     *
    * INOUT/OUT                                                    *
    * timestamp parameters and against DB2 z/os 10 server.         *
    *                                                              *
    * The extra call of SYSPROC.SQLPROCEDURECOLS() may cause       *
    * performance degradation.                                     *
    *                                                              *
    * DB2 clients should only call SYSPROC.SQLPROCEDURECOLS() when *
    * application binds parameters with mismatched data types.     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to V9.7 FP6                                          *
    ****************************************************************
    

Problem conclusion

  • Problem first fixed in V9.7 Fixpak 6
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC80656

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-04

  • Closed date

    2012-07-11

  • Last modified date

    2012-07-11

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

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

    IC83844

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSY

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC80656

Modified date: 11 July 2012