IBM Support

IC85013: SQLGETDIAGFIELDW RETURNS INCORRECT VALUE FOR PCBDIAGINFO

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The CLI unicode function SQLGetDiagFieldW() returns an incorrect
    size for the error message :
    
    SQLGetDiagFieldW( pDiagInfo="[IBM][CLI Driver] CLI0100E  Wrong
    number of parameters. SQLSTATE=07001", pcbDiagInfo=140 )
    => pcbDiagInfo is set to 140
    If should be 70 :
    SQLGetDiagFieldW( pDiagInfo="[IBM][CLI Driver] CLI0100E  Wrong
    number of parameters. SQLSTATE=07001", pcbDiagInfo=70 )
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * CLI applications                                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 9.7 FP7 or later                              *
    ****************************************************************
    

Problem conclusion

  • The problem is first fixed in DB2 9.7 FP7
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC85013

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-29

  • Closed date

    2013-01-28

  • Last modified date

    2013-01-28

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

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

    IC88617

Fix information

  • Fixed component name

    DB2 CONNECT

  • Fixed component ID

    DB2CONNCT

Applicable component levels

  • R970 PSY

       UP

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

Document Information

Modified date:
19 June 2020