IBM Support

JR52996: 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 Federated Server 10.5 Fixpack 7                   *
    ****************************************************************
    

Problem conclusion

  • First fixed in Federated Server 10.5 Fixpack 7
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR52996

  • Reported component name

    FEDERATION SERV

  • Reported component ID

    5724N9700

  • Reported release

    A50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-04-01

  • Closed date

    2016-01-20

  • Last modified date

    2016-01-20

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

    JR50297

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

Fix information

  • Fixed component name

    FEDERATION SERV

  • Fixed component ID

    5724N9700

Applicable component levels

  • RA50 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.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 January 2016