IBM Support

IC66663: INSERTING A ROW ON DB2 FOR Z/OS WITH ENTITY FRAMEWORK FAILS WITH ERROR SQL0199N

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you have an application developped with Microsoft ADO.NET
    Entity Framework, you will get an error during the insertion of
    a row in DB2 for z/OS : the method entities.savechanges()
    incorrectly send this query to DB2 for z/OS
    SELECT ... FROM NEW TABLE (INSERT...
    instead of
    SELECT ... FROM FINAL TABLE (INSERT...
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 9.8 FP3 or Subsequent Fix Pack                *
    ****************************************************************
    

Problem conclusion

  • Problem First Fixed in DB2 Version 9.8 Fix Pack 3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC66663

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    980

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-02-26

  • Closed date

    2012-11-12

  • Last modified date

    2012-11-12

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

    IC66236

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R980 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.8","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 November 2012