IBM Support

IT17403: CONNECTION TO DB2 DATABASE USING ODBC DRIVER MANAGER IN MAC OS XFAILS WITH SQL1024N ERROR

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • ODBC Driver Manager that comes from Apple, is failing to connect
    to DB2 database using DB2 CLI. It fails with error SQL1024N
    error.
    
    It fails because DB2  understands only UTF-16, where as mac uses
    UTF-32.
    
    To overcome this, we have introduced a new db2dsdriver.cfg
    keyword UTF32Encoding. User need to set the keyword
    UTF32Encoding to true in global param section.
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * DB2 CLI users on Mac                                         *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 version 11.1.1.1                              *
    ****************************************************************
    

Problem conclusion

  • Please upgrade to DB2 v11.1.1.1
    and User need to set the keyword UTF32Encoding to true in global
    param section.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT17403

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-10-07

  • Closed date

    2016-12-20

  • Last modified date

    2016-12-20

  • 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

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z Systems"}],"Version":"11.1","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
29 June 2020