IBM Support

JR41152: IBM CDC FOR DB2 LUW, SQLCODE -1822, DUPLICATE ENTRY FOLLOWING A REFRESH OF A TABLE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Following a refresh of a table that has been federated using
    Federation Server, the following error is issued on the target
    instance:
    "Failed to add a row to table <tablename>.
    A SQL exception has occurred. The SQL error code is '-1822'. The
    SQL state is: 560BD. The error message is:
    DB2 SQL Error: SQLCODE=-1822, SQLSTATE=560BD,
    SQLERRMC=43;MYODBC;Duplicate entry"
    

Local fix

  • Refresh the table when no activity is occurring.
    

Problem summary

  • Following a refresh of a table that has been
    federated using Federation Server, the
    following error is issued on the target
    instance:
    "Failed to add a row to table <tablename>.
    A SQL exception has occurred. The SQL error
    code is '-1822'. The SQL state is: 560BD. The
    error message is:
    DB2 SQL Error: SQLCODE=-1822, SQLSTATE=560BD,
    

Problem conclusion

  • The error message is:
    DB2 SQL Error: SQLCODE=-1822,
    SQLSTATE=560BD, SQLERRMC=43;MYODBC;Duplicate
    entry"
    Problem has been fixed in
    ISCDC_650_InterimFix15_{platform}_DB2LUW_for_all_licenses.zip .
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR41152

  • Reported component name

    IS CDC DB2

  • Reported component ID

    5724U7002

  • Reported release

    650

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-08

  • Closed date

    2012-07-16

  • Last modified date

    2012-07-16

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

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

Modules/Macros

  • CDCAPAR
    

Fix information

  • Fixed component name

    IS CDC DB2

  • Fixed component ID

    5724U7002

Applicable component levels

  • R650 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSX3HK","label":"InfoSphere Change Data Capture"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 October 2021