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 » General IBM MQ Support » Tried to start a channel, but getting channel not found

Post new topic  Reply to topic
 Tried to start a channel, but getting channel not found « View previous topic :: View next topic » 
Author Message
venkataRajesh
PostPosted: Wed Dec 11, 2013 2:53 am    Post subject: Tried to start a channel, but getting channel not found Reply with quote

Newbie

Joined: 24 Sep 2008
Posts: 7

Sorry guys, for asking basic question. Please help

display CHANNEL(*) TYPE(SDR)
45 : display CHANNEL(*) TYPE(SDR)
AMQ8414: Display Channel details.
CHANNEL(QM1toQM2) CHLTYPE(SDR)
AMQ8414: Display Channel details.
CHANNEL(SYSTEM.DEF.SENDER) CHLTYPE(SDR)


start channel (QM1toQM2)
46 : start channel (QM1toQM2)
AMQ8227: Channel QM1TOQM2 not found.

Why I am getting this problem ?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Dec 11, 2013 2:55 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's almost as if the difference in the case of the name makes a difference in the name of the channel.
Back to top
View user's profile Send private message
venkataRajesh
PostPosted: Wed Dec 11, 2013 3:02 am    Post subject: Reply with quote

Newbie

Joined: 24 Sep 2008
Posts: 7

mqjeff wrote:
It's almost as if the difference in the case of the name makes a difference in the name of the channel.


but it is the same name, please refer the above scenario
Back to top
View user's profile Send private message
smdavies99
PostPosted: Wed Dec 11, 2013 3:11 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

A really good convention to follow with WMQ Objects is to make them ALL UPPERCASE.

If you insist in using mixed case you will end up with problems on some platforms.

So, standardise on UPPERCASE and you won't go far wrong.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
PaulClarke
PostPosted: Wed Dec 11, 2013 3:26 am    Post subject: Reply with quote

Grand Master

Joined: 17 Nov 2005
Posts: 1002
Location: New Zealand

I agree that the problem will be one of case. Almost undoubtedly the problem is that you didn't surround the channel name with quotes. MQSC will upper-case anything that is not included in quotes. Don't aks me why, I've never truly understood it. So, try the command....

start channel ('QM1toQM2')


Cheers,
Paul.
_________________
Paul Clarke
MQGem Software
www.mqgem.com
Back to top
View user's profile Send private message Visit poster's website
venkataRajesh
PostPosted: Wed Dec 11, 2013 3:53 am    Post subject: Reply with quote

Newbie

Joined: 24 Sep 2008
Posts: 7

PaulClarke wrote:
I agree that the problem will be one of case. Almost undoubtedly the problem is that you didn't surround the channel name with quotes. MQSC will upper-case anything that is not included in quotes. Don't aks me why, I've never truly understood it. So, try the command....

start channel ('QM1toQM2')


Cheers,
Paul.


Perfect and Simple..it works...Thanks a lot..Paul....

this is some thing tricky
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Dec 11, 2013 4:26 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7716

smdavies99 wrote:
A really good convention to follow with WMQ Objects is to make them ALL UPPERCASE.

If you insist in using mixed case you will end up with problems on some platforms.

So, standardise on UPPERCASE and you won't go far wrong.




If QM1toQM2 was chosen over QM1TOQM2 because QM1toQM2 was easier to read, try using QM1.TO.QM2 instead. Stick with UPPER case for naming all MQ objects and you will save hours of wasted time in your MQ career, guaranteed.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Wed Dec 11, 2013 6:48 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1231
Location: Gold Coast of Florida, USA

Ya know...

Channels have a length limit of 20 characters. The "to" part of the name does not really convey much additional information as the first QmgrName should always mean "the from Qmgr" and the second QmgrName should always mean "the to Qmgr". When you add the "." that gives you 19 characters to work with which cannot be divided evenly so Qmgr names should only be 9 characters long (and upper case) for ease of use. This is fine for point to point channels.

For cluster channels if you name them "ClusterName.QmgrName" (where the QmgrName is always "the to Qmgr"), you will never have a channel that spans multiple clusters providing a much clearer environment. So, keep your cluster names to 9 characters just like your QmgrNames.

Keep your life as simple as possible and you will be much happier.

<RANT>I find it very irritating when folks feel compelled to add "QM" to QmgrNames. It is as if we don't know a Qmgr is a Qmgr without that in the name. I'm sure it is just a hangover from the examples that use QM in their names (but that is for demonstration purposes).</RANT>

Only put meaningful information in object names. Like, P for production (which would seem so important to know you would make it the first thing you see).
Back to top
View user's profile Send private message AIM Address
Vitor
PostPosted: Wed Dec 11, 2013 6:59 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

JosephGramig wrote:
<RANT>I find it very irritating when folks feel compelled to add "QM" to QmgrNames. It is as if we don't know a Qmgr is a Qmgr without that in the name. I'm sure it is just a hangover from the examples that use QM in their names (but that is for demonstration purposes).</RANT>


My pet peev is a queue naming convention which names local queues as QLOCAL.SOMETHING, remote queues as QREMOTE.SOMETHING & alias queues as QALIAS.SOMETHING. Not only can you tell easily what a queue is, what happens when you need to move a queue to a remote location for good & sufficient reason?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bruce2359
PostPosted: Wed Dec 11, 2013 11:54 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9405
Location: US: west coast, almost. Otherwise, enroute.

Whoa. I thought I was high-stress and high-maintenance .
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Dec 11, 2013 12:01 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bruce2359 wrote:
Whoa. I thought I was high-stress and high-maintenance .


Ha! You have no idea!

Bow down before the God Of Stress puny mortal!
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » General IBM MQ Support » Tried to start a channel, but getting channel not found
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.