Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to test a send Queue?

Status
Not open for further replies.

gertvangaever

Technical User
Apr 3, 2002
37
BE
Hello,

I have here 2 queue managers:
QMMGR1 & QMMGR2

On QMMGR1 I have remote queue 'QMMGR2.SEND.QUEUE' that sends messages to QMMGR2 / RECEIVE.QUEUE

Now I'd like to test this send queue.

I did 'AMQSPUTC QMMGR2.SEND.QUEUE' on QMMGR1
But i received an error 2058 _ Queue manager name not valid or not known. I'm sure though that the queue manager that was filled in was correct!

Now I have 2 questions
1. Is this the correct way to test a send queue

if NO:
What is the correct way?

if YES:
What can be the problem here (error 2058)

Tnx
Gert
 
I'm not 100% sure but shouldn't you be using AMQSPUT rather than PUTC. I always thought AMQSPUTC was for putting messages to a client machine.
 
I have another question about this issue!

I have a Win2000 workstation here, with the mq snap-in installed. There is no queue manager installed on my system.
My username is in the 'mqm' group of all queue managers we have here, so I can do what I want with them!

I'd like to put a test message on a send queue of a queue manager. When I right-click on a local queue of a queue manager, I can 'put a test message'. I'd like to do the same with a remote queue, but that doesn't seem possible!

Any solutions?
Because we have a rather strict environment, I can't
- install a Qmgr on my system
- take over the servers on which the queue managers reside

Tnx!!
 
OK I found it...

in dos window:
SET MQSERVER=<server connection channel>/TCP/<hostname>
amsputc <queue> <queue manager if not default>

Gert
 
Do you guys know where I can get a list of all the MQ Series commands?
 
Hi,

I have WindowsXP professional installed on my system. Now I want to install MQSeries v5.2.1. Is this version compatible with XP pro? If not please tell me what is the CSD level I should apply. Also guide me whether I can download it for no cost.

Thanks

Vikky
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top