IBM Support

JR26072: SQLGETTYPEINFO RETURNING INCORRECT VALUE FOR CREATE_PARAMS COLUM N FOR DECIMAL COLUMNS AGAINST Z/OS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A CLI application using the SQLGetTypeInfo() API is returing the
    value "PRECISION,SCALE" for the CREATE_PARAMS column when a DEC
    IMAL type is used, and if the application is connecting to DB2 f
    or z/OS.
    .
    If the DECIMAL=COMMA setting is used on the host, then the corre
    ct value should be "PRECISION, SCALE" (with a space).  This is t
    he value that is returned from querying the SYSIBM.SQLTYPEINFO t
    able on the host as well.
    

Local fix

Problem summary

  • Users Affected:  Application developers using the CLI driver.
    Problem Description:  The CLI API SQLGetTypeInfo() was returning
    the wrong value from the CREATE_PARAMS column with a z/DB2
    connection.
    

Problem conclusion

  • First fixed in DB2 UDB Version 9, Fixpak 5
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR26072

  • Reported component name

    DB2 CEE WINDOWS

  • Reported component ID

    5765F3001

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-03-01

  • Closed date

    2008-07-02

  • Last modified date

    2008-07-02

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

    JR25858

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

Fix information

  • Fixed component name

    DB2 CEE WINDOWS

  • Fixed component ID

    5765F3001

Applicable component levels

  • R910 PSN

       UP

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

Document Information

Modified date:
06 October 2021