ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » MQ Client

Post new topic  Reply to topic
 MQ Client « View previous topic :: View next topic » 
Author Message
Al Pacino
PostPosted: Mon Mar 06, 2006 12:10 pm    Post subject: MQ Client Reply with quote

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
View user's profile Send private message
KramJ
PostPosted: Mon Mar 06, 2006 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Mon Mar 06, 2006 12:59 pm    Post subject: Re: MQ Client Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Mon Mar 06, 2006 1:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Nigelg
PostPosted: Tue Mar 07, 2006 12:05 am    Post subject: Reply with quote

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
View user's profile Send private message
wschutz
PostPosted: Tue Mar 07, 2006 2:55 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
mvic
PostPosted: Tue Mar 07, 2006 3:02 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

wschutz wrote:
where is the program?

http://www.google.co.uk/search?q=mqseries+perl+channel+table
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Mar 07, 2006 3:38 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
Al Pacino
PostPosted: Tue Mar 07, 2006 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » MQ Client
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.