Posted: Mon Jun 20, 2011 12:35 am Post subject: Cannot reset the browse cursor in an MQGet node
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.
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