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 » Accessing a queue using MQMGR alias

Post new topic  Reply to topic
 Accessing a queue using MQMGR alias « View previous topic :: View next topic » 
Author Message
mikiu
PostPosted: Fri Dec 06, 2013 6:26 am    Post subject: Accessing a queue using MQMGR alias Reply with quote

Acolyte

Joined: 23 Jul 2002
Posts: 61
Location: toronto

Hello wise and gentle folks ...
I am certain yous know how to get messages from a queue on a different queue manager (AIX) then the one I currently use (z/OS) and I am also certain that you will share your wisdom with me ... I know I did this before using QMGR Aliases, but lost the source an for the life of me I cannot remember the details.
Much obliged for your time
M.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Vitor
PostPosted: Fri Dec 06, 2013 6:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

You client onto the AIX queue manager and read them from there.

Or you use QALIAS and/or QREMOTE to have them delivered to your queue manager.

You can't get messages from a queue manager you're not connected to.

It's an urban myth you can't connect to a distributed queue manager from z/OS; the restriction runs the other way, and has more to do with how z/OS manages & licences client connections.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Fri Dec 06, 2013 6:53 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

I'm not quite sure what you're asking but there is no way to use a QMGR Alias to GET messages from a remote Queue Manager. The traditional way to get messages from a Queue Manager that is on a different machine than the one you are on is to use an MQ Client.

Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
mikiu
PostPosted: Fri Dec 06, 2013 7:34 am    Post subject: Reply with quote

Acolyte

Joined: 23 Jul 2002
Posts: 61
Location: toronto

Thank you ... once again you came through ... I am grateful for your time
M.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
fjb_saper
PostPosted: Fri Dec 06, 2013 3:04 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

There is however a way to get messages on a local queue manager that were originally meant for a different qmgr and that has to do with a qmgr alias... (man in the middle type of interception)
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mikiu
PostPosted: Mon Dec 09, 2013 10:13 am    Post subject: Reply with quote

Acolyte

Joined: 23 Jul 2002
Posts: 61
Location: toronto

You said [quote="Vitor"]You client onto the AIX queue manager and read them from there. ...
This is what I did:
1 - used MQCONNX instead of MQCONN
2 - added the MQCD-STRUCTURE and filled in values I thought are needed:
MQCD-QMGRNAME <--- the AIX qmgr name
MQCD-CHANNELNAME <--- a working SVRCONN (same name on z/OS and AIX)
MQCD-CONNECTIONNAME <--- what MQExplorer showed incl port#
MQCD-TRANSPORTTYPE = MQXPT-TCP
MQCD-CHANNELTYPE = MQCHT-SVRCONN
3 - Set address MQCNO-CLIENTCONNPTR to the MQCD structure.
4 - Issued CONNX with z/OS queue manager name.
After fumbling through a bunch of 2058s to get all the above right, I did connect successfully and now I am dealing with a new pile of errors on the MQOPEN ...
I reviewed all the steps here for documentation, possibly of use by others ... but your suggestions were valuable and I am much obliged for your time.
M.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Vitor
PostPosted: Mon Dec 09, 2013 11:03 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mikiu wrote:
I reviewed all the steps here for documentation, possibly of use by others ... but your suggestions were valuable and I am much obliged for your time.


Glad to hear you're making progress, I thank you for taking the time to post your results and you're welcome.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » General Discussion » Accessing a queue using MQMGR alias
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.