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 » difficulty with propagate MessageSource clause

Post new topic  Reply to topic Goto page Previous  1, 2
 difficulty with propagate MessageSource clause « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Mon Apr 16, 2007 5:48 pm    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

jefflowrey wrote:
Yes, only the last one.


But if only the last one becomes valid, then how can the broker access multiple databases without setting the userid and passwd somewhere?


Put it more clearly, with the following command:
mqsisetdbparms MYBKR -n MYDB1 -u userid -p userpwd
mqsisetdbparms MYBKR -n MYDB2 -u userid -p userpwd
mqsisetdbparms MYBKR -n MYDB3 -u userid -p userpwd

I set the the broker to remember the userid and password for accessing MYDB3, the last one override the first two.

However, to call a SP in MYDB1 in a compute node, I use the following syntax as suggested by MGK:

CALL mySP3( myParams ) IN DATABASE MYDB1;

However, since only the last mqsisetdbparms command is current at this time, overriding the first two commands, the broker doesn't know the userid and passwd for MYDB1. i.e. the access will fail.

Could you or MGK clarify this? really appreciated.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Apr 16, 2007 6:49 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

A DSN is not the same thing as a database, and a database is not the same thing as a DSN.

In addition, broker is neither limited to accessing a single database, nor a single DSN.

But you can only associate one User and Password with one DSN.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
pcelari
PostPosted: Tue Apr 17, 2007 10:38 am    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

jefflowrey wrote:
Yes, only the last one.


No, that's not true. I run the command:

mqsisetdbparms MYBKR -n MYDB1 -u userid -p userpwd
mqsisetdbparms MYBKR -n MYDB2 -u userid -p userpwd
mqsisetdbparms MYBKR -n MYDB3 -u userid -p userpwd

After this, the msgflow successfully accessed all three databases.

However, thank you all for the inspirations that have brought me such far!

Also, I have found out, on zLinux there isn't such a thing as DSN, the broker access the database directly via local CLI catalogs that point to remote databases.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Apr 17, 2007 11:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Sorry, I was reading the commands wrong.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » difficulty with propagate MessageSource clause
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.