Author |
Message
|
Al Pacino |
Posted: Mon Mar 06, 2006 12:10 pm Post subject: MQ Client |
|
|
 Centurion
Joined: 19 Aug 2005 Posts: 114
|
Hello,
I am not that familiar with how MQ client work but I know the information for the svrcn channel get stored in the channel table. I can't start one of the svrcn channels and when I look in the *.TAB file on the client side , I noticed an issue there . My question is , how does this file get generated and Is it possible to modify it manually? thanks _________________ "We can't solve problems by using the same kind of thinking we used
when we created them." |
|
Back to top |
|
 |
KramJ |
Posted: Mon Mar 06, 2006 12:23 pm Post subject: |
|
|
Voyager
Joined: 09 Jan 2006 Posts: 80 Location: Atlanta
|
Entries are added to AMQCLCHL.TAB when you define CLNTCONN channels on the queue manager. You can copy the file to the client. For SVRCONN channels, set the MQSERVER environment variable. |
|
Back to top |
|
 |
mvic |
Posted: Mon Mar 06, 2006 12:59 pm Post subject: Re: MQ Client |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Al Pacino wrote: |
My question is , how does this file get generated and Is it possible to modify it manually? thanks |
Entries are added to the client channel table when a CLNTCONN channel definition is created on a queue manager. NB. the file is associated with the queue manager, and is in its directory structure. You can take a copy of this file and place it on a client machine. The client code can then read this table. Details are documented fully in the MQ Clients manual. Check the 'documentation' link at the top of this page.
EDIT: Sorry it appears I repeated KramJ's basic information I just tried to delete this post but couldn't.
Last edited by mvic on Mon Mar 06, 2006 1:29 pm; edited 1 time in total |
|
Back to top |
|
 |
wschutz |
Posted: Mon Mar 06, 2006 1:17 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
Is it possible to modify it manually |
if by that, you mean "using something like notepad or emac", the answer is "no!". The file is a linked list of channel definitions and if you edit it, you'll probably mess up the linkage..... _________________ -wayne |
|
Back to top |
|
 |
Nigelg |
Posted: Tue Mar 07, 2006 12:05 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
There is a perl program somewhere which deconstructs the client chanel table into a readable form, and builds it again. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 07, 2006 2:55 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Nigelg wrote: |
There is a perl program somewhere which deconstructs the client chanel table into a readable form, and builds it again. |
sounds dangerous, where is the program?
I wrote a short "c" program to dump the key fields of the channel table, cause i was always wondering which definitions my mq client was picking up.... _________________ -wayne |
|
Back to top |
|
 |
mvic |
Posted: Tue Mar 07, 2006 3:02 am Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
|
Back to top |
|
 |
wschutz |
Posted: Tue Mar 07, 2006 3:38 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
yes, of course ... (thats what I get for posting before the first cUp of coffee....)  _________________ -wayne
Last edited by wschutz on Tue Mar 07, 2006 7:45 am; edited 1 time in total |
|
Back to top |
|
 |
Al Pacino |
Posted: Tue Mar 07, 2006 7:41 am Post subject: |
|
|
 Centurion
Joined: 19 Aug 2005 Posts: 114
|
thanks all for the help _________________ "We can't solve problems by using the same kind of thinking we used
when we created them." |
|
Back to top |
|
 |
|