IBM Support

IC95361: SQL1822N ERROR WHEN QUERYING CURRENT DATE OR TIMESTAMP FROM NICKNAME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A query that has "current date" or "current timestamp" in its
    select-list may result in SQL1822N error, e.g.
    
    select distinct current date, col1 from nick
    
    SQL1822N  Unexpected error code "-418" received from data source
    "AHE_LPDB_SERVER". Associated text and tokens are " SQL0418N  A
    statement
    

Local fix

  • Remove "current date" or "current timestamp" from the
    select-list
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * all platforms                                                *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Update to 10.5.0.3                                           *
    ****************************************************************
    

Problem conclusion

  • Problem Fixed In 10.5.0.3
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC95361

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A50

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-08-27

  • Closed date

    2014-04-29

  • Last modified date

    2014-04-29

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

    JR42865

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA50 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"DB2 for Linux- UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.5","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
13 January 2022