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 IndexArchives - AllIdentify a message

This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
Identify a message View previous topic :: View next topic
Author Message
mjpnet
PostPosted: Tue May 15, 2007 2:17 am Post subject: Identify a message Reply with quote

Novice

Joined: 09 May 2007
Posts: 15

Hi,

Is it possible to find and identify a message by a text string and export only that message to a file? How that could be archived?
Thanks in advance
Regards
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue May 15, 2007 2:38 am Post subject: Re: Identify a message Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

mjpnet wrote:
Hi,

Is it possible to find and identify a message by a text string and export only that message to a file? How that could be archived?
Thanks in advance
Regards



To identify message you use messageid message field.

Then with this message you can do everything.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
RogerLacroix
PostPosted: Tue May 15, 2007 8:15 am Post subject: Re: Identify a message Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

marcin.kasinski wrote:
To identify message you use messageid message field.

Then with this message you can do everything.

Hi Marcin,

I think his question was releted to MQ Batch Toolkit.

mjpnet wrote:
Is it possible to find and identify a message by a text string and export only that message to a file? How that could be archived?

Hi mjpnet,

Have a look at chapter 4 in the MQ Batch Toolkit User Manual. There is a section on how to use the 'Find a String' command. Also, in the FAQ (Appendix B) see points # 19 & 20 for more information.

Note: MQ Batch Toolkit cannot backup a particular message, but you have 2 options:
- Backup all messages in a queue
- Backup 'x' number of messages and optionally start at a particular message. i.e. Backup 50 messages starting at message number 100.

Be careful, using the second option because the contents of a queue are dynamic, so you may get 50 messages but not necessarily the 50 messages you were expecting.


Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
mjpnet
PostPosted: Wed May 16, 2007 12:26 am Post subject: find Reply with quote

Novice

Joined: 09 May 2007
Posts: 15

Hi




Thank you both for yours replies. Although we had been reading the “find” command, we are not sure to be able to do exactly what we need.
The main idea is: multiple messages are arriving at the same time to a queue, and when a message arrive with an special string we would need to export only that message to a file system.
How could we associate a (mqbt Find + mqbt export) to a specific message?
Thanks once again.

Best regards
mjp
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed May 16, 2007 3:11 am Post subject: Re: find Reply with quote

Grand High Poobah

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

mjpnet wrote:
Hi

Thank you both for yours replies. Although we had been reading the “find” command, we are not sure to be able to do exactly what we need.
The main idea is: multiple messages are arriving at the same time to a queue, and when a message arrive with an special string we would need to export only that message to a file system.
How could we associate a (mqbt Find + mqbt export) to a specific message?
Thanks once again.

Best regards
mjp

That's really an application problem and not a tool problem.
Your application (the one consuming the messages from the queue) should take care of this...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies. Page 1 of 1

MQSeries.net Forum IndexArchives - AllIdentify a message
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.