IBM Support

IT40640: DATAPOWER SQL-EXEC FAILED TO RETRIEVE STORED PROCEDURE RESPONSE

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 the response  has a data field with CLOB data type : The
    store procedure returns a ref_cursor containing multiple rows,
    but the datapower sql-exec response looks like as if there is no
    record found.
    
    The ODBC driver fails to get the server data when both CLOB and
    '' are included at the same time.
    A quick workaround is to use the keyword "NULL" instead of the
    ''
    

Local fix

  • n/a
    

Problem summary

  • When using the stored procedure to return the SYS_REFCURSOR
    including both CLOB and empty char at the same time, Datapower
    SQL-EXEC fails to retrieve the response of stored procedure.
    

Problem conclusion

Temporary fix

  • To use keyword "NULL" instead of empty char '' in stored
    procedure.
    

Comments

APAR Information

  • APAR number

    IT40640

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    18X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-04-14

  • Closed date

    2022-04-21

  • Last modified date

    2022-04-21

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X"}]

Document Information

Modified date:
22 April 2022