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 » IBM MQ Installation/Configuration Support » Verifying that the test message was sent using amqsget.exe

Post new topic  Reply to topic
 Verifying that the test message was sent using amqsget.exe « View previous topic :: View next topic » 
Author Message
Hanuman
PostPosted: Thu Oct 12, 2006 5:45 am    Post subject: Verifying that the test message was sent using amqsget.exe Reply with quote

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
View user's profile Send private message
vennela
PostPosted: Thu Oct 12, 2006 10:51 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Hanuman
PostPosted: Thu Oct 12, 2006 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
RogerLacroix
PostPosted: Thu Oct 12, 2006 9:07 pm    Post subject: Reply with quote

Jedi Knight

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

Hanuman wrote:
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 "

FYI

http://www.capitalware.biz/mq_tools.html

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
sebastianhirt
PostPosted: Thu Oct 12, 2006 10:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hanuman
PostPosted: Fri Oct 13, 2006 1:11 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Oct 13, 2006 1:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Hanuman
PostPosted: Fri Oct 13, 2006 1:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Oct 13, 2006 2:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Hanuman
PostPosted: Fri Oct 13, 2006 2:19 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Fri Oct 13, 2006 2:29 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Oct 13, 2006 2:43 am    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 13, 2006 2:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Verifying that the test message was sent using amqsget.exe
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.