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 » General Discussion » Use of MQSERVER environment variable in .Net apps

Post new topic  Reply to topic
 Use of MQSERVER environment variable in .Net apps « View previous topic :: View next topic » 
Author Message
vinneo
PostPosted: Tue Apr 22, 2003 5:56 am    Post subject: Use of MQSERVER environment variable in .Net apps Reply with quote

Newbie

Joined: 22 Apr 2003
Posts: 4

Hi
I am new to this MQSeries programming world. I am trying to interface a Vb.Net app with MQSeries.
Our organization has been running this MQSeries interface using another OO language.

I am using the support pac from IBM i.e the Websphere classes for .Net.
The following is how i create an instance of the MQQueueManager

imports IBM.wmq

Dim mqQMgr As MQQueueManager

mqQMgr = New MQQueueManager(MQ_QUEUE_MANAGER, MQ_CHANNEL_NAME, MQ_SERVER_NAME)

This gives an exception if i dont create the MQSERVER environment variable. Do i always need to create the MQSERVER environment variable?
My QSeries error log has the following error in it.

AMQ9498: The MQCD structure supplied was not valid.

EXPLANATION:
The value of the 'Version' field has the value '7'. This value is invalid for
the operation requested.
ACTION:
Change the parameter and retry the operation.

As the error says the MQCD structure is not valid. How do i pass the MQCD structure. The MqChannelDefinition class seems to be private to IBM.WMQ .

Any suggestions are welcome

Thanks!
Back to top
View user's profile Send private message
dialog-it_dme
PostPosted: Mon Apr 28, 2003 11:47 pm    Post subject: Reply with quote

Newbie

Joined: 27 Nov 2002
Posts: 8
Location: Germany

Hi there!

Same problem useing IBM-MA7P

Any ideas until now?
_________________
Danyel Meyer

-------------------------------------
dialog-it GmbH
www.dialog-it.de
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Use of MQSERVER environment variable in .Net apps
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.