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 » IBM MQ API Support » can WILDCARD be used to search a message by (partial) MsgID?

Post new topic  Reply to topic Goto page Previous  1, 2
 can WILDCARD be used to search a message by (partial) MsgID? « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Thu Nov 08, 2007 8:24 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Good point.


#3 In the above example where you say the Group ID will have ABCD00000000000000000000, will there only ever be one message on the queue with ABCD00000000000000000000?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
EddieA
PostPosted: Thu Nov 08, 2007 9:30 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

And don't forget, if you are moving messages between systems with different CCSIDs, the fields you are using will NOT be converted.

Been there, and done this, and it's a really, really bad idea.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
sebastia
PostPosted: Thu Nov 08, 2007 9:44 am    Post subject: Reply with quote

Grand Master

Joined: 07 Oct 2004
Posts: 1003

Vitor : we ran some etst and performance is ok.

Markt : you are tight - "ABCD" plus enough Blank chars to fill MQCHAR24.
It is still a "substring" of MsgId", that has "ABCD" ( shop id ) plus "0000/00/00" (date), plus "00:00:00" (time) plus some chars more.

Peter : I know you know this thread is "paralel" to another one ...
Yes, the queue shall hold 3.000 messages next month, around 5.000 messages in one yoear. Each msg is around 400 KB.

Yes, after the MsgId (or GroupID) is found, the messages is read, extracting it from the queue. So the queue shall hold only the catalogs for the shops that have not updated yet their price list.
This is, the producer puts 3.000 messages, and the end of the day the queue shall be empty, based on timezone opening hours.

Two catalogs for the same shop ? Not very usual to change the price twice in a day, but still possible. We want to "browse" for a message using "GroupID", and once we have we shall Read it using Msg_Id, provided by the previous "Browse". And in 10-15 minutes the shop shall read ( or try to read) the following catalog ...

Correl_Id : you are right. No known reason why we dont use it. Just watched the docs and saw GroupId was also MQCHAR24, found GMO_MATCH_GROUPID, and "voilà" ...

Eddie - no problem with CCSIDs - we generate the IDs and also read them.

>>> thanks all of you ! Seb.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ API Support » can WILDCARD be used to search a message by (partial) MsgID?
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.