IBM Support

IT19367: ORA-01841 ERROR CALLING AN ORACLE STORED PROCEDURE THAT USES THETO_TIMESTAMP_TZ FUNCTION ON A TIMESTAMP CHARACTER STRING

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

  • An Oracle stored procedure is called from ESQL with one of the
    input parameters being a timestamp string.
    
    The stored procedure performs an insert operation and uses the
    Oracle TO_TIMESTAMP_TZ function to convert the character string
    to a TIMESTAMP WITH TIME ZONE datatype.
    
    The insert can fail with the following error:
    
    ORA-01841: (full) year must be between -4713 and +9999, and not
    be 0
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM Integration Bus V9.0 and V10.0 using the
    DataDirect ODBC driver with Oracle.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    An Oracle stored procedure is called from ESQL with one of the
    input parameters being a timestamp string.
    
    The stored procedure performs an insert operation and uses the
    Oracle TO_TIMESTAMP_TZ function to convert the character string
    to a TIMESTAMP WITH TIME ZONE datatype.
    
    The insert can fail with the following error:
    
    ORA-01841: (full) year must be between -4713 and +9999, and not
    be 0
    
    There are a number of resource name changes between WebSphere
    Message Broker and IBM Integration Bus Version 9.0.  For details
    visit
    http://pic.dhe.ibm.com/infocenter/wmbhelp/v9r0m0/topic/com.ibm.e
    tools.mft.doc/bb23814_.htm
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT19367

  • Reported component name

    INTEGRATION BUS

  • Reported component ID

    5724J0530

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-22

  • Closed date

    2017-06-09

  • Last modified date

    2017-06-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

    INTEGRATION BUS

  • Fixed component ID

    5724J0530

Applicable component levels

  • R900 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 March 2020