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!

MQSess.AccessQueueManager("MyQM") fails!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi there,
I am a beginner with MQSeries and trying to connect and get messages from a remote queue manager (I work on the client) using the above statement, as suggested in the VB example from the documentation. It fails with the Reason Code = 2058.
However, from the DOS prompt I succesfully ran the amqsputc and amqsgetc statements against the same queue manager.
Thanks for any suggestion,
Georgia
 
Hi there,

Do you have a client and a server installed on the same machine? If you do, check if your vb program is using the server dlls or the client dll. What happens when you do a amqsput [ server version ]. Also, all names are case sensitive.

Sada

 
There's a known problem in MQAX200.dll that it doesn't work properly if it's run from an ActiveX component under MTS. You need to get a support pak MC75 from IBM.
According to the IBM article:
"Solution
MQSeries ActiveX/COM programs can be written in such a way that they
work under MTS but there are some quite serious restrictions... The
easiest thing for cust to do is to download the MQ MTS support pac
(MC75). It is available from;
With this support installed, their application should behave
correctly under MTS.

MQAX200.dll can run out of MTS if the support pak is installed
correctly."

I found that the download link to mc75.html doesn't work. Does anyone else have this support Pak????
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top