IBM Support

IY82845: ERROR -804 MAY BE RAISED WHEN CREATING A NICKNAME AGAINST A ORACLE TABLE THAT HAS DECIMAL ( NUMBER ) COLUMNS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error -804 may be raised when creating a nickname against an
    Oracle table
    that has decimal ( number ) columns.
    This happens when the db2 database has been created with a
    territory code that has a
    comma as a default decimal seperator.
    The error is raised because db2 fails to convert the comma into
    a dot when updating
    the system catalogs with the high2key and low2key values.
    
    IBM][CLI Driver][DB2/6000] SQL0804N  The application program
    arameters for the current request are not valid.  Reason code
    ".  If a host variable or SQLVAR in the SQLDA is invalid then:
    host variable/SQLVAR number = "", SQLTYPE = "", SQLLEN = "",
    ost variable/SQLVAR type = "".  SQLSTATE=07002
    
    Workarounds may be to :
    
    Add DB2_II_LOW2KEY_HIGH2KEY=NO in the db2dj.ini file.
    or
    set NLS_LANG=French_American.AL32UTF8 in the db2dj.ini file
    (This value may need change depending on the locale).
    

Local fix

  • Workarounds may be to :
    
    Add DB2_II_LOW2KEY_HIGH2KEY=NO in the db2dj.ini file.
    or
    set NLS_LANG=French_American.AL32UTF8 in the db2dj.ini file
    (This value may need change depending on the locale).
    

Problem summary

  • ERROR -804 MAY BE RAISED WHEN CREATING A NICKNAME AGAINST A
    ORACLE TABLE THAT HAS DECIMAL ( NUMBER ) COLUMNS.
    

Problem conclusion

  • First fixed in DB2 UDB Version 8.2, FixPak 12
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY82845

  • Reported component name

    WS II ORACLE WR

  • Reported component ID

    5724C7408

  • Reported release

    820

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2006-03-16

  • Closed date

    2006-05-23

  • Last modified date

    2006-05-23

  • 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

    WS II ORACLE WR

  • Fixed component ID

    5724C7408

Applicable component levels

  • R820 PSY

       UP

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS2K5T","label":"InfoSphere Federation Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"820"}]

Document Information

Modified date:
02 October 2021