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 » Unresolvable database table reference warning

Post new topic  Reply to topic
 Unresolvable database table reference warning « View previous topic :: View next topic » 
Author Message
trongbx
PostPosted: Mon Nov 24, 2008 1:37 am    Post subject: Unresolvable database table reference warning Reply with quote

Novice

Joined: 23 Nov 2008
Posts: 21

I am working on the message flow to update database. I used the compute node. I already set the DNS on the compute node properties.

I also ran the mqsisetdbparms command. but i am still getting the warning from the WMB toolkit.
" Unresolvable database table reference...".

I thought that i can ignore those warning and tried to deployed to the broker. it was failed. this is the error on the Event Viewer:

"
( WBRK61_DEFAULT_BROKER.default ) ('.Inbound7C7WPGEPUB_Compute.Main', '9.10') : The correlation name ''DOCUMENT_ID'' is not valid. Those in scope are: 'Environment, InputLocalEnvironment, OutputLocalEnvironment, InputRoot, InputBody, InputProperties, OutputRoot, InputExceptionList, OutputExceptionList, InputDestinationList, OutputDestinationList, PUB_LOTS_B2B'.

The first element of a field reference must be a valid correlation name, from those in scope. This message may sometimes be due to an incorrectly formed or spelled expression which is not intended to be a field reference being parsed as if it were a field reference because the parser does not recognize it.
"
This is my sql statement.

"UPDATE Database.schema.PUB_LOTS_B2B AS DB
SET DB.SUCCESS_COUNT = 1,
DB.EXT_CUST_RECD_TS = CURRENT_TIMESTAMP
WHERE DB.DOCUMENT_ID=OutputRoot.XML.EventNotification.GlobalMessageID; "

How i can solve that issues? I have already created the db definition for the project. but it didn't work. Please give the detail solution. i am really appreciate
Back to top
View user's profile Send private message
trongbx
PostPosted: Mon Nov 24, 2008 7:34 pm    Post subject: Reply with quote

Novice

Joined: 23 Nov 2008
Posts: 21

Please help me for solving this problem. thank you
Back to top
View user's profile Send private message
golam1983
PostPosted: Thu Nov 27, 2008 6:52 am    Post subject: Reply with quote

Apprentice

Joined: 27 Jun 2008
Posts: 35

In normal case we do not need to use schema name to select from table.

Try like this
1)
Select * from Database.Table....

Use a user name that is same like schema

2) check your user have access to the schema

3) Check you table in db if the column is present
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Nov 27, 2008 1:51 pm    Post subject: Reply with quote

Grand High Poobah

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

Try if using "DOCUMENT_ID" works where using DOCUMENT_ID did not.
You might need to check with single and /or double quotes.


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mymq
PostPosted: Sat Nov 29, 2008 12:02 pm    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2007
Posts: 101
Location: US-Greenwille

Hi,

U can try not using the SCHEMA. ...OR, why dont you try using PASSTHRU statment.
_________________
--SRK--
Back to top
View user's profile Send private message Send e-mail
mymq
PostPosted: Sat Nov 29, 2008 12:05 pm    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2007
Posts: 101
Location: US-Greenwille

check the database table whether u have "DOCUMENT_ID" or "DOCUMENT-ID".
_________________
--SRK--
Back to top
View user's profile Send private message Send e-mail
tiger74
PostPosted: Sun Nov 30, 2008 8:46 pm    Post subject: Reply with quote

Newbie

Joined: 04 Oct 2004
Posts: 4

Is your database schema the same as the DSN username? If so you can use "Database.Tablename" in ESQL if the DSN name is defined as Datasource name in your compute node.
Back to top
View user's profile Send private message MSN Messenger
trongbx
PostPosted: Wed Dec 03, 2008 4:46 am    Post subject: Reply with quote

Novice

Joined: 23 Nov 2008
Posts: 21

thank you very much. this issue is fixed. The warnings has gone.
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 » Unresolvable database table reference warning
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.