IBM Support

IT41196: DROPPING AN EXTERNAL TABLE IN A STORED PROCEDURE CAN FAIL WITH -214/-106 WHEN IT IS RUN WITH PDQ

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

  • DROP PROCEDURE IF EXISTS srv_p_test_drop_ext_tab() ;
    
    CREATE PROCEDURE srv_p_test_drop_ext_tab()
    
    DROP TABLE IF EXISTS ext_tab ;
    SET PDQPRIORITY 2 ;
    
    BEGIN
    
        CREATE EXTERNAL TABLE ext_tab
        ( id INTEGER
        )
        USING
        (
        DATAFILES ('DISK:ext_tab.dat_ifx')
        )
        ;
    
        INSERT INTO ext_tab
          SELECT 1
          FROM sysmaster:sysdual
        ;
    
        DROP TABLE IF EXISTS ext_tab ;
    
    END ;
    END PROCEDURE ;
    
    EXECUTE PROCEDURE srv_p_test_drop_ext_tab() ;
    
    DROP PROCEDURE srv_p_test_drop_ext_tab() ;
    
    
    Routine created.
    
    
      214: Cannot remove file for table (informix.ext_tab).
    
      106: ISAM error:  non-exclusive access.
    Error in line 1
    Near character position 1
    
    Routine dropped.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Server prior to 12.10.xC16 and 14.10.xC9.  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to Informix Server 12.10.xC16 (if available) or      *
    * 14.10.xC9.                                                   *
    ****************************************************************
    

Problem conclusion

  • Fixed in Informix Server 12.10.xC16 and 14.10.xC9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT41196

  • Reported component name

    INFORMIX SERVER

  • Reported component ID

    5725A3900

  • Reported release

    E10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-06-13

  • Closed date

    2022-10-04

  • Last modified date

    2022-10-04

  • 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

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSGU8G","label":"Informix Servers"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E10"}]

Document Information

Modified date:
05 October 2022