APAR status
Closed as program error.
Error description
An ODBC SELECT statement that contains a sub query with parameter markers fails when executed against a SQL Server database. The following error is reported: BIP2322E: Database error: SQL State 'HY000'; Native Error Code '156'; Error Text '[IBM][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Incorrect syntax near the keyword 'SET'.'. Additional Symptom(s) Search Keyword(s): ODBC Select, BIP2322E, SQL STATE HY000, SQL SERVER
Local fix
Problem summary
**************************************************************** USERS AFFECTED: All users of IBM Integration Bus v10 using the SQL Server DataDirect ODBC driver. 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: An ODBC SELECT statement that contains a sub query with parameter markers fails when executed against a SQL Server database. The following error is reported: BIP2322E: Database error: SQL State 'HY000'; Native Error Code '156'; Error Text '[IBM][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Incorrect syntax near the keyword 'SET'. The ODBC driver rejects the SQLDescribeParam() call that is used to find out the description of the parameter marker, for example the datatype. There are a number of resource name changes between WebSphere Message Broker and IBM Integration Bus Version 9.0. For details visit http://pic.dhe.ibm.com/infocenter/wmbhelp/v9r0m0/topic/com.ibm.e tools.mft.doc/bb23814_.htm
Problem conclusion
The product now handles the error and substitutes the values for the parameter markers into the statement string before re-executing the query. --------------------------------------------------------------- The fix is targeted for delivery in the following PTFs: Version Maintenance Level v10.0 10.0.0.9 The latest available maintenance can be obtained from: http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041 If the maintenance level is not yet available,information on its planned availability can be found on: http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308 ---------------------------------------------------------------
Temporary fix
Comments
APAR Information
APAR number
IT17503
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
2016-10-14
Closed date
2017-05-25
Last modified date
2017-05-25
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
RA00 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
23 March 2020