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 » Mainframe, CICS, TXSeries » how to find out whether an MQCHANNEL is being used by App

Post new topic  Reply to topic
 how to find out whether an MQCHANNEL is being used by App « View previous topic :: View next topic » 
Author Message
analyst
PostPosted: Fri Jun 10, 2011 4:45 am    Post subject: how to find out whether an MQCHANNEL is being used by App Reply with quote

Newbie

Joined: 10 Jun 2011
Posts: 2

I am using a particular application in mainframe say HR Application.There is a query from MQ team that they want to know whether our application is using a Particular Channel.But I know only Queue name and no channel names.How to find out whether My application is using the particular MQ channel? Please let me know,if you need any information.Thanks in advance.

Last edited by analyst on Fri Jun 10, 2011 2:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jun 10, 2011 5:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

mainframe applications can not create client connections.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 10, 2011 5:18 am    Post subject: Re: how to find out whether an MQCHANNEL is being used by Ap Reply with quote

Grand High Poobah

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

analyst wrote:
How to find out find My application is using the particular MQ channel?


Look at the connection information your application uses, which will either quote a channel name, or reference a CCDT.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
analyst
PostPosted: Fri Jun 10, 2011 2:00 pm    Post subject: Reply with quote

Newbie

Joined: 10 Jun 2011
Posts: 2

My application uses 10 MQ Queues I want to know any Queue is using a particular Channel given by somebody? I want to know that.

Yes mainframe applications can interact with client systems but I do not know what you meant by create client connections..could you please expand a little bit more.

mqjeff wrote:
mainframe applications can not create client connections.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 10, 2011 3:08 pm    Post subject: Reply with quote

Grand High Poobah

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

analyst wrote:
My application uses 10 MQ Queues I want to know any Queue is using a particular Channel given by somebody? I want to know that.


Applications connect to queue managers via channels, not to queues. If you want to know what application is using what channel, either look at that application's connection information or reverse engineer the application name from the channel status.

If you want to know which application is using which queue look at the queue status but this won't tell you what channel the application used to connect to the queue manager

analyst wrote:
mqjeff wrote:
mainframe applications can not create client connections.
Yes mainframe applications can interact with client systems but I do not know what you meant by create client connections..could you please expand a little bit more.


Mainframe applications cannot create client connections to queue managers. They can interact with client systems via the mainframe queue manager but not connect to them.

If you have a queue on a non-mainframe queue manager you can tell by examining the messages what application put them, but this will tell you nothing about the channels in use because that information is irrelevant.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jun 10, 2011 7:10 pm    Post subject: Reply with quote

Grand High Poobah

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

Vitor wrote:
If you have a queue on a non-mainframe queue manager you can tell by examining the messages what application put them, but this will tell you nothing about the channels in use because that information is irrelevant.


Yes and no. If you use a client connection to post to the queue the user on the message can point back to the mcauser on the channel... and hopefully you follow best practices with an mcauser on the channel, and ssl with ssl peer, one channel per application...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Sat Jun 11, 2011 9:08 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Vitor wrote:

If you want to know which application is using which queue look at the queue status but this won't tell you what channel the application used to connect to the queue manager


If you do a Queue Usage on a local queue, and that queue is currently open by an MQ Client app, you can see what client channel is in use and the IP address of the source.

In MO71 you can do a Queue Usage for all queues in one shot, and get a nice list that shows all the current MQ Client connections that have local queues open.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
bruce2359
PostPosted: Sat Jun 11, 2011 10:40 am    Post subject: Reply with quote

Poobah

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

mqjeff wrote:
mainframe applications can not create client connections.

Java/JMS apps being exceptions to this rule.
_________________
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
mqjeff
PostPosted: Sun Jun 12, 2011 10:01 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

bruce2359 wrote:
mqjeff wrote:
mainframe applications can not create client connections.

Java/JMS apps being exceptions to this rule.


I agree, but I consider it more likely that if this were a java/jms application, then analyst would know more than just the queue name.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Sun Jun 12, 2011 2:17 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

bruce2359 wrote:
mqjeff wrote:
mainframe applications can not create client connections.

Java/JMS apps being exceptions to this rule.

An unofficial exception. Technically, even on z/OS, you're not supposed to run a Java MQ Client without installing the full MQ Client (although it works), and since there is no MQ Client install for z/OS....

Or is there a new sanctioned way of doing this?
_________________
Peter Potkay
Keep Calm and MQ On
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 » Mainframe, CICS, TXSeries » how to find out whether an MQCHANNEL is being used by App
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.