IBM Support

LI70923: II SYBASE WRAPPER - SQL0407N IS RETURNED IF AN EMPTY STRING IS INSERTED INTO A NOT NULL COLUMN. SYBASE DATASOURCE ERROR 517.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Target data source - Sybase table with a not null column type.
    CT-Library treats an empty string as a NULL and hence an
    SQL0407N error is returned when an insert with empty string is
    attempted on a target sybase table with not null column.
    

Local fix

  • Change target column to null is a temporary workaround.
    

Problem summary

  • USERS AFFECTED: Users with a federated system that connects to a
    Sybase data source.
    PROBLEM DESCRIPTION:
    If this APAR is not applied, you can encounter SQL0407N errors
    when attempting to insert an empty string into a table that has
    NOT NULL columns.
    PROBLEM SUMMARY: This APAR addresses the problem that DB2 UDB is
    converting an empty string into a space character.  This APAR
    introduces a new server option called CONV_EMPTY_STRING, which
    can be used ONLY in Federated Replication environments.
    The usage is as follows:
    alter server serv_name options (add  CONV_EMPTY_STRING 'Y')
    

Problem conclusion

  • Problem was first fixed in Version 8.1 FixPak 11 (s060120).
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI70923

  • Reported component name

    WS II SYBASE WR

  • Reported component ID

    5724C7411

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-10-14

  • Closed date

    2006-03-14

  • Last modified date

    2006-03-14

  • 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

    WS II SYBASE WR

  • Fixed component ID

    5724C7411

Applicable component levels

  • R810 PSN

       UP

  • R820 PSN

       UP

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

Document Information

Modified date:
14 October 2021