IBM Support

LI70919: SQL1822N ERROR OCCURRED WHEN SELECT SQL WHICH USE 'CASE' AND DOUBLE BYTE CHARACTER VIA NICKNAME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • SQL1822N error occurred when select sql which use 'CASE' and
    double byte character via nickname on FP9a .
    
    ie :
    "SELECT  col1 AS COLUMN1 , COL2 AS COLUMN2,CASE COL3 WHEN '1'
    THEN '1:OK' WHEN '2' THEN '2:NG' END AS COLUMN3,CASE COL4
    WHEN '1' THEN '1:OK' WHEN '2' THEN '2:NG' END AS COLUMN4,
    COL5 AS COLUMN5,COL6 AS COLUMN6 FROM remote_table WHERE col1
    BETWEEN '000' AND '999' ORDER BY col1"
    * remote_table is nickname .
    
    Return follwing error :
    SQL1822N  Unexpected error code "-418" received from data source
    "remote".
    Associated text and tokens are " SQL0418N  A statement contains
    a use of a
    parameter marker".  SQLSTATE=560BDt contains a use of a
    parameter marker t".
    SQLSTATE=560BD
    

Local fix

Problem summary

  • Wrapper problem
    

Problem conclusion

  • Problem was fiest fixed in DB2 Version 8.1 FixPack  12  (V8.2 FP
    5) .
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI70919

  • Reported component name

    DB2 UDB EXE LIN

  • Reported component ID

    5724E4904

  • Reported release

    810

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2005-09-20

  • Closed date

    2006-05-16

  • Last modified date

    2006-05-16

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

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

Modules/Macros

  • engn_drd
    

Fix information

  • Fixed component name

    DB2 UDB EXE LIN

  • Fixed component ID

    5724E4904

Applicable component levels

  • R810 PSN

       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":"810","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
14 October 2021