Author |
Message
|
Umarul Farooq |
Posted: Mon Apr 09, 2012 7:16 am Post subject: Where to get Incomming messages Hex data (network dump) |
|
|
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 |
|
 |
mqjeff |
Posted: Mon Apr 09, 2012 7:20 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Apr 09, 2012 7:38 am Post subject: Re: Where to get Incomming messages Hex data (network dump) |
|
|
 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 |
|
 |
Umarul Farooq |
Posted: Tue Apr 10, 2012 5:32 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Tue Apr 10, 2012 5:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
/opt/mqm/samp/bin/amqsbcg |
|
Back to top |
|
 |
Umarul Farooq |
Posted: Tue Apr 10, 2012 5:54 am Post subject: |
|
|
Novice
Joined: 15 Jan 2012 Posts: 14
|
i did not find 'bin' folder under '/opt/mqm/samp'.
Thank you |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 10, 2012 5:58 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Tue Apr 10, 2012 6:00 am Post subject: |
|
|
 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 |
|
 |
Umarul Farooq |
Posted: Tue Apr 10, 2012 6:12 am Post subject: |
|
|
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 |
|
 |
mqsiuser |
Posted: Tue Apr 10, 2012 6:15 am Post subject: |
|
|
 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 |
|
 |
mvic |
Posted: Tue Apr 10, 2012 11:57 am Post subject: |
|
|
 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 |
|
 |
|