|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Create Client-connection channel for CCDT using PCF cmds. |
« View previous topic :: View next topic » |
Author |
Message
|
nanotech |
Posted: Thu Mar 29, 2012 11:29 am Post subject: Create Client-connection channel for CCDT using PCF cmds. |
|
|
Novice
Joined: 29 May 2009 Posts: 15
|
Hi All,
We have a requirement where in we have to create channels and distribute the CCDT to client.I am having trouble creating Client connection channel using PCF commands.
The MQSC command is DEFINE CHANNEL(TEST.CHANNEL) CHLTYPE(CLNTCONN) TRPTYPE(TCP) CONNAME(localhost) QMNAME(MYQMGR) DESCR('Client-connection channel ')
The PCF command that I am using has the following parameters
CMQCFC.MQCMD_CREATE_CHANNEL <-- To create channel
CMQCFC.MQCACH_CHANNEL_NAME <-- For channel Name(TEST.CHANNEL)
CMQCFC.MQIACH_CHANNEL_TYPE <-- for Channel type (CLNCONN)
CMQCFC.MQCACH_CONNECTION_NAME <-- for connection name (localhost)
CMQCFC.MQCACH_DESC <-- for channel description (Client-connection channel )
I am having trouble finding the correct constant for supplying queue manager name.
Can someone please verify that above constants are okay and suggest me which constant should I use for Queue manager name?
CMQCFC.MQCACF_OBJECT_Q_MGR_NAME
--OR --
CMQCFC.MQCHTAB_Q_MGR
--OR--
CMQCFC.MQCACF_PARENT_Q_MGR_NAME
or something else.
Thanks,
RG |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Mar 29, 2012 11:40 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
nanotech |
Posted: Thu Mar 29, 2012 12:46 pm Post subject: Create Client-connection channel for CCDT using PCF cmds. |
|
|
Novice
Joined: 29 May 2009 Posts: 15
|
Hi Jeff,
Thanks for your reply. I did try this.
CMQC.MQCA_Q_MGR_NAME <-- for Q manager name (MYQMGR)
But when I ran the PCF command. I got the following error with reason code.
4032 (0FC0) (RC4032): MQRCCF_CHANNEL_NOT_FOUND
Explanation
Channel not found.
The channel specified does not exist.
Programmer response
Specify the name of a channel which exists.
But I am supplying the channel name in my command.
Can you please suggest what could be wrong ?
Thanks,
~RG |
|
Back to top |
|
 |
nanotech |
Posted: Thu Mar 29, 2012 3:59 pm Post subject: |
|
|
Novice
Joined: 29 May 2009 Posts: 15
|
Jeff,
Never mind . It was my mistake. The solution you provided worked.
Thanks,
~RG |
|
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
|
|
|
|