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 Index » WebSphere Message Broker (ACE) Support » Connecting to Oracle database from broker on mainframes

Post new topic  Reply to topic
 Connecting to Oracle database from broker on mainframes « View previous topic :: View next topic » 
Author Message
kishoreraju
PostPosted: Wed Jun 09, 2010 10:45 am    Post subject: Connecting to Oracle database from broker on mainframes Reply with quote

Disciple

Joined: 30 Sep 2004
Posts: 156

Hi All,

I never worked on Message broker running on mainframes.

Presenlty i have to work on an interface which need to retrieve some data from oracle database tables.

is it possible to connect oracle db from broker on mainframes

if yes then where i need add the Datasource information.

where i need look to verify that required drivers installed correctly(DataDirect 5.3 64bit Oracle Wire Protocol)

Thanks in advance

Kishore.
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Jun 09, 2010 11:46 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp

"If you need to access databases that are not on DB2 on z/OS, you can use DB2's Distributed Data Facility (DDF) and Distributed Relational Architecture (DRDA) to incorporate a remote unit of work within a message flow."
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
wschutz
PostPosted: Wed Jun 09, 2010 11:55 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/ad25540_.htm?resultof=%22%7a%2f%6f%73%22%20%22%64%62%32%22%20
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
mqjeff
PostPosted: Wed Jun 09, 2010 12:45 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

wschutz wrote:
http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp

"If you need to access databases that are not on DB2 on z/OS, you can use DB2's Distributed Data Facility (DDF) and Distributed Relational Architecture (DRDA) to incorporate a remote unit of work within a message flow."


Well, this almost certainly is true of v6.1 as well, which if kishoreraju is using DD version 5.3 is the most likely version of Broker to be involved.

Broker v7 uses the DataDirect v6.0 drivers.
Back to top
View user's profile Send private message
Cubersome
PostPosted: Wed Dec 23, 2015 1:49 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Mar 2012
Posts: 37

Hi Mqjeff,

I created a configurable service (Type - JDBC Provider) to connect to Oracle Database and I am providing that service name in the Compute Node DSN.
I am getting the following error during the establishment of the connection:
Code:
            DatabaseException
                     File:CHARACTER:/srvbuild/v800/wmb/fp04/ERIE915/src/DataFlowEngine/ImbOdbc.cpp
                     Line:INTEGER:2260
                     Function:CHARACTER:ImbOdbcConnection::checkRcInner
                     Type:CHARACTER:
                     Name:CHARACTER:
                     Label:CHARACTER:
                     Catalog:CHARACTER:BIPmsgs
                     Severity:INTEGER:3
                     Number:INTEGER:2393
                     Text:CHARACTER:Root SQL exception
                     Insert
                           Type:INTEGER:2
                           Text:CHARACTER:-1
                     Insert
                           Type:INTEGER:5
                           Text:CHARACTER:ORACLECCCX1_CCDEV_A1
                     Insert
                           Type:INTEGER:14
                           Text:CHARACTER:DB2.ODBC64
                     DatabaseException
                           File:CHARACTER:/srvbuild/v800/wmb/fp04/ERIE915/src/DataFlowEngine/ImbOdbc.cpp
                           Line:INTEGER:2446
                           Function:CHARACTER:ImbOdbcConnection::checkRcInner
                           Type:CHARACTER:
                           Name:CHARACTER:
                           Label:CHARACTER:
                           Catalog:CHARACTER:BIPmsgs
                           Severity:INTEGER:3
                           Number:INTEGER:2322
                           Text:CHARACTER:Child SQL exception
                           Insert
                                 Type:INTEGER:5
                                 Text:CHARACTER:22024
                           Insert
                                 Type:INTEGER:2
                                 Text:CHARACTER:-300
                           Insert
                                 Type:INTEGER:5
                                 Text:CHARACTER:{DB2 FOR OS/390}{ODBC DRIVER}   DSNT408I SQLCODE = -300, ERROR:  THE STRING CONTAINED IN HOST VARIABLE OR                 PARAMETER 1 IS NOT NUL-TERMINATED                                       DSNT418I SQLSTATE   = 22024 SQLSTATE RETURN CODE                                 DSNT415I SQLERRP    = DSNXRIHB SQL PROCEDURE DETECTING ERROR                     DSNT416I SQLERRD    = -335  0  0  -1  0  0 SQL DIAGNOSTIC INFORMATION            DSNT416I SQLERRD    = X'FFFFFEB1'  X'00000000'  X'00000000'  X'FFFFFFFF'                  X'00000000'  X'00000000' SQL DIAGNOSTIC INFORMATION                      ERRLOC=1:13:2


Can you please advice whether broker running on z/os can connect to Oracle DB using JDBC provider with Compute or Database Node?
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Dec 24, 2015 12:04 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Cubersome wrote:
Hi Mqjeff,

I created a configurable service (Type - JDBC Provider) to connect to Oracle Database and I am providing that service name in the Compute Node DSN.


As per the documentation (you know that thing that nobody reads) an ESQL COMPUTE Node uses an ODBC DSC and most certainly not a JDBC connection. Other compute node types may differ but their features are fully described in .... the Documentaion

As for the Database node, I will leave you to find the answer in the Documentation.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 24, 2015 6:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Cubersome wrote:
Can you please advice whether broker running on z/os can connect to Oracle DB using JDBC provider with Compute or Database Node?


No, a broker running on z/OS can't use a JDBC provider with a Compute node. A broker running on Windows or any other distributed platform can't use a JDBC provider with a Compute node.

The InfoCenter explains which database connection types go with which nodes.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Connecting to Oracle database from broker on mainframes
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.