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 » Syntax error

Post new topic  Reply to topic
 Syntax error « View previous topic :: View next topic » 
Author Message
SOLOHERO
PostPosted: Tue Aug 28, 2007 8:02 pm    Post subject: Syntax error Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

SET Test = EVAL('THE(SELECT ITEM ' || Sub || ' FROM InputRoot.MRM.cbe:contextDataElements[] WHERE ' || SubW || ' = ' SubWVal);


What is wrong in this statement. i can see some syntax error.
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
elvis_gn
PostPosted: Tue Aug 28, 2007 8:51 pm    Post subject: Re: Syntax error Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi SOLOHERO,
SOLOHERO wrote:
SET Test = EVAL('THE(SELECT ITEM ' || Sub || ' FROM InputRoot.MRM.cbe:contextDataElements[] WHERE ' || SubW || ' = ' SubWVal);


What is wrong in this statement. i can see some syntax error.
Unfortunately I can't see the error here, so could you please tell us what is the error you see..

Regards.
Back to top
View user's profile Send private message Send e-mail
shalabh1976
PostPosted: Tue Aug 28, 2007 8:53 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I see two brackets opening and 1 closing.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
shalabh1976
PostPosted: Tue Aug 28, 2007 9:00 pm    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I changed this to:
Code:

      SET Test = EVAL('THE(SELECT ITEM ' || Sub || ' FROM InputRoot.MRM.cbe:contextDataElements[] WHERE ' || SubW || ' = ' || SubWVal || ')');

and there is no syntax error now.
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
SOLOHERO
PostPosted: Tue Aug 28, 2007 9:00 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Thanks for you comments,

I cant see the error either, but it complaints SYNTAX Error .

Regading Bracket , 'THE(SELECT ITEM ' it is captured as string .
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
SOLOHERO
PostPosted: Tue Aug 28, 2007 9:02 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Thanks Shalbah,

Its fixed with ur code change.
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Syntax error
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.