Author |
Message
|
Andrew10AE |
Posted: Fri Jun 08, 2007 10:48 am Post subject: ma01 q (qc) program remote connect on linux (newbie question |
|
|
Newbie
Joined: 08 Jun 2007 Posts: 3
|
Hi all...
I have been unable to locate any documentation (I was trying to RTM) on how to use the Q program (ma01) to connect to a queue that is on a remote host, other then to use qc (on linix) or -l and specify the remote library (on Windows).
From searching here, it looks like using the -x option is what I need to use, possibly with the -c to manually enter the remote information. No matter what I enter, I get an "Unexpected Error" when running MQCONNX.
Anyone have any thoughts on what I should try?
Also, is that something I can do without having to enter options except at the command line (if I wanted to use QC in a script)?
And... is it required to have the full MQClient package deployed just to run the Q command remotely? It seems to work without the client when connecting locally...
Thanks much!
-Andrew |
|
Back to top |
|
 |
tleichen |
Posted: Fri Jun 08, 2007 10:53 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
You haven't given enough information. Are you trying to use a MQ client or server connection? What host are you running from, relative to the queue manager that you are connecting to? A client program will not work without the MQClient installed.  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
Andrew10AE |
Posted: Fri Jun 08, 2007 11:08 am Post subject: |
|
|
Newbie
Joined: 08 Jun 2007 Posts: 3
|
MQ Server is on 192.168.10.116 (on Windows)
I would like to use the q program from a linux client to insert messages and retrieve messages from the above server.
The purpose is to verify that the server is accepting messages and sending back valid messages, nothing more then that.
I was hoping to avoid installing the entire client, just the Q with the appropriate libraries... I want this to be as lightweight as possible. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 08, 2007 11:38 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
The MQ client is as lightweight as you can go. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jun 08, 2007 11:38 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Also, please don't use this support pack as part of a production workflow.
If you have a real business need, then you should write a real business application - or buy one.
It's deja vu all over again. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Andrew10AE |
Posted: Fri Jun 08, 2007 11:46 am Post subject: |
|
|
Newbie
Joined: 08 Jun 2007 Posts: 3
|
No worries there, I'm trying to see what I can do with this and go from there... |
|
Back to top |
|
 |
Michael Dag |
Posted: Fri Jun 08, 2007 2:08 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
Andrew10AE wrote: |
MQ Server is on 192.168.10.116 (on Windows)
I would like to use the q program from a linux client to insert messages and retrieve messages from the above server.
The purpose is to verify that the server is accepting messages and sending back valid messages, nothing more then that.
I was hoping to avoid installing the entire client, just the Q with the appropriate libraries... I want this to be as lightweight as possible. |
just be a little more patient... this month (june) a new support pac (WMQ/HTTP Gateway) is supposed to come out, offering Clientside access to WMQ from the Web and HTTP-capable languages.
It probably won't get any 'lighter' then that  _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
|