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 » Can anyone Please tell me how to access SHARED Variable ins.

Post new topic  Reply to topic
 Can anyone Please tell me how to access SHARED Variable ins. « View previous topic :: View next topic » 
Author Message
bhaski
PostPosted: Mon Feb 17, 2014 6:28 pm    Post subject: Can anyone Please tell me how to access SHARED Variable ins. Reply with quote

Voyager

Joined: 13 Sep 2006
Posts: 78
Location: USA

Hello Friends


Can you please tell me how to read / access SHARED variables inside the Java Compute Node?
_________________
Thanks and Regards
Bhaski
Websphere MQ Admin Certified
Websphere WMB Admin certified
Back to top
View user's profile Send private message
Esa
PostPosted: Mon Feb 17, 2014 10:51 pm    Post subject: Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

SHARED variables are only visible for nodes that execute ESQL. There is no way to access them from a JCN.
Back to top
View user's profile Send private message
Gralgrathor
PostPosted: Tue Feb 18, 2014 12:58 am    Post subject: Reply with quote

Master

Joined: 23 Jul 2009
Posts: 297

A simple search would have told you that:

http://www.mqseries.net/phpBB2/viewtopic.php?t=29837
Quote:
You can use MbSQLStatement to run an ESQL statement that will return the value of an ESQL Shared variable.
Quote:
You can use any normal Java mechanism to store objects in the execution group JVM - like a Singleton pattern, or a static object or etc.
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 » Can anyone Please tell me how to access SHARED Variable ins.
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.