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 » amqsbcg

Post new topic  Reply to topic
 amqsbcg « View previous topic :: View next topic » 
Author Message
Augusto
PostPosted: Mon Jan 26, 2009 2:20 pm    Post subject: amqsbcg Reply with quote

Apprentice

Joined: 08 Dec 2008
Posts: 29

my queue depth 50 and i want to browse last message. i know amqsbcg is used to browse. when i used this it displays one by one all messages.but i want only last message per one time. is there any different command? we are not using rfhutil.
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 26, 2009 2:52 pm    Post subject: Re: amqsbcg Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Augusto wrote:
is there any different command?


amqsbcg isn't a command, it's a piece of sample code. Modify it to do what you want.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Sam Uppu
PostPosted: Wed Jan 28, 2009 7:18 am    Post subject: Re: amqsbcg Reply with quote

Yatiri

Joined: 11 Nov 2008
Posts: 610

Augusto wrote:
my queue depth 50 and i want to browse last message. i know amqsbcg is used to browse. when i used this it displays one by one all messages.but i want only last message per one time. is there any different command? we are not using rfhutil.


you can write the output of amqsbcg to a file and get the msg whichever you like:

e.g., amqsbcg QName QMgrName > /tmp/out

amqsbcg is not going to handle big msgs. it can be used for the msgs upto 1000 bytes I guess.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Jan 28, 2009 7:25 am    Post subject: Re: amqsbcg Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Sam Uppu wrote:
amqsbcg is not going to handle big msgs. it can be used for the msgs upto 1000 bytes I guess.


It can if you fix it - it's only a sample as supplied!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
vandi
PostPosted: Wed Jan 28, 2009 8:32 am    Post subject: Reply with quote

Acolyte

Joined: 13 Dec 2008
Posts: 67

Hi,

You have IBM support pack MO71, thru which you can the message you want. It like RFHUTIL.


Thanks
Vandi
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu Jan 29, 2009 9:26 am    Post subject: Re: amqsbcg Reply with quote

Jedi Knight

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

Hi,
Augusto wrote:
my queue depth 50 and i want to browse last message.

Here is a list of freeware/shareware MQ tools:
http://www.capitalware.biz/mq_tools.html

MQ Visual Edit can do what you describe.

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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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