IBM Support

JR58102: CONNECTOR STAGE NULL VALUE WITH NOT NULLABLE BEHAVIOR

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

  • When customer runs the job with a row that has a null value
    ina column which is not nullable within the database, they
    expected to see an entry in the job log indicating the db2
    error of 'Assignment of a null value to a not nullable column
    is not allowed'.Instead though, all that happens is the job
    aborts and a generic logentry
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users developing jobs on Server canvas, storing data with DB2
    connector. When input data is targetting table that is defined
    as CHAR (x) NOT NULL and the input data might be NULL the issue
    might occur
    ****************************************************************
    PROBLEM DESCRIPTION:
    While working on Server canvas it is possible to pass the NULL
    value within the column that is defined as NOT NULL. Such
    behavior is possible only in Server jobs, as Parallel jobs are
    more strict while checking data types. In case of Server jobs,
    when the column is defined as CHAR(x) and the value to insert is
    NULL, DB2 Connector is creating an x-character long string of
    spaces. Effectively, INSERT SQL statement is successful, even
    though the column in DB2 is defined as NOT NULL.
    ****************************************************************
    RECOMMENDATION:
    Install patch JR58102
    ****************************************************************
    

Problem conclusion

  • After the fix, an attempt is made to INSERT the NULL value which
     results in SQL error. Input row is not inserted in the
    database. Warning is visible in job log indicating SQL statement
     execution failure.
    

Temporary fix

  • n/a
    

Comments

APAR Information

  • APAR number

    JR58102

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    B50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-29

  • Closed date

    2017-07-27

  • Last modified date

    2017-07-27

  • 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

    WIS DATASTAGE

  • Fixed component ID

    5724Q36DS

Applicable component levels

  • RB50 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.5","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
27 July 2017