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 IBM MQ Support » Accessing remote QM using ActiveX

Post new topic  Reply to topic
 Accessing remote QM using ActiveX « View previous topic :: View next topic » 
Author Message
szepcsik
PostPosted: Wed Jun 26, 2002 12:47 am    Post subject: Accessing remote QM using ActiveX Reply with quote

Newbie

Joined: 20 Jun 2002
Posts: 3

I can not access a remote QM from activex client.
When the client and server are on the same machine, the program works correctly.

SERVER
---------
OS: win2k
MQ ver: 5.2
QM name: QM_A

CLIENT
--------
OS: winNT
MQ ver: 5.2
MQ server not installed, only MQ client
client programming tool: PowerBuilder
MQSERVER = SYSTEM.DEF.SVRCONN/TCP/serverIP

client code fragment:
-------------------------
OLEObject MQSess, QM
long ll_ret
ll_ret = MQsess.ConnectToNewObject("MQAX200.MQSession")
MQsess.ExceptionThreshold = 99
QM = MQsess.AccessQueueManager(QM_A);

ERROR:
---------
MQSess.ReasonCode = 2059
Back to top
View user's profile Send private message Send e-mail
TorpedoSTu
PostPosted: Thu Jun 27, 2002 1:43 am    Post subject: Reply with quote

Acolyte

Joined: 14 Nov 2001
Posts: 73

Have you set the projetc variable "MQType" correctly ?

I think MQType = 2 = Server, MQType = 1 Client

Regs

Stuart
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 » General IBM MQ Support » Accessing remote QM using ActiveX
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.