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 » Message Flow Syntax Error after Migration WMQI 2.1 --> WB

Post new topic  Reply to topic
 Message Flow Syntax Error after Migration WMQI 2.1 --> WB « View previous topic :: View next topic » 
Author Message
psn
PostPosted: Tue Nov 11, 2003 2:54 am    Post subject: Message Flow Syntax Error after Migration WMQI 2.1 --> WB Reply with quote

Disciple

Joined: 30 Oct 2002
Posts: 193
Location: France

Hi,

I have migrate a flow from WMQI 2.1 to WBIMB 5.0 CSD02 and I have a syntax error in the esql file on the follow line:

SET ErrorType = EVAL( 'FIELDNAME(' || Path || ')');

Path is declare as character
could you help me ?

PSN
Back to top
View user's profile Send private message
vmcgloin
PostPosted: Tue Nov 11, 2003 4:10 am    Post subject: Reply with quote

Knight

Joined: 04 Apr 2002
Posts: 560
Location: Scotland

Try putting Path in double quotes.
Back to top
View user's profile Send private message
psn
PostPosted: Tue Nov 11, 2003 4:20 am    Post subject: Reply with quote

Disciple

Joined: 30 Oct 2002
Posts: 193
Location: France

it is not the solution !
Back to top
View user's profile Send private message
RikBaeten
PostPosted: Mon Jul 26, 2010 6:35 am    Post subject: Reply with quote

Novice

Joined: 26 Feb 2007
Posts: 19

I had a similar problem, and for me vmcgloin's suggestion IS a solution.

You probably need something like:

Code:
SET ErrorType = EVAL( 'FIELDNAME(''' || Path || ''')');
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Jul 26, 2010 7:02 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

RikBaeten wrote:
I had a similar problem, and for me vmcgloin's suggestion IS a solution.

You probably need something like:

Code:
SET ErrorType = EVAL( 'FIELDNAME(''' || Path || ''')');


It wasn't the solution 7 years ago(!) and it's still not. Please note! The last reply to this thread before yours was SEVEN YEARS AGO.

If one needs to use the contents of the field pointed to by the path, there is one solution. If one needs to use the logical path itself, there is a different solution.

In either case, one should reexamine why one is using EVAL in the first place.
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 » Message Flow Syntax Error after Migration WMQI 2.1 --> WB
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.