IBM Support

IT37023: SECOND CALL TO ORACLE STORED PROCEDURE HANGS IF SYS_REFCURSOR INCLUDED IN MIDDLE OF PARAMETER LIST

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

  • If an Oracle database stored procedure has been defined to
    return a result set using a SYS_REFCURSOR output parameter, and
    that SYS_REFCURSOR output parameter has been declared in the
    middle of the parameter list in the stored procedure signature
    rather than at the end, a second call to the procedure may hang
    (or time out).
    

Local fix

  • Redefine the Oracle database stored procedure to move the
    SYS_REFCURSOR to the end of the parameter list.
    Alternatively, set the environment variable
    MQSI_EMPTY_DB_CACHE=1 to force a re-prepare of the SQL statement
    for each database call.
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM Integration Bus V10 and IBM App Connect
    Enterprise V11 and V12 using Oracle ODBC connections.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    If an Oracle database stored procedure has been defined to
    return a result set using a SYS_REFCURSOR output parameter, and
    that SYS_REFCURSOR output parameter has been declared in the
    middle of the parameter list in the stored procedure signature
    rather than at the end, a second call to the procedure may hang
    (or time out).
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT37023

  • Reported component name

    INTEGRATION BUS

  • Reported component ID

    5724J0540

  • Reported release

    A00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-26

  • Closed date

    2021-10-22

  • Last modified date

    2021-10-22

  • 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

    INTEGRATION BUS

  • Fixed component ID

    5724J0540

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0"}]

Document Information

Modified date:
23 October 2021