Author |
Message
|
kblv |
Posted: Mon Oct 24, 2011 7:56 am Post subject: Creating and editing the CCDT |
|
|
Novice
Joined: 11 Oct 2011 Posts: 23
|
Hi,
I am trying to find the best way to create/edit the client-channel-table.
One way that works fine is to create all of the channels that I need on some random QMGR and then copying the AMQCLCHL.TAB file to my MQ-client-machine - but it's very ugly way to work.
Is there another way to do it?
I mean to somehow create the table on the client side without needing to use any server side.
As far as I understood the TAB file is a binary code, and its different between MQ versions,
there's a way to read this file, using some code, is anyone know what's the format of this file?
or it's an IBM-top-secret?
Thanks in advance. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Oct 24, 2011 8:24 am Post subject: Re: Creating and editing the CCDT |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kblv wrote: |
One way that works fine is to create all of the channels that I need on some random QMGR and then copying the AMQCLCHL.TAB file to my MQ-client-machine - but it's very ugly way to work. |
And yet many sites do exactly that & feel content. I've known clients who don't have "some random queue manager" but have "the specific queue manager that creates CCDTs".
kblv wrote: |
Is there another way to do it? |
Yes. There's a support pac.
kblv wrote: |
As far as I understood the TAB file is a binary code, and its different between MQ versions, |
Yes.
kblv wrote: |
there's a way to read this file, using some code, is anyone know what's the format of this file?
or it's an IBM-top-secret?  |
It's as top-secret as the rest of IBM's intellectual property. Given that it can change without warning between versions any roll your own code to read it could stop working without warning.
Also editing it outside of the IBM supported methods would leave you (unsurprisingly) unsupported if it goes wrong. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kblv |
Posted: Mon Oct 24, 2011 8:29 am Post subject: |
|
|
Novice
Joined: 11 Oct 2011 Posts: 23
|
Quote: |
kblv wrote:
Quote: |
Is there another way to do it? |
Yes. There's a support pac. |
Can you expand about it please? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Oct 24, 2011 8:44 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
kblv wrote: |
Can you expand about it please? |
MO72. The rest of the expansion is in the PDF that comes with it. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
zpat |
Posted: Mon Oct 24, 2011 11:05 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Use MO72, this can also be directed to build the CCDT at any level. I keep mine at v6 until every client is upgraded to v7 (they are upward but not downward compatible).
I keep the "source" as MQSC commands, then use MO72 to produce a fresh copy of the CCDT when anything is changed. You might want to version control the source. |
|
Back to top |
|
 |
kblv |
Posted: Mon Oct 24, 2011 11:50 am Post subject: |
|
|
Novice
Joined: 11 Oct 2011 Posts: 23
|
Thanks to you both!
I downloaded the support pac and I find it very useful for my needs!
 |
|
Back to top |
|
 |
|