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 » configuring database dynamically to message broker

Post new topic  Reply to topic
 configuring database dynamically to message broker « View previous topic :: View next topic » 
Author Message
vickas
PostPosted: Mon Sep 30, 2013 7:58 pm    Post subject: configuring database dynamically to message broker Reply with quote

Centurion

Joined: 18 Aug 2013
Posts: 126

How do i configure database dynamically to the message broker ?
for eg, there are 10 databases n i need to retrieve some data and depending upon that i will propagate to different message flows/subflows..
In this scenerio , where each time i access different databases(depending upon the input i recieve) how do i configure ?
Back to top
View user's profile Send private message
Simbu
PostPosted: Mon Sep 30, 2013 8:59 pm    Post subject: Re: configuring database dynamically to message broker Reply with quote

Master

Joined: 17 Jun 2011
Posts: 289
Location: Tamil Nadu, India

vickas wrote:
How do i configure database dynamically to the message broker ?


Quote:
If you have user databases, you must configure them before you can access them from your message flow


vickas wrote:

for eg, there are 10 databases n i need to retrieve some data and depending upon that i will propagate to different message flows/subflows..
In this scenerio , where each time i access different databases(depending upon the input i recieve) how do i configure ?


Its depend on the types of the database you are using and what type of node you are using to achieve your requirement.

Say for example, you can access multiple databases in a ComputeNode only if the Databases are at same level,type.

Look at these tech notes, you will get some idea.

http://www-01.ibm.com/support/docview.wss?uid=swg21449152
http://www-01.ibm.com/support/docview.wss?uid=swg21444992
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Oct 01, 2013 3:20 am    Post subject: Re: configuring database dynamically to message broker Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Simbu wrote:
vickas wrote:
How do i configure database dynamically to the message broker ?


Quote:
If you have user databases, you must configure them before you can access them from your message flow


vickas wrote:

for eg, there are 10 databases n i need to retrieve some data and depending upon that i will propagate to different message flows/subflows..
In this scenerio , where each time i access different databases(depending upon the input i recieve) how do i configure ?


Its depend on the types of the database you are using and what type of node you are using to achieve your requirement.

Say for example, you can access multiple databases in a ComputeNode only if the Databases are at same level,type.

Look at these tech notes, you will get some idea.

http://www-01.ibm.com/support/docview.wss?uid=swg21449152
http://www-01.ibm.com/support/docview.wss?uid=swg21444992


Simbu - I think what you mean to say is the OP should follow the documentation:

Quote:
The next example shows the use of calculated data source, schema, and table names:
-- Declare variables to hold the data source, schema and table names
-- and set their default values
DECLARE Source CHARACTER 'Production';
DECLARE Schema CHARACTER 'db2admin';
DECLARE Table CHARACTER 'DynamicTable1';
-- Code which calculates their actual values comes here

-- Update rows in the table
UPDATE Database.{Source}.{Schema}.{Table} AS R SET Value = 0;

_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » configuring database dynamically to message broker
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.