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 » need some clarification on dsn uid/pwd

Post new topic  Reply to topic
 need some clarification on dsn uid/pwd « View previous topic :: View next topic » 
Author Message
sachinramesh
PostPosted: Tue Apr 29, 2008 1:52 am    Post subject: need some clarification on dsn uid/pwd Reply with quote

Disciple

Joined: 20 Feb 2007
Posts: 170

Hi

My Problem is i am using a database with datasource name"CUDB" connects using db2admin/db2admin ,The schema name of the tables in the database is "db2admin" now when i changed the dsn uid/pwd to Ramesh/unify and run the flow i am getting an exception at this particular statement ( SELECT T.ACTIVITY_CODE FROM Database.TBL_CU_ACTIVITY_DEF_BUNDLEDCP AS T WHERE
T.ACTIVITY_CODE = TRIM ( '"' FROM TRIM("InputBody"."TMM_RECORD"[1].
saying that Ramesh.TBL_CU_ACTIVITY_DEF_BUNDLEDCP is an undefined name.

the above table has a schema name of db2admin.

I could not understand why it is showing that error when my DSN is connecting with ramesh/unify.

I had also tried changing the code mentioning the schema name .
SELECT T.ACTIVITY_CODE FROM Database.db2admin.TBL_CU_ACTIVITY_DEF_BUNDLEDCP AS T WHERE
T.ACTIVITY_CODE = TRIM ( '"' FROM TRIM("InputBody"."TMM_RECORD"[1].

but still facing the same error
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Tue Apr 29, 2008 2:08 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

does the table TBL_CU_ACTIVITY_DEF_BUNDLEDCP exist in schema ramesh??


try specifying schema as well in eSQL statement n see if that works
Back to top
View user's profile Send private message Visit poster's website
Vitor
PostPosted: Tue Apr 29, 2008 2:13 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

AkankshA wrote:
does the table TBL_CU_ACTIVITY_DEF_BUNDLEDCP exist in schema ramesh??


I think the poster said, quite clearly, it exists in schema db2admin

AkankshA wrote:

try specifying schema as well in eSQL statement n see if that works


I think the post indicates that's been tried as well:

sachinramesh wrote:
I had also tried changing the code mentioning the schema name .


There is no point posting advice which has already failed. Unless you're into post count.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sachinramesh
PostPosted: Tue Apr 29, 2008 2:14 am    Post subject: Reply with quote

Disciple

Joined: 20 Feb 2007
Posts: 170

AkankshA wrote:
does the table TBL_CU_ACTIVITY_DEF_BUNDLEDCP exist in schema ramesh??


try specifying schema as well in eSQL statement n see if that works



No ,i don't have any table with schema Ramesh.all the tablea are having db2admin as the schema name .
i had also specified the schema name and tried ( SELECT T.ACTIVITY_CODE FROM Database.db2admin.TBL_CU_ACTIVITY_DEF_BUNDLEDCP AS T WHERE
T.ACTIVITY_CODE = TRIM ( '"' FROM TRIM("InputBody"."TMM_RECORD"[1].
but getting the same error.

Is the error pointing to the schema name or the dsn uid,bcos ramesh is my dsn uid.
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Apr 29, 2008 2:16 am    Post subject: Re: need some clarification on dsn uid/pwd Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

sachinramesh wrote:
I could not understand why it is showing that error when my DSN is connecting with ramesh/unify.


By default, DB2 uses the logged on name as the schema name.

sachinramesh wrote:
I had also tried changing the code mentioning the schema name .


What schema (if any) is the DSN set to use?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sachinramesh
PostPosted: Tue Apr 29, 2008 2:21 am    Post subject: Re: need some clarification on dsn uid/pwd Reply with quote

Disciple

Joined: 20 Feb 2007
Posts: 170

Vitor wrote:
sachinramesh wrote:
I could not understand why it is showing that error when my DSN is connecting with ramesh/unify.


By default, DB2 uses the logged on name as the schema name.

sachinramesh wrote:
I had also tried changing the code mentioning the schema name .


What schema (if any) is the DSN set to use?


I did not set any schema for the DSN,and i dont know how to set.
i had only set the UID/PWD using db2setparms brkname -u CUDB -n ramesh -p unify
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Tue Apr 29, 2008 2:37 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Vitor wrote:
AkankshA wrote:
does the table TBL_CU_ACTIVITY_DEF_BUNDLEDCP exist in schema ramesh??


I think the poster said, quite clearly, it exists in schema db2admin

AkankshA wrote:

try specifying schema as well in eSQL statement n see if that works


I think the post indicates that's been tried as well:

sachinramesh wrote:
I had also tried changing the code mentioning the schema name .


There is no point posting advice which has already failed. Unless you're into post count.



well,,, what i understood from the post was
the user has table created in db2admin schema and later moved to Ramesh schema

and now still the broker was trying to connect using db2admin..

and hence i asked for the existance of table in ramesh schema and suggested giving ramesh -schema name in query..

guess i run into too many assumptions which proved themself as fatal...

my apologies
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » need some clarification on dsn uid/pwd
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.