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 » Where to get Incomming messages Hex data (network dump)

Post new topic  Reply to topic
 Where to get Incomming messages Hex data (network dump) « View previous topic :: View next topic » 
Author Message
Umarul Farooq
PostPosted: Mon Apr 09, 2012 7:16 am    Post subject: Where to get Incomming messages Hex data (network dump) Reply with quote

Novice

Joined: 15 Jan 2012
Posts: 14

Hi All,

Could you please help to get incoming message's hex data (network dump in hex format)

Thank you,
Back to top
View user's profile Send private message
mqjeff
PostPosted: Mon Apr 09, 2012 7:20 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

amqsbcg?
Back to top
View user's profile Send private message
bruce2359
PostPosted: Mon Apr 09, 2012 7:38 am    Post subject: Re: Where to get Incomming messages Hex data (network dump) Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Umarul Farooq wrote:
Hi All,

Could you please help to get incoming message's hex data (network dump in hex format)

Thank you,

Do you really want to get a network trace? Lots of tools are available. Search google for 'network trace'. If you really want just a hex dump of messages in queues, then amqsbcg is the WMQ tool.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Umarul Farooq
PostPosted: Tue Apr 10, 2012 5:32 am    Post subject: Reply with quote

Novice

Joined: 15 Jan 2012
Posts: 14

Thank you Bruce...

When i try to execute amqsbcg command, i am getting below error

-bash: amqsbcg: command not found


Could you please let me know, whether i need to set any environment variables before run it.

Thank you
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Apr 10, 2012 5:36 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

/opt/mqm/samp/bin/amqsbcg
Back to top
View user's profile Send private message
Umarul Farooq
PostPosted: Tue Apr 10, 2012 5:54 am    Post subject: Reply with quote

Novice

Joined: 15 Jan 2012
Posts: 14

i did not find 'bin' folder under '/opt/mqm/samp'.

Thank you
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Apr 10, 2012 5:58 am    Post subject: Reply with quote

Grand High Poobah

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

Umarul Farooq wrote:
i did not find 'bin' folder under '/opt/mqm/samp'.


Have whoever installed WMQ on this box add the sample code to the installation.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Apr 10, 2012 6:00 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Umarul Farooq wrote:
Thank you Bruce...

When i try to execute amqsbcg command, i am getting below error

-bash: amqsbcg: command not found


Could you please let me know, whether i need to set any environment variables before run it.

Thank you

Command not found means that the PATH does not include the directory where amqsbcg resides.

Use the find command to locate amqsbcg. Then change directory (cd) to that directory, then execute the amqsbcg command.

This is basic UNIX stuff.
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Umarul Farooq
PostPosted: Tue Apr 10, 2012 6:12 am    Post subject: Reply with quote

Novice

Joined: 15 Jan 2012
Posts: 14

i already tried to find out 'amqsbcg' using find command, but i did not find it in the box.

Thank you.
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Tue Apr 10, 2012 6:15 am    Post subject: Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

find / -name amqsbcg ... searches in root... might take long

find . -name amqsbcg ... searches in current folder

Strg + C to cancel the current search (if it takes too long ... or ... if you have the feeling that it takes too long)

I found it here: /usr/mqm/samp/bin/amqsbcg
_________________
Just use REFERENCEs
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Apr 10, 2012 11:57 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

Umarul Farooq wrote:
i already tried to find out 'amqsbcg' using find command, but i did not find it in the box.

Check that you have the "samples" component of MQ installed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Where to get Incomming messages Hex data (network dump)
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.