IBM Support

JR52898: ORACLE CONNECTOR DOES NOT BULK LOAD ON CHILD TABLE WHEN THERE ARE CONSTRAINTS ON PARENT TABLE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Oracle Connector does NOT Bulk Load on Child Table when there
    are constraints on Parent Table.
    
    We will introduce a new environment variable (job property)
    called CC_ORA_DISABLE_CONSTRAINTS_BEFORE_TRUNCATE.  The variable
     will work like this.
    If all 4 of these predicates are satisfied:
    a) Table Action is TRUNCATE, and
    b) Disable Constraints is YES, and
    c) Write mode is BULK LOAD, and
    d) CC_ORA_DISABLE_CONSTRAINTS_BEFORE_TRUNCATE=TRUE
    we will disable the constraints before truncating the table.
    

Local fix

  • Manually disable constraints on the Parent table using Before
    SQL and re-enable constraints on the Parent table after Bulk
    loading on Child Table using After SQL statements.
    

Problem summary

  • Oracle Connector does NOT Bulk Load on Child Table when there
    are constraints on Parent Table.
    

Problem conclusion

  • We have introduced a new environment variable (job property)
    called CC_ORA_DISABLE_CONSTRAINTS_BEFORE_TRUNCATE.  The variable
    works like this.
    If all 4 of these predicates are satisfied:
    a) Table Action is TRUNCATE, and
    b) Disable Constraints is YES, and
    c) Write mode is BULK LOAD, and
    d) CC_ORA_DISABLE_CONSTRAINTS_BEFORE_TRUNCATE=TRUE
    the constraints will be disabled before truncating the table.
    

Temporary fix

  • Manually disable constraints on the Parent table using Before
    SQL and re-enable constraints on the Parent table after Bulk
    loading on Child Table using After SQL statements.
    

Comments

APAR Information

  • APAR number

    JR52898

  • Reported component name

    WIS DATASTAGE

  • Reported component ID

    5724Q36DS

  • Reported release

    912

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-24

  • Closed date

    2015-05-05

  • Last modified date

    2015-05-05

  • 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

  • R910 PSY

       UP

  • R912 PSY

       UP

  • RB30 PSY

       UP

  • RB31 PSY

       UP

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

Document Information

Modified date:
14 October 2021