|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Channel Files |
« View previous topic :: View next topic » |
Author |
Message
|
gaurish78 |
Posted: Mon Jul 15, 2002 10:24 pm Post subject: Channel Files |
|
|
Newbie
Joined: 15 Jul 2002 Posts: 1 Location: India
|
Hi
I am a new user of MqSeries and I am working on Windows 2000 and VB6.0. I am just experimenting few things. My problem is when use MQSERVER environmental variable the AMQSGETC.exe and AMQSPUTC.exe works fine but when I use channel file it is not working It gives me either 2058 or 2059 error. What could be the problem.
Please help.
Thanks in Advance
Gaurish |
|
Back to top |
|
 |
arunmakhija |
Posted: Tue Jul 16, 2002 3:56 pm Post subject: |
|
|
 Novice
Joined: 17 Jun 2002 Posts: 20 Location: Sydney
|
hi
you have to elaborate how are you using the channel file.
you should set 2 environment variables before you use the channel file
1. MQCHLTAB==This specifies the name of the client channel definition table.
2. MQCHLLIB==This holds the path to the directory and file containing the client channel definition table. The file containing the definition table is created on the server, but can be copied across to the MQSeries client machine.
or tell us how exactly are you using it
later _________________ In Celebration of Being Alive !!! |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Jul 16, 2002 5:06 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
if you specified the QM name in the channel table, you will have to specify the QM name (in the exact same case) when starting up amqsputc or amqsgetc.
If you specified a blank QM name in the channel table, meaning you want the default QM, you CANNOT specify a name when starting up amqsputc or amqsgets, even if the name you are specifying at startup happens to be the name of the default QM!
I wasted a couple days on this once. Whatever is coded in the channel table for a QM name, or lack thereof, should be exactly what a client app asks for on MQCONN. (Note you can specify names with * in both) _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|