Author |
Message
|
browneki |
Posted: Wed Oct 08, 2003 9:40 am Post subject: [solved]Difference between MQServer and MQCHLTAB ? |
|
|
Newbie
Joined: 04 Dec 2002 Posts: 5 Location: Ireland
|
Hi,
I was just wondering if anybody may be able to help me. We are using MQSeries Client to connect to a MQSeries server situated elsewhere. From reading the manuals you can use either the MQServer variables or the client channel definition to define the channel to use to connect to the MQSeries. The MQServer is supposed to take precense if the client can find it over using MQCHLTAB and MQCHLTAB. However in our system(Lotus Notes) if the code is run on a schedule it reports an error that it can not find the AMQCLCHL.TAB but it you manually run the agent it picks up the MQServer variable correctly. I was wondering why this is the reason.
Thanks in advance
Kieran
Last edited by browneki on Mon Oct 20, 2003 6:16 am; edited 1 time in total |
|
Back to top |
|
 |
mrlinux |
Posted: Wed Oct 08, 2003 9:53 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well some more info would be helpful platform ???? It sounds like the schedule program is not picking up the env. variables, When users login
in the env is setup for them, but typically schedule jobs dont pick up those settings. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
yonny |
Posted: Thu Oct 09, 2003 12:55 pm Post subject: Re: Difference between MQServer and MQCHLTAB |
|
|
 Apprentice
Joined: 08 Jul 2001 Posts: 49 Location: Santo Domingo
|
Check if you set up correctly MQCHLLIB that "holds the path to the directory and file containing the client channel definition table".
If not, the agent wont be able to find the table. |
|
Back to top |
|
 |
browneki |
Posted: Fri Oct 10, 2003 12:23 am Post subject: Difference between MQServer and MQCHLTAB ? |
|
|
Newbie
Joined: 04 Dec 2002 Posts: 5 Location: Ireland
|
Hi ,
Sorry for not getting back sooner but I was swamped with work yesterday. The environment is as follows
MQSeries Server v5.2 (Windows 2000)
MQSeries Client v5.0 for Win NT
The client is situated on a Lotus Notes Server. The notes database uses mqei classes to send messages. When the agent is ran on a scheduled basis the mqei is unable to pick up the MQServer variable and therfore tries to find the client channel definition table. We want if possible to use the MQServer variable instead of using client definition tables. As eff
mentioned scheduled agents don't mind up local environment variables but this there a way to set the MQServer variable in the system variable section.
I hope this makes sense.
Kieran |
|
Back to top |
|
 |
neal |
Posted: Fri Oct 10, 2003 1:42 am Post subject: |
|
|
Newbie
Joined: 10 Oct 2003 Posts: 3 Location: KL
|
Hi,
If you want to use channel table set following two variables after moving the channel tab file to desired location, you can set it as a system variables ( but make sure MQSERVER var is not set coz that will take presedence over channel tab)
SET MQCHLLIB=pathname
SET MQCHLTAB=filename
is you want to use MQSERVER just set it in your system variable by right clicking on my computer --> environment variables and set it under system variables so that it will be always available.
Neal |
|
Back to top |
|
 |
browneki |
Posted: Mon Oct 20, 2003 6:14 am Post subject: [Solved]Difference between MQServer and MQCHLTAB ? |
|
|
Newbie
Joined: 04 Dec 2002 Posts: 5 Location: Ireland
|
Thanks for the help. I think I know the difference between using MQServer and MQCHLTAB environement variables
Regards
Kieran |
|
Back to top |
|
 |
|