Author |
Message
|
analyst |
Posted: Fri Jun 10, 2011 4:45 am Post subject: how to find out whether an MQCHANNEL is being used by App |
|
|
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 |
|
 |
mqjeff |
Posted: Fri Jun 10, 2011 5:17 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mainframe applications can not create client connections. |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 10, 2011 5:18 am Post subject: Re: how to find out whether an MQCHANNEL is being used by Ap |
|
|
 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 |
|
 |
analyst |
Posted: Fri Jun 10, 2011 2:00 pm Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jun 10, 2011 3:08 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Fri Jun 10, 2011 7:10 pm Post subject: |
|
|
 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 |
|
 |
PeterPotkay |
Posted: Sat Jun 11, 2011 9:08 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Sat Jun 11, 2011 10:40 am Post subject: |
|
|
 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 |
|
 |
mqjeff |
Posted: Sun Jun 12, 2011 10:01 am Post subject: |
|
|
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 |
|
 |
PeterPotkay |
Posted: Sun Jun 12, 2011 2:17 pm Post subject: |
|
|
 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 |
|
 |
|