Author |
Message
|
Andi|Y |
Posted: Tue Jul 02, 2002 10:48 pm Post subject: Which prerequisites are required to connect via client to MQ |
|
|
Newbie
Joined: 17 Jun 2002 Posts: 8 Location: Germany
|
Hello @all,
i asked last week a question regarding client connections to mqseries.
Thanks @all who answered so quickly, but i have an problem, i cant
estalish a connection from my client app to my server. What does it mean
to compile my app with the client option?
What prerequisites are required to connect from MQ-Server to MQ-Server?
Thanks a lot and regards
Andreas
the old entry: http://www.webmq.com/phpBB2/viewtopic.php?t=3968 |
|
Back to top |
|
 |
Ward |
Posted: Wed Jul 03, 2002 2:44 am Post subject: |
|
|
 Voyager
Joined: 27 Jun 2001 Posts: 98 Location: Europe
|
hiya,
It means that you need to link it with the client libraries of MQSeries rather then the server libraries...
I believe for windows it's something like MQIC32.LIB but you better check the manual on this...
Cheers,
Ward. _________________ IBM Certified Solution Designer -- WebSphere MQ V6.0
IBM Certified Solution Developer - WebSphere Message Broker V6.0
----------------------------
Visit Boat Dimensions |
|
Back to top |
|
 |
amartin |
Posted: Thu Jul 04, 2002 1:45 am Post subject: |
|
|
 Newbie
Joined: 25 Jun 2002 Posts: 8 Location: España
|
You must define the environment variable MQSERVER
MQSERVER=Channel Name/TransportType/ConnectionName
amqscnxc -x ConnName -c SvrconnChannelName QmgrName
With this MQ utility in mqm/samp/bin directory in order to check your client/server connection.
The default server connection channel is SYSTEM.DEF.SVRCONN.
Good Luck. |
|
Back to top |
|
 |
Andi|Y |
Posted: Mon Jul 08, 2002 11:18 pm Post subject: |
|
|
Newbie
Joined: 17 Jun 2002 Posts: 8 Location: Germany
|
hello amartin,
hello @ all,
i tried this, and the connection works fine. now i tried to connect via my app. and no mqmgr was found. from several posts i know that i need a 'clientoption' to made my program work from a client, but there is no option for delphi developers.
does anyone have experiences with delphi and clientoptions for mqaccess from a client pc?
thanks for help
andreas |
|
Back to top |
|
 |
mrlinux |
Posted: Wed Jul 10, 2002 10:31 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
You havent indicated which library you linked with ????
mqm.lib Server Lib
mqic32.lib Client Lib _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
Andi|Y |
Posted: Wed Jul 10, 2002 9:56 pm Post subject: |
|
|
Newbie
Joined: 17 Jun 2002 Posts: 8 Location: Germany
|
There is no library required to be linked with my program.
All works fine from my 5.2 MQ client. I only need to copy
the AMQCLCHL.TAB in the bin directory and then my program
works fine.
Thanks for help,
Andreas
Any questions? I will send a anyone a detailled description for Delphi/MQSeries. |
|
Back to top |
|
 |
mrlinux |
Posted: Thu Jul 11, 2002 3:30 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
You have to be getting the MQ code from some lib or are you doing a system call of sorts and calling another executable. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
|