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 » Cannot reset the browse cursor in an MQGet node

Post new topic  Reply to topic
 Cannot reset the browse cursor in an MQGet node « View previous topic :: View next topic » 
Author Message
matuwe
PostPosted: Mon Jun 20, 2011 12:35 am    Post subject: Cannot reset the browse cursor in an MQGet node Reply with quote

Master

Joined: 05 Dec 2007
Posts: 296

Hi

I saw a lot of threads on how to reset the browse cursor in an MQGet node,
I have tried to use the compute node to control it,,,, but I am not winning...

I have just installed fix pack 7.0.0.2 just to be able to get the reset pointer option on the MQ Get node, but it seems like it resets everytime, so I end up reading only the first message on the Q.


How can I reset the pointer programmatically??

My flow is Timer >> Compute >> MQ Get >> Compute (if the is a message

Code:


SET OutputLocalEnvironment.MQ.MQGET.MQGMO.Options = MQGMO_BROWSE_FIRST  ;
      
SET Environment.DATASTORE.SPLITFINISHED = FALSE;
WHILE Environment.DATASTORE.SPLITFINISHED = FALSE DO
   PROPAGATE TO TERMINAL 'out1' ;
   SET OutputLocalEnvironment.MQ.MQGET.MQGMO.Options =    MQGMO_BROWSE_NEXT ;
         
END WHILE;
RETURN TRUE;


Please help. I have now unchecked the reset cursor option as It makes things a little worse.
Back to top
View user's profile Send private message
paintpot
PostPosted: Mon Jun 20, 2011 4:20 am    Post subject: Reply with quote

Centurion

Joined: 19 Sep 2005
Posts: 112
Location: UK

SET OutputLocalEnvironment.MQ.GET.MQGMO.Options = MQGMO_BROWSE_FIRST

use '.GET.' not '.MQGET.'.

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 » Cannot reset the browse cursor in an MQGet node
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.