IC94162: IN SOME CASES SQLGETDIAGFIELDW FUNCTION WILL TRUNCATE THE DIAGNOSTIC MESSAGE RETURNED.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as fixed if next.

Error description

  • Calling SQLGetDiagField function by CLI application in some
    cases will return truncated diagnostic message. Here is an
    example:
    
    Truncated result:
    SQLGetDiagField( pDiagInfo="[IBM][CLI Driver][DB2] INVOCATION OF
    FUNCTION OR PROCEDURE SYSPROC.ADMIN_INFO_SYSLOG", pcbDiagInfo=84
    )
        <--- SQL_SUCCESS   Time elapsed - +1.237700E-002 seconds
    
    Correct result:
    SQLGetDiagField( pDiagInfo="[IBM][CLI Driver][DB2] INVOCATION OF
    FUNCTION OR PROCEDURE SYSPROC.ADMIN_INFO_SYSLOG FAILED DUE TO
    REASON 00E79106", pcbDiagInfo=114 )
        <--- SQL_SUCCESS   Time elapsed - +1.237700E-002 seconds
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * CLI applications.                                            *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Please See Error Description.                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Please See Error Description.                                *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IC94162

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    970

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-07-16

  • Closed date

    2013-10-02

  • Last modified date

    2013-10-02

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

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

    IC94163 IC94164

Fix information

Applicable component levels

  • R970 PSN

       UP

  • RA10 PSN

       UP

  • RA50 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

9.7

Reference #:

IC94162

Modified date:

2013-10-02

Translate my page

Machine Translation

Content navigation