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 Discussion » Display the PORT assigned for a CHANNEL.?

Post new topic  Reply to topic
 Display the PORT assigned for a CHANNEL.? « View previous topic :: View next topic » 
Author Message
paatchu
PostPosted: Wed Feb 07, 2007 5:06 am    Post subject: Display the PORT assigned for a CHANNEL.? Reply with quote

Apprentice

Joined: 07 Sep 2006
Posts: 32

Hi All,

Is there any way to display the PORT assigned to a particular CHANNEL.?

dis chl(CHL_NAME) won't display the PORT.!!

Currently i have to issue C:\> netstat -an for checking a free Port

Is there any way to achieve it thru MQ Commands (including runmqsc).?

ThanX in Adv.
_________________
Poetry with Programming
Back to top
View user's profile Send private message
pathipati
PostPosted: Wed Feb 07, 2007 6:15 am    Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

can you please post your dis(chl) results here...
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Wed Feb 07, 2007 6:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

channels don't have ports.

They do have localaddrs.

Listeners have ports.

In version 6, you can use "display listener" to find out the port for the listener.

In other versions, there have been a thousand instances of people asking "how do I find the port for a listener". Happy Searching!
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Feb 07, 2007 12:35 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Or from the new blog here is an attempt to answer

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
paatchu
PostPosted: Wed Feb 07, 2007 11:14 pm    Post subject: Reply with quote

Apprentice

Joined: 07 Sep 2006
Posts: 32

Thanks all for providing me useful informations..
_________________
Poetry with Programming
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Feb 09, 2007 8:48 am    Post subject: Reply with quote

Guest




Try the DISPLAY LISTENER mqsc command. Alternatively, use the NETSTAT command.
Back to top
mvarghese
PostPosted: Wed Feb 21, 2007 5:51 am    Post subject: Reply with quote

Centurion

Joined: 27 Sep 2006
Posts: 141

Another way is
ps -ef | grep runmqlsr if its in unix
_________________
Jain Varghese
Back to top
View user's profile Send private message
paatchu
PostPosted: Wed Mar 14, 2007 10:28 pm    Post subject: *Resolved* Reply with quote

Apprentice

Joined: 07 Sep 2006
Posts: 32

Thanks Varghese.

1) 'grep' technique is really useful.
2) dis listener(*) also works inside runmqsc.
But, it only works on MQ v6.0 NOT in MQ v5.3

[/b]
_________________
Poetry with Programming
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 Discussion » Display the PORT assigned for 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.