Author |
Message
|
Hanuman |
Posted: Thu Oct 12, 2006 5:45 am Post subject: Verifying that the test message was sent using amqsget.exe |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
Putting a test message on the queue
On Windows, type the command: amqsputc GEN2OSM_CPM_ALARM
The following messages are displayed:
Sample AMQSPUT0 start
target queue is GEN2OSM_CPM_ALARM
Verifying that the test message was sent using WebSphere MQ Explorer
On Linux, change to the /opt/mqm/samp/bin directory and type the following command: ./amqsget GEN2OSM_CPM_ALARM
opt/mqm/samp/bin but i do not have amqsget.exe on solaris... |
|
Back to top |
|
 |
vennela |
Posted: Thu Oct 12, 2006 10:51 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Have you installed MQ Samples on the Solaris box?
What does pkginfo say? |
|
Back to top |
|
 |
Hanuman |
Posted: Thu Oct 12, 2006 8:06 pm Post subject: |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
This what pkginfo says...
application dxxcmn DB2 XML Extender Common Code
application dxxsrv DB2 XML Extender Server Common
application gsk6bas Certificate and SSL Base Runtime (gsk6bas)
application mqm WebSphere MQ for Sun Solaris
application mqm-upd02 MQSeries for Sun Solaris 2 - U478911
application mqm-upd12 WebSphere MQ for Sun Solaris 2 - U803579
even if say amqsget.exe is not there
is there any other method by which i can see the message on this queue
"GEN2OSM_CPM_ALARM "
Pls let me know
thanks in advance.... |
|
Back to top |
|
 |
RogerLacroix |
Posted: Thu Oct 12, 2006 9:07 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
sebastianhirt |
Posted: Thu Oct 12, 2006 10:32 pm Post subject: |
|
|
Yatiri
Joined: 07 Jun 2004 Posts: 620 Location: Germany
|
Hanuman wrote: |
amqsget.exe |
Are the samples named .exe on non Windows platforms? |
|
Back to top |
|
 |
Hanuman |
Posted: Fri Oct 13, 2006 1:11 am Post subject: |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
no .exe doesn't exist i know that...
but what command will i use to see message on my queue. sunce the programme which does this functionality is not there amqsget so will i display the message on queue.
which command shoul i use to display the message on the queue GEN2OSM_CPM_ALARM |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Oct 13, 2006 1:20 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You can use any program that uses the MQ API to read a message on a queue.
If you didn't install the sample programs, or the client didn't install the sample programs, then you can still write your own program and use that.
Or you can use any other program that uses the MQ API, that will either run on Solaris or uses the MQ Client.
This is really not nearly as difficult as you seem to think it is. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Hanuman |
Posted: Fri Oct 13, 2006 1:31 am Post subject: |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
wich packge should i install to get sample programmes installed on my solaris mq server...
if any someas any sample programmes that i can use to get the message it will be very help full....
thanks in advance.... |
|
Back to top |
|
 |
Vitor |
Posted: Fri Oct 13, 2006 2:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Samples are in /opt/mqm/samp on Solarisb IIRC _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Hanuman |
Posted: Fri Oct 13, 2006 2:19 am Post subject: |
|
|
 Voyager
Joined: 28 Aug 2006 Posts: 89
|
these are the only file in my sampel directory on solaris
ccsid.new ccsid.tbl mqs.ini
/opt/mqm/samp
bash-2.03$ ls
ccsid.new ccsid.tbl mqs.ini
wich package should i install to get all the packages get installed on mq |
|
Back to top |
|
 |
Vitor |
Posted: Fri Oct 13, 2006 2:29 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Clearly I don't remember correctly
Sample programs are usually installed as part of the queue manager install. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Oct 13, 2006 2:43 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I don't know the Solaris package names off the top of my head, but it should be relatively obvious from the file names which one is the samples. It's either going to say something about "samples" or something about "sdk". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Oct 13, 2006 2:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Samples are installed as part of the default install.
However if a custom install was done the samples may not have been installed.
Go back to your unix admins and ask them to install the samples as well and not just the core package. You may want to ask them to install the java classes for MQ too.
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|