IBM Support

JR34393: ORACLE EE STAGE UPSERT DOES NOT REPORT CORRECTLY ORACLE RETURN CODES IF INSERT CONTAINS A SELECT STATEMENT THAT RETURNS 0 ROWS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Oracle Enterprise Stage upsert does not report oracle return
    codes correctly if the insert statement contains a select
    statement that returns 0 rows.
    
    Job logs give this incomplete entry:
    
    Unable to insert a record into the table due to .
    

Local fix

  • This fix is included in 8.0.1 fixpack 3
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users using Oracle EE Stage upsert with insert DML containing
    where clauses.
    ****************************************************************
    PROBLEM DESCRIPTION:
    The row insertion logic does not recognize the Oracle Error
    ORA-01403. As a result Oracle Enterprise Stage upsert does not
    report oracle return  codes correctly if the insert statement
    contains a select statement that returns 0 rows.  Job logs give
    this incomplete entry:
          Unable to insert a record into the table due to .
    ****************************************************************
    RECOMMENDATION:
    Apply patch provided
    This change is included in 8.1 Fix Pack 1.
    ****************************************************************
    

Problem conclusion

  • Now we do recognize this ORA-01403  with this fix.
    
    But this fix has limitation that it is possible to cater for an
    ORA-01403 error condition when the processing insertions with an
    array size of 1.  This is due to the fact that there is no
    reliable way to know what exact record in an array has failed
    with this error as Oracle does not treat 'no rows found
    condition' as a DML error
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR34393

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-09-25

  • Closed date

    2009-10-06

  • Last modified date

    2010-12-09

  • 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

  • R810 PSN

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

Document Information

Modified date:
09 December 2010