IBM Support

IT04069: ORACLE QUERIES WITH DATE FORMATS OTHER THAN YYYY-MM-DD HH24:MI:SS MAY FAIL.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Oracle queries with date formats other than YYYY-MM-DD
    HH24:MI:SS may fail with Invalid input error message.
    
    This also may not occur until the initial idle connection
    timeout has happened when a DataSource object is first brought
    up.
    

Local fix

  • Use format DD-MON-YYYY
    
    In the same session run the following query just prior to the
    actual SQL execution. Alter Session Set
    NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS
    

Problem summary

  • Oracle SQL query might fail with the error 'literal does not
    match format string ORA-06512' when VARCHAR is set to DATE.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT04069

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    601

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-08-27

  • Closed date

    2014-09-22

  • Last modified date

    2014-09-26

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

  • R601 PSY

       UP

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateway"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 February 2022