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 » mqget node configure at runtime

Post new topic  Reply to topic Goto page Previous  1, 2
 mqget node configure at runtime « View previous topic :: View next topic » 
Author Message
mqjeff
PostPosted: Thu Jun 23, 2016 7:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

... You have to do Browse First as the first part of a Browse sequence.

If you want to browse more than one message, you then have to do Browse Next.

... although maybe I'm remembering wrong.

http://www.ibm.com/support/knowledgecenter/en/SSFKSJ_8.0.0/com.ibm.mq.dev.doc/q024040_.htm
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
paustin_ours
PostPosted: Thu Jun 23, 2016 8:04 am    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

I don't believe i have to do a Browse first, if rfhutil can browse and retrieve the message that matches correl ID in one click, i am sure it can be done in code. I still feel like i am missing something options.
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Thu Jun 23, 2016 8:40 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

First time around you should have browse first. All subsequent iterations should have browse next.... and don't forget to clear each of msgid and correlid if you don't want it to match on those for each iteration.
clear = set to MQMI_NONE and MQCI_NONE.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
paustin_ours
PostPosted: Thu Jun 23, 2016 8:49 am    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

browse first on the first return itself generates an output even though the correlID doesnt match. With what you were saying, i would at least hope that the browse first wont return anything and then a subsequent browse next will match?

am i not understanding what you guys are saying? please correct me. thanks for taking the time.
Back to top
View user's profile Send private message Yahoo Messenger
paustin_ours
PostPosted: Thu Jun 23, 2016 8:56 am    Post subject: Reply with quote

Yatiri

Joined: 19 May 2004
Posts: 667
Location: columbus,oh

i tried a browse first with match with correlID

clear MsgID and correlID and then

followed by browse next with match with correlID

both times i am getting the first message off the queue that doesnt match the corellID
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Thu Jun 23, 2016 9:28 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

O.K. so you want to match on CorrelId. Only clear the msgid, groupid...

Make sure the correlid it wants to match on is taken from the MQMD (see MQGet node setup) and is populated correctly. Remember that this is a BLOB.

See how that works?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqget node configure at runtime
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.