IBM Support

IT31122: SQLTABLES FAILS TO RETURN CATALOG INFORMATION WHEN CATALOGNAME IS SQL_ALL_CATALOGS AND TABLETYPE IS AN EMPTY STRING

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Doing a SQLTables call like:
    
        Microsoft.Mashu 35f4-af8 EXIT SQLTablesW with return code -1
    (SQL_ERROR)
    
        HSTMT        0x07AF81A0
        WCHAR *       0x02C5BE44 [    1] "%"
        SWORD            1
        WCHAR *       0x02861230 <zero length>
        SWORD            0
        WCHAR *       0x02861230 <zero length>
        SWORD            0
        WCHAR *       0x02861230 <zero length>
        SWORD            0
    
        DIAG [IM001] [Informix][Informix ODBC Driver]Driver does not
    support this function. (-11040)
    
    fails with error -11040 "Driver does not support this function"
    
    ------
    ------
    
    The ODBC driver should accept that combination of parameters
    ('%' and nulls) rather than just throw an SQL_ERROR and return a
    list of valid catalogs for that datasource.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Client SDK 4.10.xC13 and possibly earlier  *
    * versions                                                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * SQLTABLES FAILS TO RETURN CATALOG INFORMATION WHEN           *
    * CATALOGNAME                                                  *
    * IS SQL_ALL_CATALOGS AND TABLETYPE IS AN EMPTY STRING         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Upgrade to Informix Client SDK 4.10.xC14.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT31122

  • Reported component name

    IBM CSDK

  • Reported component ID

    5724C2381

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-12-02

  • Closed date

    2020-03-03

  • Last modified date

    2020-03-03

  • 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

    IBM CSDK

  • Fixed component ID

    5724C2381

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCVRDE","label":"Informix Client Software Development Kit"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
27 March 2020