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 » BIP2401E: Syntax error : expected '=' but found '.'.

Post new topic  Reply to topic
 BIP2401E: Syntax error : expected '=' but found '.'. « View previous topic :: View next topic » 
Author Message
Pat_Vij
PostPosted: Tue Aug 30, 2005 5:50 am    Post subject: BIP2401E: Syntax error : expected '=' but found '.'. Reply with quote

Novice

Joined: 26 Aug 2005
Posts: 23

Hi Folks,

UPDATE Database.INTERFACE_LOGGING AS T SET T.TRANSACTION_ID = CH_TranID,T.RECORD_COUNT = 1,T.STATUS = 'PROCESSED' WHERE T.GUID = Environment.uuid;

Getting the following error when i use the above statement ..

BIP2401E: (.CUSTOMER_UK_ARINT8_Audit update.main, 14.45) : Syntax error : expected '=' but found '.'.
The expected token was not found.
Correct the syntax of your expression and redeploy the message flow.

I'm using WBIMB V5 ..

Please throw some light on this ..
Thanks!!!
Back to top
View user's profile Send private message
hopsala
PostPosted: Tue Aug 30, 2005 6:20 am    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

I don't really see the error, but i'm not a great WBI expert; just try the usual tricks:

1. Put this line in a node of its own and check, possibly this error is due to some previous line miscoded.

2. Simplify the request and make it more complex step by step, each time see if it compiles:
try "UPDATE Database.INTERFACE_LOGGING SET INTERFACE_LOGGING.TRANSACTION_ID = 3;"
try "UPDATE Database.INTERFACE_LOGGING AS T SET T.TRANSACTION_ID = 3;"
try "UPDATE Database.INTERFACE_LOGGING AS T SET T.TRANSACTION_ID = CH_TranID,T.RECORD_COUNT = 1;"
try "UPDATE Database.INTERFACE_LOGGING AS T SET T.TRANSACTION_ID = CH_TranID WHERE T.GUID = Environment.uuid; "
etc etc etc...

3. Try running the equivalent SQL, maybe there's some SQL error we're missing.

Naturally, don't run all this on your production table, or bad things will happen...

Such things are really best solved alone, if done methodically...
Back to top
View user's profile Send private message
Pat_Vij
PostPosted: Tue Aug 30, 2005 6:28 am    Post subject: Reply with quote

Novice

Joined: 26 Aug 2005
Posts: 23

Hi,
Same code was working fine on 2.1 ... I'm getting this error after migrating the flow to V5 ...

Thanks!!
Back to top
View user's profile Send private message
JT
PostPosted: Tue Aug 30, 2005 6:41 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Quote:
The column on the left of the assignment must be a single identifier. It must not be qualified with a table name or correlation name. In contrast, any column references to the right of the assignment must be qualified with a table name or correlation name.

So try this:

Code:
UPDATE Database.INTERFACE_LOGGING AS T SET TRANSACTION_ID = CH_TranID,RECORD_COUNT = 1,STATUS = 'PROCESSED' WHERE T.GUID = Environment.uuid;
Back to top
View user's profile Send private message
Pat_Vij
PostPosted: Tue Aug 30, 2005 7:19 am    Post subject: Reply with quote

Novice

Joined: 26 Aug 2005
Posts: 23

Thanks a bunch JT .. Your suggestion fixed the issue .. Thanks again !!
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 » BIP2401E: Syntax error : expected '=' but found '.'.
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.