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 » schema in Create External Database Procedure

Post new topic  Reply to topic
 schema in Create External Database Procedure « View previous topic :: View next topic » 
Author Message
chenna.hari
PostPosted: Wed Jan 19, 2011 2:48 am    Post subject: schema in Create External Database Procedure Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

we are using Oracle database as message broker v6.1 database. we have two brokers using that Oracle database with two different schema.

we have one external database Procedure calling from ESQL. the database procedure present in a Oracle package in a respective schema.

CREATE PROCEDURE <name> LANGUAGE DATABASE
EXTERNAL NAME "<schema>.<package>.<procedure>";

I need to deploy the flow containing this ESQL in two brokers. so every time i need to change the schema before deploying in respective brokers.

Can any one help is there any way to avoid giving schema name while calling procedure..or how to pass this schema name dynamically with out change in ESQL code. because this avoids modifying the ESQL before deploying in respective broker.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jan 19, 2011 2:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You could move the procedure into a common schema, that both Broker userid's have access to.

You could use the same database security id in both brokers.

You could remove the schema qualifier entirely, leaving it at default, and ensure that the default schema is the correct one for the procedure on each broker.

This is as much an oracle design issue as it is a Broker deploy issue.
Back to top
View user's profile Send private message
chenna.hari
PostPosted: Wed Jan 19, 2011 3:12 am    Post subject: Reply with quote

Centurion

Joined: 21 Mar 2009
Posts: 103

iam not getting...

the procedure is in a package..

how to avoid giving the schema name if we are using packages
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 » schema in Create External Database Procedure
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.