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 » How can I execute the esql dynamic in java node programming?

Post new topic  Reply to topic
 How can I execute the esql dynamic in java node programming? « View previous topic :: View next topic » 
Author Message
frankies
PostPosted: Fri Mar 18, 2005 5:09 am    Post subject: How can I execute the esql dynamic in java node programming? Reply with quote

Newbie

Joined: 07 Mar 2005
Posts: 6

Hello ,everyone !

Now I'm trouble in how to execute the esql dynamic in java node programming.

For exmple :
"EVAL('SET Environment.Variables.ConvContent.Root.a.b[1] =9+8;'); "
,.This expression is execute correctly in the ESQL file, but now I wonder
how to invoke the MB's API , to get the same result like that. Who can't
tell me . Thanks in advance.

Regards,
frank.
Back to top
View user's profile Send private message
frankies
PostPosted: Fri Mar 18, 2005 5:18 am    Post subject: I have try my best to do that. Reply with quote

Newbie

Joined: 07 Mar 2005
Posts: 6

I try to use com.ibm.broker.plugin.MbSQLStatement to achieve that.

But this class only support in using retrive data from database. I

execute a simple math expression. !!!!!!!
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Mar 18, 2005 5:46 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I had understood that createSQLStatement would allow you to run arbitrary ESQL. But maybe that is not true.

What are you actually trying to do?

If you're just trying to do math, then use Java to do the math, don't try to use ESQL from inside Java.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
frankies
PostPosted: Fri Mar 18, 2005 7:47 am    Post subject: Reply with quote

Newbie

Joined: 07 Mar 2005
Posts: 6

I don't only execute the math ,but also query some config items from

table in database. Do you have any sample or meteria to share?
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 » How can I execute the esql dynamic in java node programming?
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.