IBM Support

IC69496: DERIVEPARAMETERS THROWS EXCEPTION ON STORED PROCEDURE ARRAY PARAMETERS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • An exception is thrown when DB2CommandBuilder.DeriveParameters
    is called with a DB2Command with CommandType.StoredProcedure if
    the stored procedure has an array parameter.  The exception
    message encountered is: "System.ArgumentException: Unknown SQL
    type - 0."
    

Local fix

  • Manually specify parameter information instead of calling
    DeriveParameters.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * .NET applications on Windows                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * An exception is thrown when                                  *
    * DB2CommandBuilder.DeriveParameters is called with a          *
    * DB2Command with CommandType.StoredProcedure if the stored    *
    * procedure has an array parameter.  The exception message     *
    * encountered is: "System.ArgumentException: Unknown SQL type  *
    * - 0."                                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Version 9.7 Fix Pack 3.                           *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC69496

  • 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

    2010-06-28

  • Closed date

    2010-09-16

  • Last modified date

    2010-09-16

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

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

    IC69568

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP



Document information

More support for: DB2 for Linux, UNIX and Windows

Software version: 9.7

Reference #: IC69496

Modified date: 16 September 2010