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 » mqsichangeproperties Issue

Post new topic  Reply to topic
 mqsichangeproperties Issue « View previous topic :: View next topic » 
Author Message
SANTYP
PostPosted: Sun Jan 16, 2011 6:44 pm    Post subject: mqsichangeproperties Issue Reply with quote

Centurion

Joined: 27 Mar 2007
Posts: 142

Hi all,
I think few of you guys already come across this problem,

Problem is I have a broker say BRK in AIX environment, which has a DSN called BRKDSN with username as "username" and password as "password".

I come across a situation where I need to access one table in same database(Oracle) with different schema, which has username as "username1" and password as "password1".

So I set the these credentails to BRKDSN using mqsichangeproperties command.

All are fine .. till the point..

In my one of my compute node I have statement like below...

INSERT INTO Database.ABAT_EXPORTER (FEED_CODE) VALUES ("feed_value");
note: I didn't used the statement inthe Passthru function.

this peace of code is working fine before I change the DSN properties...
but after changing the properties... it's throwed an exception..

"[IBM][ODBC Oracle Wire Protocol driver][Oracle]ORA-04044: procedure, function, package, or type is not allowed here' (CHARACTER)"

after I changed the above code to
INSERT INTO BRKDSN.ABAT_EXPORTER (FEED_CODE) VALUES ("feed_value");

it is worked..

table ABAT_EXPORTER is in old schema only.. mean which has username as "username" and password as "password"..

Can any one tell me what could be reason for the failure...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jan 16, 2011 7:36 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

You need a different DSN for each userId.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
SANTYP
PostPosted: Sun Jan 16, 2011 7:58 pm    Post subject: Reply with quote

Centurion

Joined: 27 Mar 2007
Posts: 142

sorry bit of correction in my question..

I changed the dsn properties using mqsisetdbparms command...

and I don't think I need to separated DSN for new schema connections fjb_saper!!
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jan 16, 2011 10:08 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

SANTYP wrote:
sorry bit of correction in my question..

I changed the dsn properties using mqsisetdbparms command...

and I don't think I need to separated DSN for new schema connections fjb_saper!!

You are connecting to the same database with different authorizations (different userId). Unless you have a userId that allows you to process all your operations on the DB you will need one DSN per userId. This is the only way you can change authorization at will during the flow... as you would be changing DSN...

Have fun
_________________
MQ & Broker admin
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 » mqsichangeproperties Issue
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.