Skip to main content

IC84510: ERROR COULD OCCUR WHEN USING CHAR ARRAY IN EXTERNAL JAVA ROUTINE


Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When running an external Java routine that uses CHAR array or
    CHAR array for bit data as a parameter, sqlcode -1131 or -4302
    could be returned.
    
    SQL1131N  DARI (Stored Procedure) process has been terminated
    abnormally.
    SQLSTATE=38503
    
    SQL4302N  Procedure or user-defined function "xxxx.xxxx",
    specific name
    "SQLxxxxxxxxxxxxx" aborted with an exception "Incompatible base
    type for
    array".
    

Local fix

  • switching to VARCHAR could avoid the problem
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 LUW Version 10.1 Fixpack 2                    *
    ****************************************************************
    

Problem conclusion

  • Problem is first fixed in DB2 LUW Version 10.1 Fixpack 2
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC84510

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    A10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-14

  • Closed date

    2013-02-04

  • Last modified date

    2013-02-04

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

    IC81921

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

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • RA10 PSN

       UP

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

DB2 for Linux, UNIX and Windows


Software version:
10.1


Reference #:
IC84510


Modified date:
2013-02-04

Translate my page

Content navigation