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 » IBM MQ API Support » MQAX.MQQueueManager.ConnectionHandle

Post new topic  Reply to topic
 MQAX.MQQueueManager.ConnectionHandle « View previous topic :: View next topic » 
Author Message
HrothgarV
PostPosted: Tue Jul 29, 2003 12:26 pm    Post subject: MQAX.MQQueueManager.ConnectionHandle Reply with quote

Novice

Joined: 07 Apr 2003
Posts: 17

the MQAI mqExecute command needs a connection handle. I have already established connection to the queue manager via MQAX MQSession and MQQueueManager objects. I don't want to establish another connection via MQCONN just to get a connection handle.

Can I use the MQAX.MQQueueManager.ConnectionHandle to run the MQAI mqExecute command??? OR what (hconn) attribute of MQAX can I use to run mqExecute(hconn,parm,parm,,,,)???


thanks,
Back to top
View user's profile Send private message
HrothgarV
PostPosted: Fri Aug 01, 2003 9:14 am    Post subject: Reply with quote

Novice

Joined: 07 Apr 2003
Posts: 17

any help?

I've actually tried using the MQAX qmgr.ConnectionHandle and MQAX qmgr.ObjectHandle to run mqExecute(HConn, parm,parm,,,). Neither one worked. I had to issue a separate connection via MQCONN and passed the handle obtained from this to the mqExecute command to make it work.

However, it seems illogical to have separate MQSeries connections for the MQAX and MQAI components to work.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 01, 2003 10:20 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

HrothgarV wrote:
any help?
...
However, it seems illogical to have separate MQSeries connections for the MQAX and MQAI components to work.


The MQAX connection object is not the same thing as a standard MQAI connection handle.

There may be a way to get a standard MQAI connection handle from the MQAX connection object, but I don't know what it is.
Back to top
View user's profile Send private message
ping master
PostPosted: Fri Aug 01, 2003 10:34 am    Post subject: Reply with quote

Centurion

Joined: 20 Sep 2002
Posts: 116
Location: USA

you are exactly right Jeff, I have explained this in the other forum with the exact execute,


try it and you will see it works perfect.
Back to top
View user's profile Send private message
HrothgarV
PostPosted: Fri Aug 01, 2003 11:30 am    Post subject: Reply with quote

Novice

Joined: 07 Apr 2003
Posts: 17

does not work...

see General Support forum, topic: MQAX.QMgr.ConnectionHandle...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQAX.MQQueueManager.ConnectionHandle
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.