IBM Support

JR65132: MIRROR BULK APPLY FAILS WITH "TEXT FIELD TOO LONG FOR COLUMN" ERROR WHEN TARGET COLUMN IS CODEUNITS32 AND SOURCE DATA CONTAINS M

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • External table apply can fail with SQLCODE 20570, "The statement
    failed because the number of rejected rows exceeds the limit".
    When you look at the external table apply error log file , the
    message is "text field too long for column". This can happen
    when the target column is a character-type column that specifies
    CODEUNITS32, and the source data contains at least one character
    whose UTF-8 encoding is multi-byte, and the source data length
    in characters equals the maximum length declared for the target
    column.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * This issue might affect you if you are using IDR             *
    * 11.4.0.4-5652 or older for Db2 LUW as a target datastore and *
    * you have configured Mirror Bulk Apply.                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Mirroring ends on error when CDC attempts to apply data that *
    * contains multibyte characters, despite the target column     *
    * being of sufficient size.                                    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IDR 11.4.0.4-5652 or newer for Db2 LUW.           *
    ****************************************************************
    

Problem conclusion

  • Upgrading to IDR 11.4.0.4-5652 or newer for Db2 LUW resolves the
    issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR65132

  • Reported component name

    IS CDC DB2 LUW

  • Reported component ID

    5725E30DL

  • Reported release

    B40

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-08-20

  • Closed date

    2022-09-22

  • Last modified date

    2022-09-22

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

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

Fix information

  • Fixed component name

    IS CDC DB2 LUW

  • Fixed component ID

    5725E30DL

Applicable component levels

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

Document Information

Modified date:
22 September 2022