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 » dynamic selection of database.

Post new topic  Reply to topic
 dynamic selection of database. « View previous topic :: View next topic » 
Author Message
Harshalw
PostPosted: Wed Aug 20, 2008 5:45 am    Post subject: dynamic selection of database. Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

Hi,

I need to choose database at runtime. Is there any way we can do in Esql code. also can we run the command like "mqsisetdbparms" through esql code with the configurable parameters ?

Thanks
Harshalw
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Aug 20, 2008 8:55 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi Harshalw,

Why do you need to run the command at runtime...run it beforehand and call which ever you need through the ESQL. Anyway you are allowed to call multiple databases(of the same type) through one single compute node.

Regards.
Back to top
View user's profile Send private message Send e-mail
Harshalw
PostPosted: Wed Aug 20, 2008 10:34 pm    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

I am using DB2 on AIX box. After certain period of time the password for AIX server revokes, which will fail my application. So for every password revoke or user id change i cannot change the code. I want code to login with the latest password and user id runtime dynamically. Like password and user id should be stored in some table/or file and i will connect to db2 using that password and user id. Is that possible through ESQL? if so , plz tell me how.

Thanks
harshalw
Back to top
View user's profile Send private message
fschofer
PostPosted: Thu Aug 21, 2008 1:56 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
you may tryout the support pack
IA9Z: WebSphere Message Broker - Job Execution Node
http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24017225&loc=en_US&cs=utf-8&lang=en

for running mqsisetdbparms.

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
Harshalw
PostPosted: Thu Aug 21, 2008 3:37 am    Post subject: Reply with quote

Voyager

Joined: 23 Jul 2008
Posts: 77

another node is required for that.
cant it be done in compute node using Esql ?
Back to top
View user's profile Send private message
fschofer
PostPosted: Thu Aug 21, 2008 3:49 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,

seems the command cannot be run at all while the broker is running
Quote:

This command does not run if the broker is running. You must stop the broker before you run this command.

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/topic/com.ibm.etools.mft.doc/an09155_.htm

So you probably have to ask your AIX admin if he is willing to remove the automatic password revoke for the db2 user
or plan some scheduled password changes + broker restarts.

Greetings
Frank
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 » dynamic selection of 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.