IBM Support

IC69242: ZOS: THE PROVIDER THROWS INVALIDCASTEXCEPTION FOR GETSCHEMA("DATATYPES")

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The DB2 .NET Provider, upon a call to
    DB2Connection.GetSchema("DataTypes"), will throw a
    System.InvalidCastException "Specified cast is not valid"
    exception if the backend server is DB2 for z0S.  The same
    operation works fine with DB2 LUW.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM DB2 .NET Providers on the Windows platforms              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * The .NET Provider will throw an InvalidCast exception for a  *
    * call to GetSchema("DataTypes") from DB2Cconnection object if *
    * the database server is DB2 for z/OS.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to version 9.7 Fix Pack 3.                           *
    ****************************************************************
    

Problem conclusion

  • Problem was first fixed in Version 9.7 Fix Pack 3.  At a
    minimum, this fix should be applied on the client.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC69242

  • 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-15

  • Closed date

    2010-09-23

  • Last modified date

    2010-09-23

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

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

    IC69281

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEPGG","label":"DB2 for Linux, UNIX and Windows"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.7","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
23 September 2010