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 » General IBM MQ Support » amqsget question

Post new topic  Reply to topic
 amqsget question « View previous topic :: View next topic » 
Author Message
heath
PostPosted: Fri Feb 11, 2005 5:07 pm    Post subject: amqsget question Reply with quote

Novice

Joined: 12 Jan 2004
Posts: 21
Location: Chicago, IL

Hi, can someone tell me if the amqsget utility has the ability to fetch one message at a time or does it pull all messages from the queue in one shot?

The reason I am asking this is that I have a requirement where I have to fetch one message at a time from a queue and write it to a file. So if a queue has 10 messages on it this script should be able to get them one at a time and write each one to a seperate file (creating 10 files). Canm some one point me in the right direction on how to do this?

Thanks,
-H
Back to top
View user's profile Send private message
csmith28
PostPosted: Fri Feb 11, 2005 5:55 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

amqsget gets all messages in a distructive manor but it is limited out of the "sample" box to messages that are 100 bytes or smaller.

If you want to use amqsget to achieve the stated goal you will have to modify and re-compile.

However I believe there is a Support Pack that will allow you to do this on the IBM Web Site.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
vennela
PostPosted: Sat Feb 12, 2005 10:13 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Yea there is s supportpack well known as Q Program
Look for MA01 MQSeries Q program at the support pack site

http://www-306.ibm.com/software/integration/support/supportpacs/category.html#cat1
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » amqsget question
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.