IC96041: FOR VARCHAR COLUMN IF WE SUPPLY DATA > 32K THROUGH SQLPUTDATA IT IS THROWING RC = SQL_ERROR AND RETURNS NO ERROR.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If the application is trying to insert the VARCHAR data to a
    table column through SQLPutData and execute fails with rc = -1
    and it won't return any error. It has to return the " SQL0302N
    The value of a host variable in the EXECUTE or OPEN statement is
    out of range for its corresponding use.  SQLSTATE=22001" error
    or  CLI0109E  String data right truncation. SQLSTATE=22001
    error.
    

Local fix

  • NA
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users running the CLI application.                           *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to  DB2 version 10.1.3                               *
    ****************************************************************
    

Problem conclusion

  • Please upgrade to DB2 v101FP3, it will display the correct
    error.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC96041

  • Reported component name

    DB2 CONNECT

  • Reported component ID

    DB2CONNCT

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-09-17

  • Closed date

    2013-09-27

  • Last modified date

    2013-09-27

  • 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

  • RA10 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

10.1

Reference #:

IC96041

Modified date:

2013-09-27

Translate my page

Machine Translation

Content navigation