IBM Support

IT37328: Syntax error when making a parameterised PASSTHRU call that usesthe 'OUTPUT' clause against SQL Server.

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 you make an ESQL PASSTHRU call with parameters to delete data
    from an SQL Server database and the delete statement
    uses the SQL Server 'OUTPUT' clause, then a syntax error is
    incorrectly reported.
    
    The error reported is  [HY000] [IBM][ODBC SQL Server Wire
    Protocol driver][Microsoft SQL Server]Incorrect syntax near
    'DELETED'.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM Integration Bus version 10 or App Connect
    Enterprise versions 11 or 12 that use the DataDirect SQL Server
    ODBC driver for Unix or Linux.
    
    
    Platforms affected:
    AIX, HP-UX Itanium platform, Linux on Power platform, Linux on
    x86-64 platform, Linux on zSeries platform, Solaris x86-64
    platform, Solaris SPARC platform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When using the SQL Server 'OUTPUT' clause in a parameterised
    PASSTHRU statement an incorrect syntax error is reported.
    
    The error reported is:
     [HY000] [IBM][ODBC SQL Server Wire Protocol driver][Microsoft
    SQL Server]Incorrect syntax near 'DELETED'.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT37328

  • 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-06-18

  • Closed date

    2021-06-30

  • Last modified date

    2021-06-30

  • 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

[{"Type":"MASTER","Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Version":"All Versions"}]

Document Information

Modified date:
01 July 2021