|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
binary editor |
« View previous topic :: View next topic » |
Author |
Message
|
ucbus1 |
Posted: Thu Aug 19, 2004 5:27 am Post subject: binary editor |
|
|
Knight
Joined: 30 Jan 2002 Posts: 560
|
Is there any binary editor which cna use to edit MQWFCHLTAB file. As you guessed, if it is free, then it is more preferred.
Thanks |
|
Back to top |
|
 |
leongor |
Posted: Sun Aug 22, 2004 3:55 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
|
Back to top |
|
 |
clindsey |
Posted: Sun Aug 22, 2004 7:32 am Post subject: |
|
|
Knight
Joined: 12 Jul 2002 Posts: 586 Location: Dallas, Tx
|
If you are a pretty old school guy, you may remember "debug" from the early DOS days. Well, believe it or not, debug is still available from the command line on Windows/NT/2000/XP. I have used it to modify channel table files.
I would like to suggest a better way for you to examine, modify a channel table file using WMQ facilities. You can do this on any platform that has a queue manager installed.
Code: |
1. Copy the channel table file to a temp directory.
2. Start a command window on windows or terminal window on unix
3. Set the environment variable MQCHLLIB to the temp directory, e.g. 'set MQCHLLIB=c:\temp' on Windows or 'export MQCHLLIB=/tmp' on unix.
4. Set the environment variable MQCHLTAB to the name of the channel table file, e.g. set MQCHLLIB=MQWFCHL.TAB.
5. From the same window where the env vars are set, enter 'runmqsc qmgrname' where qmgrname can be any active queue manager.
6. Enter 'display chl(*) chltype(clntconn)'
This will list all the entries in your channel table file.
7. To display details of one of the entries, enter 'dis chl('chl.name') chltype(clntconn)
note: channel names are case sensitive, so put single quotes around the name or it will get folded to upper case).
8. You can modify entries using the alter chl command or add new ones using define chl.
All changes will be written to the channel tab file in the tmp directory as indicated by your environment vars.
|
BTW, this method is supported. Editing with a binary editor is not.
Hope this helps,
Charlie |
|
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
|
|
|
|