|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
CONNAME while creating a channel |
« View previous topic :: View next topic » |
Author |
Message
|
Gemz |
Posted: Tue Jul 01, 2008 1:00 am Post subject: CONNAME while creating a channel |
|
|
 Centurion
Joined: 14 Jan 2008 Posts: 124
|
Hi,
I have two Queue Managers say QM1 and QM2 in same system in windows. I am trying to create channel between these two Queue Managers. While creating the channel, I am giving CONNAME as 'IPADDRESS(QMPORT)' in MQ Explorer it works fine. But if i do the same in command line i.e. CONNAME as 'IPADDRESS(QMPORT)', I am getting syntax error.
In command line if i didnt mention the port, I am able to create the channel but not able to start the channel.
How do i define the channel thro command line.?
Thanks |
|
Back to top |
|
 |
exerk |
Posted: Tue Jul 01, 2008 1:21 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
The error will report where the syntax is incorrect, e.g.:
Quote: |
define channel(TEST.SYNTAX.ERROR) chltype(SDR) conname(this will error)
2 : define channel(TEST.SYNTAX.ERROR) chltype(SDR) conname(this will error)
AMQ8405: Syntax error detected at or near end of command segment below:-
define channel(TEST.SYNTAX.ERROR) chltype(SDR) conname(this will |
Whereas:
Quote: |
define channel(TEST.SYNTAX.GOOD) chltype(SDR) conname('LOCALHOST(1414)') xmitq(XMITQ.NAME)
4 : define channel(TEST.SYNTAX.GOOD) chltype(SDR) conname('LOCALHOST(1414)') xmitq(XMITQ.NAME)
AMQ8014: WebSphere MQ channel created. |
_________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Gemz |
Posted: Tue Jul 01, 2008 1:34 am Post subject: |
|
|
 Centurion
Joined: 14 Jan 2008 Posts: 124
|
Hi exerk,
Yep, i have missed that single quotes.
Thanks.  |
|
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
|
|
|
|