Author |
Message
|
kordi |
Posted: Thu Aug 06, 2015 2:45 am Post subject: MO72 doesn't show all channels from AMQCLCHL.TAB file |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
Hello,
Today I had to add new channel definitions to existing AMQCLCHL.TAB. I opened it in notepad and noticed there are at least 8 definition already present however when I run MO72 utility: mqsc -n, it showed me only 3. When I definied new CLNTCONN channel and browsed TAB file with notepad again, I noticed CCDT was updated with new one but I still saw 8 more which I didn't see in mqsc.
Does anyone know what might be the reason?
MQ client installed is 6.0.2.12 (yes, I know). AMQCLCHL.TAB had modification date from 2010 so it is definitely not CCDT v10.
Thanks in advance!
Cheers
Kordian |
|
Back to top |
|
 |
kordi |
Posted: Thu Aug 06, 2015 5:32 am Post subject: |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
After the use of MO72 I started getting AMQ9517 File damaged. reffering to AMQCLCHL.TAB  |
|
Back to top |
|
 |
zpat |
Posted: Thu Aug 06, 2015 5:50 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Don't edit the CCDT file with notepad. As far as I know there is no "browse" mode in notepad. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error.
Last edited by zpat on Thu Aug 06, 2015 5:53 am; edited 1 time in total |
|
Back to top |
|
 |
kordi |
Posted: Thu Aug 06, 2015 5:52 am Post subject: |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
Come on I just opened it in notepad. This is binary file, I know I cant edit it in notepad.
If you open file in editor and close editor without making any changes to file, file will remain unchanged.
I was editing using MO72 |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 06, 2015 12:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
kordi wrote: |
Come on I just opened it in notepad. This is binary file, I know I cant edit it in notepad.
If you open file in editor and close editor without making any changes to file, file will remain unchanged.
I was editing using MO72 |
Depending on the release version of MQ this can be a bad thing.
Check out if you can use MO72 in rel 7.5. For Version 8 just use runmqsc  _________________ MQ & Broker admin |
|
Back to top |
|
 |
kordi |
Posted: Thu Aug 06, 2015 12:57 pm Post subject: |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
Yes, there is MO72 and MO72 for 7.5 available on the page.
CCDT which I was editing was an old file, I bet it was created using QMGR v6. The thing is when I browsed file I could see many definitions of channels. When I opened it with MO72, I could see only 2 + default system clntconn channel. And when I put CCDT into definied destination, mq client logs were full of errors about damaged file. When I recovered old CCDT, it was fine.
WTF??? |
|
Back to top |
|
 |
gbaddeley |
Posted: Thu Aug 06, 2015 4:50 pm Post subject: |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
CCDT files can also contain deleted channels. The CLNTCONN MQCD's are in linked lists. _________________ Glenn |
|
Back to top |
|
 |
kordi |
Posted: Fri Aug 07, 2015 3:27 am Post subject: |
|
|
Centurion
Joined: 28 May 2012 Posts: 146 Location: PL
|
oh, I didn't know that. When I was testing CCDT, everytime I had deleted CLNTCONN, it dissapeared from CCDT too. |
|
Back to top |
|
 |
|