Posted: Tue Oct 17, 2006 3:13 am Post subject: Browsing queues
Voyager
Joined: 28 Aug 2006 Posts: 89
Browsing queues
WebSphere MQ provides a sample queue browser that you can use to look at the
contents of the messages on a queue. The browser is supplied in both source and
executable formats.
In MQSeries for UNIX systems, the default file names and paths are:
Source
/opt/mqm/samp/amqsbcg0.c (/usr/mqm/samp/amqsbcg0.c on AIX)
Executable
/opt/mqm/samp/bin/amqsbcg (/usr/mqm/samp/bin/amqsbcg on AIX)
The sample requires two input parameters, the queue name and the queue
manager name. For example:
amqsbcg EN2OSM_CPM_ALARM QM_orf_qa01
but it gave me this error
bash-2.03$ amqsbcg GEN2OSM_CPM_ALARM QM_orf_qa01
bash: ./amqsbcg: Permission denied
then I tried to convert them to executable, but when I did this it gave a me series of warning…..
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
First do an ls -l to see who currently owns these files, then get that person to change them.
You'll need execute authority for the programs (as with any Solaris program) and MQ authority for the MQ objects (as with any MQ program). _________________ Honesty is the best policy.
Insanity is the best defence.
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