Author |
Message
|
ashmir Anil |
Posted: Thu Jul 06, 2006 11:37 pm Post subject: how to connect Mq server(mainframe) to Mq client (Aix). |
|
|
Newbie
Joined: 06 Jul 2006 Posts: 7 Location: b'lore
|
Hi I am trying to connect Mq Which we r treating as server on mainframe side to Mq client on Aix.Mainframe side they have created queues and channel which I m using to connect from Aix as client side.
I m following the steps as given in IBM insternet site.
but i have stucked to one point can anyone help me?
I have successfully connect to server through existing channel. but while trying to connect to Mq through Queues I m getting the erros like code 2059.What will be the problem.
As I m first time working with Mq will anybody tell me how to send Queues with xml format .
If u have any material will happy to share with .
Thanks in advance ..
Ashish _________________ Hello My name is Ashish.
Will see to work together. |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 06, 2006 11:47 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Hi,
I'm guessing that when you said "connect to server through existing channel" you didn't mean an MQ channel or the whole conversation about 2059 is irrelevent because you could use that one.
Pedantically, you don't connect to MQ through queues, you connect via channels and use queues. My first thought would be to see if the Client Attachment Facility has been installed on the mainframe; after that check for firewalls, etc.
You can send XML, flat files, JPEGS of trees, anything over a queue - they have no detailed awareness of the data they hold and certainly can't tell XML from other character data. You might want to look into the Format field of the message descriptor if you're using XML across those platforms - the inbuilt conversion may be useful to you.
All your questions have their answers at:
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp
which contains everything you need to know about the CAF, the Format field, inbuilt conversion, error codes and all things MQ.
Have a happy read now  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
paulgroo |
Posted: Fri Jul 07, 2006 2:57 am Post subject: |
|
|
 Centurion
Joined: 07 Jul 2005 Posts: 138 Location: Ireland
|
Are you able to do an "amqsput" to the queue manager?
On the mainframe side, there should be SYSTEM.DEF.CNTCONN which allows
the client to connect to the queue manager. 2059 suggests that you are either specifying the wrong queue manager name or perhaps you're not specifying a listener port address (or something).
Try connecting an MQ client on your local machine to the queue manager and troubleshoot it that way. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 07, 2006 3:15 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
2058 means wrong queue manager name. I get it confused with 2059 all the time myself.
2059 means that either the socket couldn't be opened, or it wasn't MQ on the other end. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
ashmir Anil |
Posted: Sun Jul 23, 2006 11:13 pm Post subject: to established a link between mq on mainframe with mq on Aix |
|
|
Newbie
Joined: 06 Jul 2006 Posts: 7 Location: b'lore
|
Hi vitor,
Thanks for providing a link. As u guessed [quote]My first thought would be to see if the Client Attachment Facility has been installed on the mainframe; after that check for firewalls, etc. [/quote]
All set up on MVS is Ready. But on Aix side we have to esablished a link between MQs on Aix with Mq running on Mainframe side.
Do U have any information regarding how to make a conection .
Will u plese send me..
Expecting Help from u as always.
Thanks,
Ashish _________________ Hello My name is Ashish.
Will see to work together. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jul 24, 2006 2:31 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Read both the Intercommunications manual and the client manual.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|