|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message Flow Syntax Error after Migration WMQI 2.1 --> WB |
« View previous topic :: View next topic » |
Author |
Message
|
psn |
Posted: Tue Nov 11, 2003 2:54 am Post subject: Message Flow Syntax Error after Migration WMQI 2.1 --> WB |
|
|
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 |
|
 |
vmcgloin |
Posted: Tue Nov 11, 2003 4:10 am Post subject: |
|
|
Knight
Joined: 04 Apr 2002 Posts: 560 Location: Scotland
|
Try putting Path in double quotes. |
|
Back to top |
|
 |
psn |
Posted: Tue Nov 11, 2003 4:20 am Post subject: |
|
|
Disciple
Joined: 30 Oct 2002 Posts: 193 Location: France
|
|
Back to top |
|
 |
RikBaeten |
Posted: Mon Jul 26, 2010 6:35 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Mon Jul 26, 2010 7:02 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|