IBM Support

JR50297: SELECT FROM A FEDERATED NICKNAME MAY RECEIVE SQL0180N ERROR WITH DATETIME/TIMESTAMP COLUMNS AFTER UPGRADE TO 10.1 FP3

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • After upgrading to Federated Server 10.1 Fixpack 3, the
    following may occur when using a date function on a
    datetime/timestamp column.
    
    % db2 "select count(*) from NICKNAME where
    date(datetime)='2014-05-08'"
    
    1
    -----------
    SQL0180N  The syntax of the string representation of a datetime
    value is
    incorrect.  SQLSTATE=22007
    
    This problem occurs starting 10.1 Fixpack 3 due to APAR IC92697
    that was included in 10.1 Fixpack 3
    

Local fix

  • This behavior only occurs at query optimization of 5.  As a
    workaround, query optimization of 3 can be used:
    db2 ?set current query optimization 3?
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 V10.1 Fix Pack 5 or higher.                   *
    ****************************************************************
    

Problem conclusion

  • First fixed in DB2 V10.1 Fix Pack 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR50297

  • Reported component name

    FEDERATION SERV

  • Reported component ID

    5724N9700

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-05-20

  • Closed date

    2015-07-31

  • Last modified date

    2015-07-31

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    JR51341 JR52996

Fix information

  • Fixed component name

    FEDERATION SERV

  • Fixed component ID

    5724N9700

Applicable component levels

  • RA10 PSN

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCAVPY","label":"General Issues"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
31 July 2015