ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » CONNAME while creating a channel

Post new topic  Reply to topic
 CONNAME while creating a channel « View previous topic :: View next topic » 
Author Message
Gemz
PostPosted: Tue Jul 01, 2008 1:00 am    Post subject: CONNAME while creating a channel Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Tue Jul 01, 2008 1:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Gemz
PostPosted: Tue Jul 01, 2008 1:34 am    Post subject: Reply with quote

Centurion

Joined: 14 Jan 2008
Posts: 124

Hi exerk,

Yep, i have missed that single quotes.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » CONNAME while creating a channel
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.