ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum IndexWebSphere Message Broker SupportException in Passthru statement to Oracle Database

Post new topicReply to topic
Exception in Passthru statement to Oracle Database View previous topic :: View next topic
Author Message
sudheer7700
PostPosted: Fri Nov 10, 2017 2:04 am Post subject: Exception in Passthru statement to Oracle Database Reply with quote

Novice

Joined: 01 Feb 2017
Posts: 17

I am have a requirement to call both db2 and oracle databases from 1 compute node. Db2 is working, Oracle Throwing below exception

"[Microsoft][ODBC Driver Manager] Driver does not support this function"

The code I wrote

Db2 :
PASSTHRU('select * from <SchemaName>.<TableName> where NAME = ?' TO Database.<DB2DataSourceName> VALUES('xxxx'));

Oracle :
PASSTHRU('select * from <SchemaName>.<TableName> where NAME = ?' TO Database.<OracleDataSourceName> VALUES('xxxx'));

I need SQL statements to be passed with in passthru
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Nov 10, 2017 5:37 am Post subject: Re: Exception in Passthru statement to Oracle Database Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19382
Location: LI,NY

sudheer7700 wrote:
I am have a requirement to call both db2 and oracle databases from 1 compute node. Db2 is working, Oracle Throwing below exception

"[Microsoft][ODBC Driver Manager] Driver does not support this function"

The code I wrote

Db2 :
PASSTHRU('select * from <SchemaName>.<TableName> where NAME = ?' TO Database.<DB2DataSourceName> VALUES('xxxx'));

Oracle :
PASSTHRU('select * from <SchemaName>.<TableName> where NAME = ?' TO Database.<OracleDataSourceName> VALUES('xxxx'));

I need SQL statements to be passed with in passthru

Don't know your version but on older versions the additional datasourcenames had to be of the same type as was specified on the compute node. I.e. all Oracle or all DB2 but not mix.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportException in Passthru statement to Oracle Database
Jump to:



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP


Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright MQSeries.net. All rights reserved.