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 » How to access 2 database in a single compute node in v6.1

Post new topic  Reply to topic
 How to access 2 database in a single compute node in v6.1 « View previous topic :: View next topic » 
Author Message
Deepika Bharti
PostPosted: Wed Jun 04, 2008 3:36 pm    Post subject: How to access 2 database in a single compute node in v6.1 Reply with quote

Newbie

Joined: 05 Mar 2008
Posts: 4

Hiya,

I need to two databases to use in a single compute node . I have to extract data from Oracle database and then in the same compute node I want to insert the data to SQL Server database.
Can anyone guide me how to do so ??...as I can only give one DSN (for one database) in the properties of compute node.

Also can anyone tell me that is it feasible to use SQL server database with Oracle database within the same compute node ??

Thanks
Deepika
Back to top
View user's profile Send private message
santy
PostPosted: Wed Jun 04, 2008 8:14 pm    Post subject: Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 141

Hi,

Make Use of Procedures. You can use procedures to call any application database.
Back to top
View user's profile Send private message
AkankshA
PostPosted: Wed Jun 04, 2008 9:22 pm    Post subject: Re: How to access 2 database in a single compute node in v6. Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Deepika Bharti wrote:

I need to two databases to use in a single compute node . I have to extract data from Oracle database and then in the same compute node I want to insert the data to SQL Server database.
Can anyone guide me how to do so ??...as I can only give one DSN (for one database) in the properties of compute node.


in eSQL your database commands shall include the DSN name of the DB u want to access... something like..
database.<DSNname>.<Schemaname>.<Table Name>.............

in Compute node u can give DSN name of any of the server..


till v6 it was not possible to access 2 different DB types in one compute node.... i am not sure abt 6.1
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
dilse
PostPosted: Thu Jun 05, 2008 9:32 am    Post subject: Reply with quote

Master

Joined: 24 Jun 2004
Posts: 270

Hi Deepika,
Here is extract from the V6.0 information center, which you should easily able to find.

Quote:
"You can access user databases from Compute, Database, and Filter nodes; you can use the same ESQL statements and functions to access databases in all three types of node. A single node can access multiple databases but the following restrictions apply:

* Any node that accesses one or more databases must have its Data source property set with the ODBC data source name (DSN) of a database; the database must be accessible and operational, and the broker must be authorized to connect to it.
* All databases that are accessed from a single node must be compatible with each other. If you use the same database manager on the same platform at the same service level for all the databases, the data sources will be compatible. For example, two DB2 database instances at the same DB2 fix pack level are compatible but a DB2 database and an Oracle database are not compatible. If you use data sources that are not compatible, when you put a message through the message flow to test it, the message flow throws an error. If your data sources are not compatible, you cannot access them from a single node; if this is the case, use additional nodes in your message flow.
* All tables that are referred to in a single SELECT function’s FROM clause must be in the same database."

These restrictions apply to both V6.0 and V6.1. Hope this helps.
_________________
DilSe..

Take life as it comes..
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 » How to access 2 database in a single compute node in v6.1
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.