IBM Support

IC75074: CASCADING SPL IN TRIGGER FAILS WITH ERROR -674 IN UDR_DETERMINE WHEN MAXOPENDB EQUALS 8 IS REACHED

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

  • Application hits error -674 when there are many cascading SPL
    calls.
    
    This is the stack of the failing thread written in online.log,
    that is generated using onmode -I 674 :
    
    afstack
    afhandler
    affail_interface
    check_traperror
    sqerr
    sqerr1
    udr_determine
    expr_determine
    common_routine2expr
    routine2expr
    expr2expr
    exec2cb
    stmt2cb
    p_sp2cb
    parsecmd
    sqcmd
    sq_cmnd
    sq_prepare
    sqmain
    listen_verify
    spawn_thread
    startup
    (*nosymtab*)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users who perform queries with many levels of nested routine *
    * calls or cascading trigger action or a combination of both.  *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Server failed with sql error -674 when there is a cascading  *
    * routine in trigger.                                          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to IDS 11.50.xC9 or later version.                   *
    ****************************************************************
    

Problem conclusion

  • When a database is in use by a routine or trigger, it will not
    be released to be re-used like other sql statements until the
    trigger/routine statement completes. If all slots to store
    database information is reached, sql error -26600 will return.
    Fixed in IDS 11.50.xC9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC75074

  • Reported component name

    IBM IDS ENTRP E

  • Reported component ID

    5724L2304

  • Reported release

    B15

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-03-16

  • Closed date

    2011-09-27

  • Last modified date

    2011-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

    IBM IDS ENTRP E

  • Fixed component ID

    5724L2304

Applicable component levels

  • RB15 PSY

       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":"B15","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
27 September 2011