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 » how can I update the AMQCLCHL.TAB in unix...

Post new topic  Reply to topic
 how can I update the AMQCLCHL.TAB in unix... « View previous topic :: View next topic » 
Author Message
GEMO!
PostPosted: Sat Feb 23, 2008 4:25 pm    Post subject: how can I update the AMQCLCHL.TAB in unix... Reply with quote

Apprentice

Joined: 08 Oct 2004
Posts: 33
Location: This World

What is the corresponding command for CRTMQMCHL in UNIX?

I need to update the amqchlchl.tab urgently.

Thanks
_________________
GEMO!
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Sat Feb 23, 2008 9:49 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

you'd do that using runmqsc... or ask your mqadmin to do it for you...

_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
GEMO!
PostPosted: Sun Feb 24, 2008 10:38 am    Post subject: Reply with quote

Apprentice

Joined: 08 Oct 2004
Posts: 33
Location: This World

Well... the funny thing is that I'm the MQ Administrator.. but having more than 7 years working as it, I never worked with AMQCHLTAB before (Only on my earlies days as MQ Administrator student). So sundely I had to deal with it.... here my findings and the receipt that worked for me. Hip hip Hurra!


*************

Working with chl tables

The channel table is located under

/var/mqm/qmgrs/<qmgrname>/@ipcc

To add new CLNCONN connections at AMQCLCHLTAB

USE the MQ Support Pack MO72

1) Create a backup copy of the original AMQCLCHLTAB - It is very important to preserve the original AMQCLCHTL.TAB since the it is created durring the qmgr time of creation. Then use a copy to add new channels.

2) Verify what MQ version is running
3) Confirm that the MQ server and MQ Client are on the same version
4) Verify that the SVRCONN already exists
5) run the command as follow:

mqsc.bin -m <qmgrname> -n -v5.3 -t/var/mqm/qmgrs/<qmgrname>/@ipcc/AMQCLCHL.TAB

6) This run the mqsc commands in client mode, then you can run any kind of runmqsc commands.
7) This is an sample of how create the client channels. It is very important to include the qmgr name into the commands.

def chl(CLNT1) CHLTYPE(CLNTCONN) TRPTYPE(TCP) CONNAME('345.975.616.510(1414)') QMNAME(MQ1) replace
def chl(CLNT2) CHLTYPE(CLNTCONN) TRPTYPE(TCP) CONNAME('345.975.616.510(1414)') QMNAME(MQ1) replace
def chl(CLNT3) CHLTYPE(CLNTCONN) TRPTYPE(TCP) CONNAME('345.975.616.510(1414)') QMNAME(MQ1) replace

If you want to delete some channels from the chl table following

delete chl(CLNT01) CHLTABLE(CLNTTBL)

delete chl(CLNT021) CHLTABLE(CLNTTBL)

delete chl(CLNT032) CHLTABLE(CLNTTBL)

9) CLNCONN channels created on the MQ server without using the MO72 creates conflicts, you can not delete channels using normal runmqsc commands
you will need run mqsc.bin utiliy sopport pacK MO72

10) retrieve the amqchltab using bin mode.
11) Share it with the corresponding app teams or Clients pc's
12) Pray ....... just kidding!

****************************************************
_________________
GEMO!
Back to top
View user's profile Send private message Yahoo Messenger
fjb_saper
PostPosted: Mon Feb 25, 2008 3:08 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

All the commands you used with MO72 you could have used with runmqsc being connected to qmgr <qmgrname> as in /var/mqm/qmgrs/<qmgrname>

And in case of conflict I'd take the runmqsc version over the mqsc one...

The way you used mqsc (MO72) would rather be to modify a local copy of a channel tab not connected to a qmgr.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » how can I update the AMQCLCHL.TAB in unix...
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.