IBM Support

IC79050: INCORRECT BEHAVIOR WITH EXTERNAL TABLE WHEN STRING CANNOT BE FULLY CONVERTED INTO AN INTEGER, ERROR 1213 SHOULD BE THROWN

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

  • The following incorrect behavior has been observed:
    
    CREATE EXTERNAL TABLE EXT_INT_TEST
    (col1 int)
    USING ( DATAFILES ('DISK:./ext_int.txt'),
    DBDATE 'DMY4.', DBMONEY '.',
    FORMAT 'delimited', DELUXE, DELIMITER '|');
    
    File "./ext_int.txt" contains:
    212ggg|
    
    
    $ echo 'select * from ext_int_test;' | dbaccess test
    
    Database selected.
    
           col1
    
            212
    
    1 row(s) retrieved.
    
    Database closed.
    
    The string value from the file simply truncated instead of error
    1213.
    Loading the same data into a normal table returns error 1213 as
    expected.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IDS 11.70xC1 and later on all platforms                      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * IDS would incorrectly convert an invalid string in an        *
    * External Table into an integer without throwing out an       *
    * error.                                                       *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to product JDBC Version 3.50JC10                     *
    *                                                              *
    * For download information, go to:                             *
    * http://www.ibm.com/support/fixcentral                        *
    ****************************************************************
    

Problem conclusion

  • With the fix in 11.70xC5, conversion to an integer value from an
    external Table would behave as expected as per IDS docs.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC79050

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    B70

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2011-10-04

  • Closed date

    2017-06-10

  • Last modified date

    2017-06-10

  • 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

    INFORMIX SERVER

  • Fixed component ID

    5725A3900

Applicable component levels

  • RB70 PSN

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B70","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 June 2017